Skip to content

Commit 9f84df1

Browse files
EmilySeville7cfgEmilySeville7cfg
authored andcommitted
feat: support imports
1 parent 3dbafdf commit 9f84df1

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

schema.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -665,13 +665,19 @@
665665
"type": "boolean",
666666
"default": false
667667
},
668+
"sub-command-import-property": {
669+
"title": "import",
670+
"description": "A file import for the current sub-command",
671+
"type": "string",
672+
"minLength": 1,
673+
"examples": [
674+
"src/download_command.sh"
675+
]
676+
},
668677
"command-property": {
669678
"title": "command",
670679
"description": "A command of the current application",
671680
"type": "object",
672-
"required": [
673-
"name"
674-
],
675681
"properties": {
676682
"name": {
677683
"$ref": "#/definitions/name-property"
@@ -729,6 +735,9 @@
729735
},
730736
"private": {
731737
"$ref": "#/definitions/sub-command-private-property"
738+
},
739+
"import": {
740+
"$ref": "#/definitions/sub-command-import-property"
732741
}
733742
},
734743
"additionalProperties": false

0 commit comments

Comments
 (0)