File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ name: docker
2424help : Docker example
2525version : 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.
2729flags :
2830- long : --debug
2931 short : -d
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ name: docker
22help : Docker example
33version : 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.
57flags :
68- long : --debug
79 short : -d
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments