@@ -90,7 +90,7 @@ cli download - Download a file
9090Alias : d
9191
9292Usage :
93- cli download SOURCE [TARGET] [OPTIONS] [AWS PARAMS...]
93+ cli download SOURCE [TARGET] [OPTIONS] [--] [ AWS PARAMS...]
9494 cli download --help | -h
9595
9696Options :
@@ -143,21 +143,57 @@ args:
143143
144144` ` ` `
145145
146- # ## `$ ./cli download source target and --additional stuff `
146+ # ## `$ ./cli download source target --force `
147147
148148` ` ` ` shell
149149# this file is located in 'src/download_command.sh'
150150# code for 'cli download' goes here
151151# you can edit it freely and regenerate (it will not be overwritten)
152152args :
153+ - ${args[--force]} = 1
154+ - ${args[source]} = source
155+ - ${args[target]} = target
156+
157+
158+ ` ` ` `
159+
160+ # ## `$ ./cli download source target --force -abc --option=value`
161+
162+ ` ` ` ` shell
163+ # this file is located in 'src/download_command.sh'
164+ # code for 'cli download' goes here
165+ # you can edit it freely and regenerate (it will not be overwritten)
166+ args :
167+ - ${args[--force]} = 1
168+ - ${args[source]} = source
169+ - ${args[target]} = target
170+
171+ other_args :
172+ - ${other_args[*]} = -a -b -c --option value
173+ - ${other_args[0]} = -a
174+ - ${other_args[1]} = -b
175+ - ${other_args[2]} = -c
176+ - ${other_args[3]} = --option
177+ - ${other_args[4]} = value
178+
179+
180+ ` ` ` `
181+
182+ # ## `$ ./cli download source target --force -- -abc --option=value`
183+
184+ ` ` ` ` shell
185+ # this file is located in 'src/download_command.sh'
186+ # code for 'cli download' goes here
187+ # you can edit it freely and regenerate (it will not be overwritten)
188+ args :
189+ - ${args[--force]} = 1
153190- ${args[source]} = source
154191- ${args[target]} = target
155192
156193other_args :
157- - ${other_args[*]} = and --additional stuff
158- - ${other_args[0]} = and
159- - ${other_args[1]} = --additional
160- - ${other_args[2]} = stuff
194+ - ${other_args[*]} = -abc --option=value
195+ - ${other_args[0]} = -abc
196+ - ${other_args[1]} = --option=value
161197
162198
163199` ` ` `
@@ -170,7 +206,7 @@ cli upload - Upload a file
170206Alias : u
171207
172208Usage :
173- cli upload FILES...
209+ cli upload [--] FILES...
174210 cli upload --help | -h
175211
176212Options :
@@ -189,7 +225,7 @@ Arguments:
189225
190226` ` ` ` shell
191227missing required argument : FILES...
192- usage : cli upload FILES...
228+ usage : cli upload [--] FILES...
193229
194230
195231` ` ` `
0 commit comments