Skip to content

Commit

Permalink
Revert "feat: test commit to fail json schema tests"
Browse files Browse the repository at this point in the history
This reverts commit fd141cf.
  • Loading branch information
EmilyGraceSeville7cf committed Dec 19, 2023
1 parent fd141cf commit 347dbcc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
3 changes: 1 addition & 2 deletions examples/catch-all/src/bashly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ catch_all: true
args:
- name: message
required: true
default: [""]
x_a:
help: Message

flags:
- long: --debug
Expand Down
13 changes: 12 additions & 1 deletion schemas/bashly.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,18 @@
"default": {
"title": "default",
"description": "A default value of the current positional argument\nhttps://bashly.dannyb.co/configuration/argument/#default",
"type": "string",
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
}
],
"examples": [
"*.jpg"
]
Expand Down

0 comments on commit 347dbcc

Please sign in to comment.