@@ -121,9 +121,10 @@ Examples:
121
121
# ## `$ ./cli download source`
122
122
123
123
` ` ` ` shell
124
- # this file is located in 'src/download_command.sh'
125
- # code for 'cli download' goes here
126
- # you can edit it freely and regenerate (it will not be overwritten)
124
+ # This file is located at 'src/download_command.sh'.
125
+ # It contains the implementation for the 'cli download' command.
126
+ # The code you write here will be wrapped by a function named 'cli_download_command()'.
127
+ # Feel free to edit this file; your changes will persist when regenerating.
127
128
args :
128
129
- ${args[source]} = source
129
130
@@ -133,9 +134,10 @@ args:
133
134
# ## `$ ./cli download source target`
134
135
135
136
` ` ` ` shell
136
- # this file is located in 'src/download_command.sh'
137
- # code for 'cli download' goes here
138
- # you can edit it freely and regenerate (it will not be overwritten)
137
+ # This file is located at 'src/download_command.sh'.
138
+ # It contains the implementation for the 'cli download' command.
139
+ # The code you write here will be wrapped by a function named 'cli_download_command()'.
140
+ # Feel free to edit this file; your changes will persist when regenerating.
139
141
args :
140
142
- ${args[source]} = source
141
143
- ${args[target]} = target
@@ -146,9 +148,10 @@ args:
146
148
# ## `$ ./cli download source target --force`
147
149
148
150
` ` ` ` shell
149
- # this file is located in 'src/download_command.sh'
150
- # code for 'cli download' goes here
151
- # you can edit it freely and regenerate (it will not be overwritten)
151
+ # This file is located at 'src/download_command.sh'.
152
+ # It contains the implementation for the 'cli download' command.
153
+ # The code you write here will be wrapped by a function named 'cli_download_command()'.
154
+ # Feel free to edit this file; your changes will persist when regenerating.
152
155
args :
153
156
- ${args[--force]} = 1
154
157
- ${args[source]} = source
@@ -160,9 +163,10 @@ args:
160
163
# ## `$ ./cli download source target --force -abc --option=value`
161
164
162
165
` ` ` ` 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
+ # This file is located at 'src/download_command.sh'.
167
+ # It contains the implementation for the 'cli download' command.
168
+ # The code you write here will be wrapped by a function named 'cli_download_command()'.
169
+ # Feel free to edit this file; your changes will persist when regenerating.
166
170
args :
167
171
- ${args[--force]} = 1
168
172
- ${args[source]} = source
@@ -182,9 +186,10 @@ other_args:
182
186
# ## `$ ./cli download source target --force -- -abc --option=value`
183
187
184
188
` ` ` ` 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)
189
+ # This file is located at 'src/download_command.sh'.
190
+ # It contains the implementation for the 'cli download' command.
191
+ # The code you write here will be wrapped by a function named 'cli_download_command()'.
192
+ # Feel free to edit this file; your changes will persist when regenerating.
188
193
args :
189
194
- ${args[--force]} = 1
190
195
- ${args[source]} = source
@@ -233,9 +238,10 @@ usage: cli upload [--] FILES...
233
238
# ## `$ ./cli upload file1 "file 2" file3`
234
239
235
240
` ` ` ` shell
236
- # this file is located in 'src/upload_command.sh'
237
- # code for 'cli upload' goes here
238
- # you can edit it freely and regenerate (it will not be overwritten)
241
+ # This file is located at 'src/upload_command.sh'.
242
+ # It contains the implementation for the 'cli upload' command.
243
+ # The code you write here will be wrapped by a function named 'cli_upload_command()'.
244
+ # Feel free to edit this file; your changes will persist when regenerating.
239
245
args : none
240
246
241
247
other_args :
0 commit comments