You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/examples.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,8 @@ All examples are listed below for convenience.
16
16
## Basic use
17
17
18
18
-[minimal](https://github.com/DannyBen/bashly/tree/master/examples/minimal#readme) - the most basic "hello world" example
19
-
-[commands](https://github.com/DannyBen/bashly/tree/master/examples/commands#readme) - a script with sub-commands
20
-
-[commands-nested](https://github.com/DannyBen/bashly/tree/master/examples/commands-nested#readme) - a script with nested sub-commands
19
+
-[commands](https://github.com/DannyBen/bashly/tree/master/examples/commands#readme) - a script with subcommands
20
+
-[commands-nested](https://github.com/DannyBen/bashly/tree/master/examples/commands-nested#readme) - a script with nested subcommands
21
21
22
22
## Basic features
23
23
@@ -28,6 +28,7 @@ All examples are listed below for convenience.
28
28
-[dependencies](https://github.com/DannyBen/bashly/tree/master/examples/dependencies#readme) - halting script execution unless certain dependencies are installed
29
29
-[dependencies-alt](https://github.com/DannyBen/bashly/tree/master/examples/dependencies-alt#readme) - halting script execution unless one of the required dependencies is installed
30
30
-[environment-variables](https://github.com/DannyBen/bashly/tree/master/examples/environment-variables#readme) - halting script execution unless certain environment variables are set
-[default-values](https://github.com/DannyBen/bashly/tree/master/examples/default-values#readme) - arguments and flags with default values
32
33
-[minus-v](https://github.com/DannyBen/bashly/tree/master/examples/minus-v#readme) - using `-v` and `-h` in your script
33
34
-[multiline](https://github.com/DannyBen/bashly/tree/master/examples/multiline#readme) - help messages with multiple lines
@@ -49,14 +50,14 @@ All examples are listed below for convenience.
49
50
-[private-reveal](https://github.com/DannyBen/bashly/tree/master/examples/private-reveal#readme) - allowing users to reveal private commands, flags or environment variables
50
51
-[stdin](https://github.com/DannyBen/bashly/tree/master/examples/stdin#readme) - reading input from stdin
51
52
-[filters](https://github.com/DannyBen/bashly/tree/master/examples/filters#readme) - preventing commands from running unless custom conditions are met
52
-
-[commands-expose](https://github.com/DannyBen/bashly/tree/master/examples/commands-expose#readme) - showing sub-commands in the parent's help
53
+
-[commands-expose](https://github.com/DannyBen/bashly/tree/master/examples/commands-expose#readme) - showing subcommands in the parent's help
53
54
-[key-value-pairs](https://github.com/DannyBen/bashly/tree/master/examples/key-value-pairs#readme) - parsing key=value arguments and flags
54
55
-[command-examples-on-error](https://github.com/DannyBen/bashly/tree/master/examples/command-examples-on-error#readme) - showing examples on error
55
56
56
57
## Customization
57
58
58
59
-[colors-usage](https://github.com/DannyBen/bashly/tree/master/examples/colors-usage#readme) - adding colors to the usage text
59
-
-[command-groups](https://github.com/DannyBen/bashly/tree/master/examples/command-groups#readme) - grouping sub-commands in logical sections
60
+
-[command-groups](https://github.com/DannyBen/bashly/tree/master/examples/command-groups#readme) - grouping subcommands in logical sections
60
61
-[custom-strings](https://github.com/DannyBen/bashly/tree/master/examples/custom-strings#readme) - configuring the script's error and usage texts
61
62
-[custom-includes](https://github.com/DannyBen/bashly/tree/master/examples/custom-includes#readme) - adding and organizing your custom functions
62
63
-[custom-script-header](https://github.com/DannyBen/bashly/tree/master/examples/custom-script-header#readme) - configuring a different script header
@@ -79,7 +80,7 @@ All examples are listed below for convenience.
79
80
## Real-world-like examples
80
81
81
82
-[docker-like](https://github.com/DannyBen/bashly/tree/master/examples/docker-like#readme) - a sample script with deep commands (like `docker container run`)
82
-
-[git-like](https://github.com/DannyBen/bashly/tree/master/examples/git-like#readme) - a sample script with sub-commands similar to git
83
+
-[git-like](https://github.com/DannyBen/bashly/tree/master/examples/git-like#readme) - a sample script with subcommands similar to git
0 commit comments