File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ creating user files in src
2+ skipped src/initialize.sh (exists)
3+ created src/download_command.sh
4+ created ./cli
5+ run ./cli --help to test your bash script
6+ + ./cli
7+ PASS: API_KEY=must-be-available-in-initialize
8+ missing required environment variable: CONFIG_PATH
9+ + export CONFIG_PATH=somepath
10+ + CONFIG_PATH=somepath
11+ + ./cli download source
12+ PASS: API_KEY=must-be-available-in-initialize
13+ # this file is located in 'src/download_command.sh'
14+ # code for 'cli download' goes here
15+ # you can edit it freely and regenerate (it will not be overwritten)
16+ args:
17+ - ${args[source]} = source
18+ + export API_KEY=override-value
19+ + API_KEY=override-value
20+ + ./cli
21+ PASS: API_KEY=override-value
22+ cli - Sample application
23+
24+ Usage:
25+ cli [command]
26+ cli [command] --help | -h
27+ cli --version | -v
28+
29+ Commands:
30+ download Download a file
31+
You can’t perform that action at this time.
0 commit comments