NAME

mydemo - Demo

ABSTRACT

Demonstrate appspec for bash

DESCRIPTION

GLOBAL OPTIONS

--version -V    Show version (flag)     
--help -h       Show command help (flag)

SUBCOMMANDS

nested1

mydemo  nested1 <subcommands>

Nested subcommand 1

nested1 nested2

mydemo nested1 nested2

Nested subcommand 2

service

mydemo  service <subcommands>

Start and stop services

service list

mydemo service list

List services

service start

mydemo service start [options] <service>

Start

Options:

--restart -r    Restart if already running (flag)

Parameters:

service  *  Service name

service status

mydemo service status <service>

Status

Parameters:

service  *  Service name

service stop

mydemo service stop <service>

Stop

Parameters:

service  *  Service name

test1

mydemo  test1 [options]

Test command

Options:

--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)                  

help

mydemo  help <subcommands> [options]

Show command help

Options:

--all     (flag)