@@ -47,11 +47,6 @@ compact_short_flags: true
4747# respectively.
4848conjoined_flag_args : true
4949
50- # Set to 'production' or 'development':
51- # env: production Generate a smaller script, without file markers
52- # env: development Generate with file markers
53- env : development
54-
5550# The extension to use when reading/writing partial script snippets
5651partials_extension : sh
5752
@@ -64,6 +59,25 @@ show_examples_on_error: false
6459# all the private elements in the usage texts, as if they were public.
6560private_reveal_key : ~
6661
62+ # Set to 'production' or 'development'.
63+ # Determines which features are enabled in the rendered script.
64+ # Use the `enable_*` options below to adjust settings for each environment.
65+ # It is recommended to leave this set to 'development' and run
66+ # `bashly generate --production` when the slimmer production script is needed.
67+ env : development
68+
69+ # Tweak the script output by enabling or disabling some script output.
70+ # These options accept one of the following strings:
71+ # - production render this feature only when env == production
72+ # - development render this feature only when env == development
73+ # - always render this feature in any environment
74+ # - never do not render this feature
75+ enable_header_comment : always
76+ enable_bash3_bouncer : always
77+ enable_view_markers : development
78+ enable_inspect_args : development
79+ enable_deps_array : always
80+
6781# Display various usage elements in color by providing the name of the color
6882# function. The value for each property is a name of a function that is
6983# available in your script, for example: `green` or `bold`.
@@ -75,3 +89,4 @@ usage_colors:
7589 arg : ~
7690 flag : ~
7791 environment_variable : ~
92+
0 commit comments