Skip to content

Commit

Permalink
feat: support unique property
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyGraceSeville7cf committed Dec 9, 2023
1 parent ac3df69 commit 276dc14
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions schemas/bashly.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,21 @@
"integer",
"non_empty"
]
},
"unique": {
"title": "unique",
"description": "Whether the current positional argument is unique\nhttps://bashly.dannyb.co/configuration/argument/#unique",
"type": "boolean",
"default": false
}
},
"dependencies": {
"unique": {
"properties": {
"repeatable": {
"const": true
}
}
}
},
"$ref": "#/definitions/custom-properties",
Expand Down Expand Up @@ -219,6 +234,21 @@
"integer",
"non_empty"
]
},
"unique": {
"title": "unique",
"description": "Whether the current flag is unique\nhttps://bashly.dannyb.co/configuration/flag/#unique",
"type": "boolean",
"default": false
}
},
"dependencies": {
"unique": {
"properties": {
"repeatable": {
"const": true
}
}
}
},
"$ref": "#/definitions/custom-properties",
Expand Down

0 comments on commit 276dc14

Please sign in to comment.