Skip to content

Commit e63c49a

Browse files
committed
fix specs
1 parent d77067b commit e63c49a

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
+ bashly generate
2+
creating user files in src
3+
skipped src/initialize.sh (exists)
4+
skipped src/root_command.sh (exists)
5+
created ./upcase
6+
run ./upcase --help to test your bash script
7+
+ ./upcase -h
8+
upcase - Sample application to demonstrate the use of repeatable arguments
9+
10+
Usage:
11+
upcase FILE...
12+
upcase --help | -h
13+
upcase --version | -v
14+
15+
Options:
16+
--help, -h
17+
Show this help
18+
19+
--version, -v
20+
Show version number
21+
22+
Arguments:
23+
FILE...
24+
One or more files to process
25+
26+
Examples:
27+
upcase README.md LICENSE
28+
upcase *.md
29+
30+
+ ./upcase file1
31+
32+
files:
33+
path: file1:
34+
content: content of file1
35+
upcase: CONTENT OF FILE1
36+
37+
args:
38+
- ${args[file]} = "file1"
39+
+ ./upcase file1 file2
40+
41+
files:
42+
path: file1:
43+
content: content of file1
44+
upcase: CONTENT OF FILE1
45+
path: file2:
46+
content: content of file2
47+
upcase: CONTENT OF FILE2
48+
49+
args:
50+
- ${args[file]} = "file1" "file2"

0 commit comments

Comments
 (0)