Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions schemas/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,66 @@
}
},
"additionalProperties": false
},
"var_aliases": {
"title": "var_aliases",
"description": "Declare alias names for bashly's public global arrays\nhttps://bashly.dannyb.co/usage/settings/#var_aliases",
"type": "object",
"properties": {
"args": {
"title": "args",
"description": "Alias name for the args array\nhttps://bashly.dannyb.co/usage/settings/#var_aliases",
"oneOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"other_args": {
"title": "other_args",
"description": "Alias name for the other_args array (used when catch_all is enabled)\nhttps://bashly.dannyb.co/usage/settings/#var_aliases",
"oneOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"deps": {
"title": "deps",
"description": "Alias name for the deps array\nhttps://bashly.dannyb.co/usage/settings/#var_aliases",
"oneOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"env_var_names": {
"title": "env_var_names",
"description": "Alias name for the env_var_names array\nhttps://bashly.dannyb.co/usage/settings/#var_aliases",
"oneOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down
39 changes: 34 additions & 5 deletions support/schema/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ properties:
description: |-
The path to use for command files, relative to source_dir
https://bashly.dannyb.co/usage/settings/#commands_dir
oneOf:
oneOf: &optional_string
- type: string
minLength: 1
- type: "null"
Expand Down Expand Up @@ -186,10 +186,7 @@ properties:
description: |-
The name of the environment variable (case sensitive) that, if set, will reveal private commands, flags and environment variables
https://bashly.dannyb.co/usage/settings/#private_reveal_key
oneOf:
- type: string
minLength: 1
- type: "null"
oneOf: *optional_string
usage_colors:
title: usage colors
description: |-
Expand Down Expand Up @@ -228,4 +225,36 @@ properties:
https://bashly.dannyb.co/usage/settings/#usage_colors
$ref: '#/definitions/color'
additionalProperties: false
var_aliases:
title: var_aliases
description: |-
Declare alias names for bashly's public global arrays
https://bashly.dannyb.co/usage/settings/#var_aliases
type: object
properties:
args:
title: args
description: |-
Alias name for the args array
https://bashly.dannyb.co/usage/settings/#var_aliases
oneOf: *optional_string
other_args:
title: other_args
description: |-
Alias name for the other_args array (used when catch_all is enabled)
https://bashly.dannyb.co/usage/settings/#var_aliases
oneOf: *optional_string
deps:
title: deps
description: |-
Alias name for the deps array
https://bashly.dannyb.co/usage/settings/#var_aliases
oneOf: *optional_string
env_var_names:
title: env_var_names
description: |-
Alias name for the env_var_names array
https://bashly.dannyb.co/usage/settings/#var_aliases
oneOf: *optional_string
additionalProperties: false
additionalProperties: false
Loading