@@ -59,19 +59,43 @@ args:
59
59
args:
60
60
- ${args[source]} = source
61
61
- ${args[target]} = target
62
- + ./cli download source target and --additional stuff
62
+ + ./cli download source target --force
63
63
# this file is located in 'src/download_command.sh'
64
64
# code for 'cli download' goes here
65
65
# you can edit it freely and regenerate (it will not be overwritten)
66
66
args:
67
+ - ${args[--force]} = 1
68
+ - ${args[source]} = source
69
+ - ${args[target]} = target
70
+ + ./cli download source target --force -abc --option=value
71
+ # this file is located in 'src/download_command.sh'
72
+ # code for 'cli download' goes here
73
+ # you can edit it freely and regenerate (it will not be overwritten)
74
+ args:
75
+ - ${args[--force]} = 1
76
+ - ${args[source]} = source
77
+ - ${args[target]} = target
78
+
79
+ other_args:
80
+ - ${other_args[*]} = -a -b -c --option value
81
+ - ${other_args[0]} = -a
82
+ - ${other_args[1]} = -b
83
+ - ${other_args[2]} = -c
84
+ - ${other_args[3]} = --option
85
+ - ${other_args[4]} = value
86
+ + ./cli download source target --force -- -abc --option=value
87
+ # this file is located in 'src/download_command.sh'
88
+ # code for 'cli download' goes here
89
+ # you can edit it freely and regenerate (it will not be overwritten)
90
+ args:
91
+ - ${args[--force]} = 1
67
92
- ${args[source]} = source
68
93
- ${args[target]} = target
69
94
70
95
other_args:
71
- - ${other_args[*]} = and --additional stuff
72
- - ${other_args[0]} = and
73
- - ${other_args[1]} = --additional
74
- - ${other_args[2]} = stuff
96
+ - ${other_args[*]} = -abc --option=value
97
+ - ${other_args[0]} = -abc
98
+ - ${other_args[1]} = --option=value
75
99
+ ./cli upload -h
76
100
cli upload - Upload a file
77
101
0 commit comments