initial commit
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
This help is empty
|
||||
|
||||
Usage: ./test.sh
|
||||
@@ -0,0 +1,14 @@
|
||||
This is the description
|
||||
|
||||
Usage: ./test.sh hard-subcommand <OPTION> [ARGUMENTS...]
|
||||
|
||||
Commands:
|
||||
subcommand1 Description 1.
|
||||
subcommand2-longer Description 2.
|
||||
empty-subcommand
|
||||
|
||||
Options:
|
||||
-s
|
||||
-h, --help Shows help.
|
||||
--just-long
|
||||
--description But with description.
|
||||
@@ -0,0 +1,14 @@
|
||||
This is the colored description
|
||||
|
||||
[4;1;38;2;236;134;150mUsage:[0m [33m./test.sh[0m [33mhard-subcommand[0m [34m<OPTION>[0m [34m[ARGUMENTS...][0m
|
||||
|
||||
[4;1;38;2;236;134;150mCommands:[0m
|
||||
[33msubcommand1[0m Description 1.
|
||||
[33msubcommand2-longer[0m Description 2.
|
||||
[33mempty-subcommand[0m
|
||||
|
||||
[4;1;38;2;236;134;150mOptions:[0m
|
||||
[33m-s[0m
|
||||
[33m-h[0m, [33m--help[0m Shows help.
|
||||
[33m--just-long[0m
|
||||
[33m--description[0m But with description.
|
||||
@@ -0,0 +1,12 @@
|
||||
This is the colored description
|
||||
|
||||
[4;1;38;2;236;134;150mUsage:[0m [33m./test.sh[0m [33mhard-subcommand[0m [34m<OPTION>[0m [34m[ARGUMENTS...][0m
|
||||
|
||||
[4;1;38;2;236;134;150mCommands:[0m
|
||||
[33msubcommand1[0m Description 1.
|
||||
[33msubcommand2-longer[0m Description 2.
|
||||
[33mempty-subcommand[0m
|
||||
|
||||
[4;1;38;2;236;134;150mOptions:[0m
|
||||
[33m-s[0m
|
||||
[33m-h[0m Shows help.
|
||||
@@ -0,0 +1,13 @@
|
||||
This is the colored description
|
||||
|
||||
[4;1;38;2;236;134;150mUsage:[0m [33m./test.sh[0m [33mhard-subcommand[0m [34m<OPTION>[0m [34m[ARGUMENTS...][0m
|
||||
|
||||
[4;1;38;2;236;134;150mCommands:[0m
|
||||
[33msubcommand1[0m Description 1.
|
||||
[33msubcommand2-longer[0m Description 2.
|
||||
[33mempty-subcommand[0m
|
||||
|
||||
[4;1;38;2;236;134;150mOptions:[0m
|
||||
[33m--help[0m Shows help.
|
||||
[33m--just-long[0m
|
||||
[33m--description[0m But with description.
|
||||
Reference in New Issue
Block a user