File tree Expand file tree Collapse file tree 6 files changed +24
-8
lines changed Expand file tree Collapse file tree 6 files changed +24
-8
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ args: none
60
60
deps :
61
61
- ${deps[git]} = /usr/bin/git
62
62
- ${deps[http_client]} = /usr/bin/curl
63
- - ${deps[ruby]} = /home/vagrant/.rbenv/versions/3.1.4 /bin/ruby
63
+ - ${deps[ruby]} = /home/vagrant/.rbenv/versions/3.3.0 /bin/ruby
64
64
65
65
66
66
` ` ` `
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ ISSUE TRACKER
102
102
AUTHORS
103
103
Lana Lang.
104
104
105
- Version 0.1.0 December 2023 download(1)
105
+ Version 0.1.0 March 2024 download(1)
106
106
107
107
108
108
````
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ files:
129
129
upcase: CONTENT OF FILE1
130
130
131
131
args:
132
- - ${args[file]} = " file1"
132
+ - ${args[file]} = file1
133
133
134
134
135
135
````
@@ -147,7 +147,7 @@ files:
147
147
upcase: CONTENT OF FILE2
148
148
149
149
args:
150
- - ${args[file]} = " file1" " file2"
150
+ - ${args[file]} = file1 file2
151
151
152
152
153
153
````
@@ -165,7 +165,7 @@ files:
165
165
upcase: CONTENT OF FILE2
166
166
167
167
args:
168
- - ${args[file]} = " file1" " file2"
168
+ - ${args[file]} = file1 file2
169
169
170
170
171
171
````
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ two three
146
146
Verbosity level: 3
147
147
148
148
args:
149
- - ${args[--data]} = " one" " two three"
149
+ - ${args[--data]} = one two\ three
150
150
- ${args[--path]} = file\ one file-two
151
151
- ${args[--verbose]} = 3
152
152
162
162
Verbosity level: 1
163
163
164
164
args:
165
- - ${args[--data]} = " one"
166
- - ${args[--path]} = " /bin" " /usr/lib"
165
+ - ${args[--data]} = one
166
+ - ${args[--path]} = /bin /usr/lib
167
167
168
168
169
169
````
Original file line number Diff line number Diff line change @@ -51,6 +51,14 @@ inspect_args
51
51
# path and '-' argument.
52
52
cat "${args[path]}"
53
53
54
+ # To read the file yourself, use something like this
55
+ #
56
+ # if [[ "${args[path]}" == "-" ]]; then
57
+ # file=$(</dev/stdin)
58
+ # else
59
+ # file=$(<"${args[path]}")
60
+ # fi
61
+
54
62
````
55
63
56
64
Original file line number Diff line number Diff line change @@ -3,3 +3,11 @@ inspect_args
3
3
# Since cat knows how to handle '-' as a value, it will work with both a file
4
4
# path and '-' argument.
5
5
cat " ${args[path]} "
6
+
7
+ # To read the file yourself, use something like this
8
+ #
9
+ # if [[ "${args[path]}" == "-" ]]; then
10
+ # file=$(</dev/stdin)
11
+ # else
12
+ # file=$(<"${args[path]}")
13
+ # fi
You can’t perform that action at this time.
0 commit comments