#!/bin/bash
# Generated by perl modules
# App::Spec v0.013
# App::Spec::Bash v0.000
APPSPEC.help() {
cat <<EOHELP
Usage
EOHELP
}
APPSPEC.help-ROOT() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo <subcommands> [options]
Subcommands:
nested1 Nested subcommand 1
service Start and stop services
test1 Test command
help Show command help
Options:
--help -h Show command help (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-help() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo help <subcommands> [options]
Subcommands:
nested1
service
test1
Options:
--all (flag)
--help -h Show command help (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-help-nested1() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo help nested1 <subcommands> [options]
Subcommands:
nested2
Options:
--all (flag)
--help -h Show command help (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-help-nested1-nested2() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo help nested1 nested2 [options]
Options:
--all (flag)
--help -h Show command help (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-help-service() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo help service <subcommands> [options]
Subcommands:
list
start
status
stop
Options:
--all (flag)
--help -h Show command help (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-help-service-list() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo help service list [options]
Options:
--all (flag)
--help -h Show command help (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-help-service-start() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo help service start [options]
Options:
--all (flag)
--help -h Show command help (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-help-service-status() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo help service status [options]
Options:
--all (flag)
--help -h Show command help (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-help-service-stop() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo help service stop [options]
Options:
--all (flag)
--help -h Show command help (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-help-test1() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo help test1 [options]
Options:
--all (flag)
--help -h Show command help (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-nested1() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo nested1 <subcommands> [options]
Subcommands:
nested2 Nested subcommand 2
Options:
--help -h Show command help (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-nested1-nested2() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo nested1 nested2 [options]
Options:
--help -h Show command help (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-service() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo service <subcommands> [options]
Subcommands:
list List services
start Start
status Status
stop Stop
Options:
--help -h Show command help (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-service-list() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo service list [options]
Options:
--help -h Show command help (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-service-start() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo service start <service> [options]
Parameters:
service * Service name
Options:
--help -h Show command help (flag)
--restart -r Restart if already running (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-service-status() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo service status <service> [options]
Parameters:
service * Service name
Options:
--help -h Show command help (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-service-stop() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo service stop <service> [options]
Parameters:
service * Service name
Options:
--help -h Show command help (flag)
--version -V Show version (flag)
EOHELP
}
APPSPEC.help-test1() {
cat <<EOHELP
mydemo - Demo
Demonstrate appspec for bash
Usage: mydemo test1 [options]
Options:
--flag-a -a Flag a (flag)
--flag-b -b Flag b (flag)
--flag-c -c [] Flag c (incremental) (flag; multiple)
--help -h Show command help (flag)
--test-d -d Option d
--test-e -e Option e
--test-f -f [] Option f (multi) (multiple)
--test-g -g * Option g (required)
--version -V Show version (flag)
EOHELP
}