Skip to content

Commit 0522209

Browse files
committed
approvals
1 parent e72cfa2 commit 0522209

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

spec/approvals/cli/doc/full

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,29 @@ command.private
467467

468468
See https://bashly.dannyb.co/configuration/command/#private
469469

470+
command.variables
471+
472+
Define a list of global bash variables.
473+
474+
variables:
475+
# Simple value
476+
- name: output_folder
477+
value: output
478+
479+
# Array
480+
- name: download_sources
481+
value:
482+
- youtube
483+
- instagram
484+
485+
# Associative array
486+
- name: zip_options
487+
value:
488+
pattern: "*.json"
489+
compression_level: fast
490+
491+
See https://bashly.dannyb.co/configuration/command/#variables
492+
470493
command.version
471494

472495
Specify the version to show when running with --version.

spec/approvals/cli/doc/index

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ command.group
2727
command.help
2828
command.name
2929
command.private
30+
command.variables
3031
command.version
3132
environment_variable
3233
environment_variable.default

spec/approvals/examples/variables

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
+ bundle exec bashly generate
1+
+ bashly generate
22
creating user files in src
33
skipped src/download_command.sh (exists)
44
skipped src/compress_command.sh (exists)

0 commit comments

Comments
 (0)