File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ Each of these examples demonstrates one aspect or feature of bashly.
1111## Basic features
1212
1313- [ command-default] ( command-default#readme ) - configuring a default command
14+ - [ command-default-force] ( command-default-force#readme ) - configuring a default command that runs instead of showing the usage text
1415- [ command-aliases] ( command-aliases#readme ) - allowing a command to be called with multiple names
1516- [ command-examples] ( command-examples#readme ) - configuring command examples
1617- [ dependencies] ( dependencies#readme ) - halting script execution unless certain dependencies are installed
Original file line number Diff line number Diff line change 11# Default Forced Command Example
22
33Demonstrates how to set a command as the default command, that also rune when
4- the it is executed without arguments, instead of showing the standard usage
5- text.
4+ it is executed without arguments, instead of showing the standard usage text.
65
76This example was generated with:
87
@@ -86,6 +85,23 @@ args: none
8685args: none
8786
8887
88+ ` ` `
89+
90+ # ## `$ ./tester all -h`
91+
92+ ` ` ` shell
93+ tester all - Run all tests
94+
95+ Usage:
96+ tester all
97+ tester all --help | -h
98+
99+ Options:
100+ --help, -h
101+ Show this help
102+
103+
104+
89105` ` `
90106
91107# ## `$ ./tester only one`
You can’t perform that action at this time.
0 commit comments