Skip to content

Commit 1096002

Browse files
committed
update settings.json schema
1 parent c23d705 commit 1096002

File tree

2 files changed

+63
-3
lines changed

2 files changed

+63
-3
lines changed

lib/bashly/settings.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ class << self
88
:compact_short_flags,
99
:conjoined_flag_args,
1010
:config_path,
11-
:enable_header_comment,
1211
:enable_bash3_bouncer,
13-
:enable_view_markers,
14-
:enable_inspect_args,
1512
:enable_deps_array,
13+
:enable_header_comment,
14+
:enable_inspect_args,
15+
:enable_view_markers,
1616
:lib_dir,
1717
:partials_extension,
1818
:private_reveal_key,

schemas/settings.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,66 @@
129129
],
130130
"default": "development"
131131
},
132+
"enable_header_comment": {
133+
"title": "enable_header_comment",
134+
"description": "Whether to include the header comment in the generated script\nhttps://bashly.dannyb.co/usage/settings/#enable_header_comment",
135+
"type": "string",
136+
"enum": [
137+
"development",
138+
"production",
139+
"always",
140+
"never"
141+
],
142+
"default": "always"
143+
},
144+
"enable_bash3_bouncer": {
145+
"title": "enable_bash3_bouncer",
146+
"description": "Whether to include the code snippet that aborts when an old version of bash is detected in the generated script\nhttps://bashly.dannyb.co/usage/settings/#enable_bash3_bouncer",
147+
"type": "string",
148+
"enum": [
149+
"development",
150+
"production",
151+
"always",
152+
"never"
153+
],
154+
"default": "always"
155+
},
156+
"enable_view_markers": {
157+
"title": "enable_view_markers",
158+
"description": "Whether to include view marker comments in the generated script\nhttps://bashly.dannyb.co/usage/settings/#enable_view_markers",
159+
"type": "string",
160+
"enum": [
161+
"development",
162+
"production",
163+
"always",
164+
"never"
165+
],
166+
"default": "development"
167+
},
168+
"enable_inspect_args": {
169+
"title": "enable_inspect_args",
170+
"description": "Whether to include the inspect_args function in the generated script\nhttps://bashly.dannyb.co/usage/settings/#enable_inspect_args",
171+
"type": "string",
172+
"enum": [
173+
"development",
174+
"production",
175+
"always",
176+
"never"
177+
],
178+
"default": "development"
179+
},
180+
"enable_deps_array": {
181+
"title": "enable_deps_array",
182+
"description": "Whether to include the code for the dependencies array in the generated script\nhttps://bashly.dannyb.co/usage/settings/#enable_deps_array",
183+
"type": "string",
184+
"enum": [
185+
"development",
186+
"production",
187+
"always",
188+
"never"
189+
],
190+
"default": "always"
191+
},
132192
"partials_extension": {
133193
"title": "partials extension",
134194
"description": "The extension to use when reading/writing partial script snippets\nhttps://bashly.dannyb.co/usage/settings/#partials_extension",

0 commit comments

Comments
 (0)