NAME
LiquidWeb::Storm::CLI - Perl extension for interacting with the LiquidWeb and StormOnDemand Public API.
SYNOPSIS
use LiquidWeb::Storm::CLI;
my $client = LiquidWeb::Storm::CLI->new();
$client->execute;
DESCRIPTION
LiquidWeb::Storm::CLI is a standalone command line utility for interfacing with the LiquidWeb and Storm on Demand public API. This allows you to specify an api command, output format, and obtain the results directly to your terminal. Currently supported output formats are table, json, perl and text.
Command line Synopsis
General configuration setup.
lw-cli --configure
General CLI Synopsis.
lw-cli --command=asset.list --output table
lw-cli --command=asset.details --uniq_id=XXRRCZ
lw-cli --command=server.create --hostname=vps.domain.com --type=DS --features option=value --features option=value --features option=value
method list and partial search.
lw-cli --list all
lw-cli --list billing.payment
help
lw-cli --help
lw-cli --help command=server.details
Remove local auth credential store
lw-cli --clean
new
A LiquidWeb::Storm::CLI object is constructed with the new() method
my $client = LiquidWeb::Storm::CLI->new();
Nothing can be passed to the constructor at this time.
execute
$client->execute();
Notes about authentication
Using the CLI utility you will need to setup authentication during configuraton of the client. During configuration there are two authentication options. If you opt to save auth credentials no further interaction will be necessary, however your api username/password will be stored on the local machine. If you choose to not save your credentials, a session cookie will be retrieved from the API which will conduct further authentication, however this session will expire after an hour.
SEE ALSO
lw-cli --help
or
perldoc LiquidWeb::Storm::CLI
BUGS
for questions, comments, feature requests or to submit bugs for this software email bug-LiquidWeb-Storm-CLI at rt.cpan.org, or thorough the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=LiquidWeb-Storm-CLI
AUTHOR
Matthew Terry, <mterry@liquidweb.com>
COPYRIGHT AND LICENSE
Copyright (C) 2015 (Matthew Terry) by Liquid Web Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.4 or, at your option, any later version of Perl 5 you may have available.