File tree Expand file tree Collapse file tree 3 files changed +8
-14
lines changed Expand file tree Collapse file tree 3 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 33
33
34
34
help "Append the content of bashly.yml to all example READMEs"
35
35
action :examples do
36
+ # Patch the PATH to allow the extensible example to run properly
37
+ ENV['PATH']="#{Dir.pwd}/examples/extensible:#{ENV['PATH']}"
36
38
Example.all.each do |example|
37
39
say example.dir
38
40
example.regenerate_readme
Original file line number Diff line number Diff line change @@ -32,10 +32,7 @@ commands:
32
32
` ` ` shell
33
33
$ ./cli download
34
34
35
- # this file is located in 'src/download_command.sh'
36
- # code for 'cli download' goes here
37
- # you can edit it freely and regenerate (it will not be overwritten)
38
- args : none
35
+ missing dependency : shmurl
39
36
40
37
41
38
$ ./cli upload
Original file line number Diff line number Diff line change @@ -55,17 +55,12 @@ Commands:
55
55
56
56
$ ./cli status --some --flags
57
57
58
- cli - Sample application that can be externally extended
59
-
60
- Usage :
61
- cli [command]
62
- cli [command] --help | -h
63
- cli --version | -v
64
-
65
- Commands :
66
- upload Upload a file
67
- download Download a file
58
+ This is an external executable that serves as an extension to
59
+ the cli app.
60
+ If placed in the path, it will be executed whenever someone runs :
61
+ $ cli status <any argument>
68
62
63
+ Received args : --some --flags
69
64
70
65
71
66
` ` `
You can’t perform that action at this time.
0 commit comments