Skip to content

Commit

Permalink
approvals
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyBen committed Oct 22, 2024
1 parent e72cfa2 commit 0522209
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
23 changes: 23 additions & 0 deletions spec/approvals/cli/doc/full
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,29 @@ command.private

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

command.variables

Define a list of global bash variables.

variables:
# Simple value
- name: output_folder
value: output

# Array
- name: download_sources
value:
- youtube
- instagram

# Associative array
- name: zip_options
value:
pattern: "*.json"
compression_level: fast

See https://bashly.dannyb.co/configuration/command/#variables

command.version

Specify the version to show when running with --version.
Expand Down
1 change: 1 addition & 0 deletions spec/approvals/cli/doc/index
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ command.group
command.help
command.name
command.private
command.variables
command.version
environment_variable
environment_variable.default
Expand Down
2 changes: 1 addition & 1 deletion spec/approvals/examples/variables
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
+ bundle exec bashly generate
+ bashly generate
creating user files in src
skipped src/download_command.sh (exists)
skipped src/compress_command.sh (exists)
Expand Down

0 comments on commit 0522209

Please sign in to comment.