@@ -47,11 +47,6 @@ compact_short_flags: true
47
47
# respectively.
48
48
conjoined_flag_args : true
49
49
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
-
55
50
# The extension to use when reading/writing partial script snippets
56
51
partials_extension : sh
57
52
@@ -64,6 +59,25 @@ show_examples_on_error: false
64
59
# all the private elements in the usage texts, as if they were public.
65
60
private_reveal_key : ~
66
61
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
+
67
81
# Display various usage elements in color by providing the name of the color
68
82
# function. The value for each property is a name of a function that is
69
83
# available in your script, for example: `green` or `bold`.
@@ -75,3 +89,4 @@ usage_colors:
75
89
arg : ~
76
90
flag : ~
77
91
environment_variable : ~
92
+
0 commit comments