mydemo - Demo
Demonstrate appspec for bash
--version -V Show version (flag) --help -h Show command help (flag)
mydemo nested1 <subcommands>
Nested subcommand 1
mydemo nested1 nested2
Nested subcommand 2
mydemo service <subcommands>
Start and stop services
mydemo service list
List services
mydemo service start [options] <service>
Start
Options:
--restart -r Restart if already running (flag)
Parameters:
service * Service name
mydemo service status <service>
Status
mydemo service stop <service>
Stop
mydemo test1 [options]
Test command
--flag-a -a Flag a (flag) --flag-b -b Flag b (flag) --flag-c -c [] Flag c (incremental) (flag; multiple) --test-d -d Option d --test-e -e Option e --test-f -f [] Option f (multi) (multiple) --test-g -g * Option g (required)
mydemo help <subcommands> [options]
Show command help
--all (flag)
To install App::Spec::Bash, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Spec::Bash
CPAN shell
perl -MCPAN -e shell install App::Spec::Bash
For more information on module installation, please visit the detailed CPAN module installation guide.