-
-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathargfile
More file actions
47 lines (47 loc) · 1.92 KB
/
argfile
File metadata and controls
47 lines (47 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
+ bashly generate
creating user files in src
skipped src/root_command.sh (exists)
created ./download
run ./download --help to test your bash script
+ ./download --version
0.1.0
+ ./download somesource
# This file is located at 'src/root_command.sh'.
# It contains the implementation for the 'download' command.
# The code you write here will be wrapped by a function named 'root_command()'.
# Feel free to edit this file; your changes will persist when regenerating.
args:
- ${args[--force]} = 1
- ${args[--header]} = x-from-file:\ 1
- ${args[--log]} = some path with spaces.log
- ${args[source]} = somesource
+ ./download somesource --log cli.log
# This file is located at 'src/root_command.sh'.
# It contains the implementation for the 'download' command.
# The code you write here will be wrapped by a function named 'root_command()'.
# Feel free to edit this file; your changes will persist when regenerating.
args:
- ${args[--force]} = 1
- ${args[--header]} = x-from-file:\ 1
- ${args[--log]} = cli.log
- ${args[source]} = somesource
+ ./download somesource --header 'x-from-cli: 2'
# This file is located at 'src/root_command.sh'.
# It contains the implementation for the 'download' command.
# The code you write here will be wrapped by a function named 'root_command()'.
# Feel free to edit this file; your changes will persist when regenerating.
args:
- ${args[--force]} = 1
- ${args[--header]} = x-from-file:\ 1 x-from-cli:\ 2
- ${args[--log]} = some path with spaces.log
- ${args[source]} = somesource
+ ./download somesource --header 'x-from-file: 1'
# This file is located at 'src/root_command.sh'.
# It contains the implementation for the 'download' command.
# The code you write here will be wrapped by a function named 'root_command()'.
# Feel free to edit this file; your changes will persist when regenerating.
args:
- ${args[--force]} = 1
- ${args[--header]} = x-from-file:\ 1
- ${args[--log]} = some path with spaces.log
- ${args[source]} = somesource