Clustericious::Client::Command - Command line type processing for clients.
# in fooclient :
use Foo::Client; use Clustericious::Client::Command; Clustericious::Client::Command->run(Foo::Client->new, @ARGV);
fooclient status fooclient --trace root status fooclient version fooclient foobject 31 fooclient foobject_search --color beige
This will try to take command line arguments and call the right client methods.
fooclient bar baz is equivalent to
There are currently a few heuristics used when one of the arguments is a filename (i.e. is it a YAML file that should be parsed and send as a hashref, or a filename that should be PUT? Should STDIN be used?). These need to be formalized and documented.
This is a beta release, the API is subject to change without notice.
original author: Curt Tilmes
current maintainer: Graham Ollis <firstname.lastname@example.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by NASA GSFC.