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 3333
3434help "Append the content of bashly.yml to all example READMEs"
3535action :examples do
36+ # Patch the PATH to allow the extensible example to run properly
37+ ENV['PATH']="#{Dir.pwd}/examples/extensible:#{ENV['PATH']}"
3638 Example.all.each do |example|
3739 say example.dir
3840 example.regenerate_readme
Original file line number Diff line number Diff line change @@ -32,10 +32,7 @@ commands:
3232` ` ` shell
3333$ ./cli download
3434
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
3936
4037
4138$ ./cli upload
Original file line number Diff line number Diff line change @@ -55,17 +55,12 @@ Commands:
5555
5656$ ./cli status --some --flags
5757
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>
6862
63+ Received args : --some --flags
6964
7065
7166` ` `
You can’t perform that action at this time.
0 commit comments