File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Variables Example
2
2
3
- Demonstrates how to define varaibles from the bashly.yml configuration.
3
+ Demonstrates how to define variables from the bashly.yml configuration.
4
4
5
5
This example was generated with:
6
6
Original file line number Diff line number Diff line change @@ -309,6 +309,28 @@ command.private:
309
309
help: Send bash completions
310
310
private: true
311
311
312
+ command.variables :
313
+ help : Define a list of global bash variables.
314
+ url : https://bashly.dannyb.co/configuration/command/#variables
315
+ example : |-
316
+ variables:
317
+ # Simple value
318
+ - name: output_folder
319
+ value: output
320
+
321
+ # Array
322
+ - name: download_sources
323
+ value:
324
+ - youtube
325
+ - instagram
326
+
327
+ # Associative array
328
+ - name: zip_options
329
+ value:
330
+ pattern: "*.json"
331
+ compression_level: fast
332
+
333
+
312
334
command.version :
313
335
help : Specify the version to show when running with `--version`.
314
336
url : https://bashly.dannyb.co/configuration/command/#version
You can’t perform that action at this time.
0 commit comments