LiquidWeb::Storm::CLI - Perl extension for interacting with the LiquidWeb and StormOnDemand Public API.
use LiquidWeb::Storm::CLI;
my $client = LiquidWeb::Storm::CLI->new();
$client->execute;
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.
lw-cli --configure
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
lw-cli --list all
lw-cli --list billing.payment
lw-cli --help
lw-cli --help command=server.details
lw-cli --clean
A LiquidWeb::Storm::CLI object is constructed with the new() method
Nothing can be passed to the constructor at this time.
$client->execute();
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.
or
perldoc LiquidWeb::Storm::CLI
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
Matthew Terry, <mterry@liquidweb.com>
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.
To install LiquidWeb::Storm::CLI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LiquidWeb::Storm::CLI
CPAN shell
perl -MCPAN -e shell install LiquidWeb::Storm::CLI
For more information on module installation, please visit the detailed CPAN module installation guide.