Skip to content

Commit f9d6855

Browse files
committed
examples update
1 parent d87f359 commit f9d6855

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

examples/docker-like/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ name: docker
2424
help: Docker example
2525
version: 0.1.0
2626

27+
# Since we have a `commands` section below, these flags will be considered
28+
# "global flags" and available to all sub-commands.
2729
flags:
2830
- long: --debug
2931
short: -d

examples/docker-like/src/bashly.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: docker
22
help: Docker example
33
version: 0.1.0
44

5+
# Since we have a `commands` section below, these flags will be considered
6+
# "global flags" and available to all sub-commands.
57
flags:
68
- long: --debug
79
short: -d

examples/reusable-flags/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ commands:
2424
- name: download
2525
help: Download a file
2626

27-
# Label these flags (&force, &debug) so we can reference it later
27+
# Label these flags (&force, &debug) so we can reference them later
2828
flags:
2929
- &force
3030
long: --force

examples/reusable-flags/src/bashly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ commands:
66
- name: download
77
help: Download a file
88

9-
# Label these flags (&force, &debug) so we can reference it later
9+
# Label these flags (&force, &debug) so we can reference them later
1010
flags:
1111
- &force
1212
long: --force

0 commit comments

Comments
 (0)