@@ -41,16 +41,26 @@ partials_extension: sh
4141# -------------------------------------------------------------------------------
4242
4343# Configure the bash options that will be added to the initialize function:
44- # strict: true Bash strict mode (set -euo pipefail)
45- # strict: false Only exit on errors (set -e)
46- # strict: '' Do not add any 'set' directive
47- # strict: <string> Add any other custom 'set' directive
44+ # strict: true # Bash strict mode (set -euo pipefail)
45+ # strict: false # Only exit on errors (set -e)
46+ # strict: '' # Do not add any 'set' directive
47+ # strict: <string> # Add any other custom 'set' directive
4848strict : false
4949
5050# When true, the generated script will use tab indentation instead of spaces
5151# (every 2 leading spaces will be converted to a tab character)
5252tab_indent : false
5353
54+ # Choose a post-processor for the generated script:
55+ # formatter: internal # Use Bashly's internal formatter (compacts newlines)
56+ # formatter: external # Run the external command `shfmt --case-indent --indent 2`
57+ # formatter: none # Disable formatting entirely
58+ # formatter: <string> # Use a custom shell command to format the script.
59+ # # The command will receive the script via stdin and
60+ # # must output the result to stdout.
61+ # # Example: shfmt --minify
62+ formatter : internal
63+
5464
5565# -------------------------------------------------------------------------------
5666# INTERFACE OPTIONS
@@ -100,10 +110,10 @@ env: development
100110
101111# Tweak the script output by enabling or disabling some script output.
102112# These options accept one of the following strings:
103- # - production render this feature only when env == production
104- # - development render this feature only when env == development
105- # - always render this feature in any environment
106- # - never do not render this feature
113+ # - production # render this feature only when env == production
114+ # - development # render this feature only when env == development
115+ # - always # render this feature in any environment
116+ # - never # do not render this feature
107117enable_header_comment : always
108118enable_bash3_bouncer : always
109119enable_view_markers : development
0 commit comments