File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -113,10 +113,17 @@ command.dependencies:
113113 - docker
114114 - curl
115115
116- # Hash syntax, to provide additional help message
116+ # Simple hash syntax, to provide additional help message
117117 dependencies:
118118 docker: see https://docker.com for installation instructions
119119 git: "install by running: sudo apt install git"
120+
121+ # Explicit hash syntax, to provide additional help message and
122+ # look for "one of" a given list of dependencies
123+ dependencies:
124+ http_client:
125+ command: [curl, wget]
126+ help: Run 'sudo apt install curl' or 'sudo apt install wget'
120127
121128command.environment_variables :
122129 help : Define a list of environment variables. See `environment_variable` for reference.
Original file line number Diff line number Diff line change @@ -240,10 +240,17 @@ command.dependencies
240240 - docker
241241 - curl
242242
243- # Hash syntax, to provide additional help message
243+ # Simple hash syntax, to provide additional help message
244244 dependencies:
245245 docker: see https://docker.com for installation instructions
246246 git: "install by running: sudo apt install git"
247+
248+ # Explicit hash syntax, to provide additional help message and
249+ # look for "one of" a given list of dependencies
250+ dependencies:
251+ http_client:
252+ command: [curl, wget]
253+ help: Run 'sudo apt install curl' or 'sudo apt install wget'
247254
248255 See https://bashly.dannyb.co/configuration/command/#dependencies
249256
You can’t perform that action at this time.
0 commit comments