Natural CLI 1.1 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Natural CLI 1.1 (Default branch)
# 1  
Old 01-27-2008
Natural CLI 1.1 (Default branch)

Natural CLI is a Java library that provides developers with an easy way to use human readable command line interfaces. This means that your software can understand easy command lines like "$acme start daemon mailservice", "$acme send file /tmp/pau.jpg to friend", or "$acme start backup in 10 minutes". Command lines are very easy to define. License: GNU General Public License (GPL) Changes:
This release allows one to use a variable number of parameter values for the last one. This means it's possible to define command lines with a string such as "send to files ...", allowing one to execute command lines like "$acme send to pau@someplace.net files a.txt b.txt c.txt".Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
App::CLI::Command(3)					User Contributed Perl Documentation				      App::CLI::Command(3)

NAME
App::CLI::Command - Base class for App::CLI commands SYNOPSIS
package MyApp::List; use base qw(App::CLI::Command); use constant options => ( 'verbose' => 'verbose', 'n|name=s' => 'name', ); sub run { my ( $self, $arg ) = @_; print "verbose" if $self->{verbose}; my $name = $self->{name}; # get arg following long option --name # any thing your want this command do } # See App::CLI for information of how to invoke (sub)command. DESCRIPTION
subcommand() return old genre subcommand of $self; cascading() return instance of cascading subcommand invoked if it was listed in your constant subcommands. cascadable() return package name of subcommand if the subcommand invoked is in you constant subcommands otherwise, return undef brief_usage ($file) Display an one-line brief usage of the command object. Optionally, a file could be given to extract the usage from the POD. usage ($want_detail) Display usage. If $want_detail is true, the "DESCRIPTION" section is displayed as well. loc_text $text Localizes the body of (formatted) text in $text, and returns the localized version. filename Return the filename for the command module. SEE ALSO
App::CLI Getopt::Long AUTHORS
Chia-liang Kao <clkao@clkao.org> Cornelius Lin <cornelius.howl@gmail.com> shelling <navyblueshellingford@gmail.com> COPYRIGHT
Copyright 2005-2006 by Chia-liang Kao <clkao@clkao.org>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See <http://www.perl.com/perl/misc/Artistic.html> perl v5.18.2 2010-12-02 App::CLI::Command(3)