Skip to content

Commit 9878f5b

Browse files
committed
add argfile to bashly schema
1 parent 1086e98 commit 9878f5b

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

schemas/bashly.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,15 @@
854854
"dir_commands/list.sh"
855855
]
856856
},
857+
"argfile-property": {
858+
"title": "argfile",
859+
"description": "A file containing additional arguments to autoload for the current script or sub-command\nhttps://bashly.dev/configuration/command/#argfile",
860+
"type": "string",
861+
"minLength": 1,
862+
"examples": [
863+
".mycli"
864+
]
865+
},
857866
"filters-property": {
858867
"title": "filters",
859868
"description": "Filters of the current script or sub-command\nhttps://bashly.dev/configuration/command/#filters",
@@ -951,6 +960,9 @@
951960
"filename": {
952961
"$ref": "#/definitions/filename-property"
953962
},
963+
"argfile": {
964+
"$ref": "#/definitions/argfile-property"
965+
},
954966
"filters": {
955967
"$ref": "#/definitions/filters-property"
956968
},
@@ -1028,6 +1040,9 @@
10281040
"filename": {
10291041
"$ref": "#/definitions/filename-property"
10301042
},
1043+
"argfile": {
1044+
"$ref": "#/definitions/argfile-property"
1045+
},
10311046
"filters": {
10321047
"$ref": "#/definitions/filters-property"
10331048
},

support/schema/bashly.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,15 @@ definitions:
721721
minLength: 1
722722
examples:
723723
- dir_commands/list.sh
724+
argfile-property:
725+
title: argfile
726+
description: |-
727+
A file containing additional arguments to autoload for the current script or sub-command
728+
https://bashly.dev/configuration/command/#argfile
729+
type: string
730+
minLength: 1
731+
examples:
732+
- .mycli
724733
filters-property:
725734
title: filters
726735
description: |-
@@ -802,6 +811,8 @@ definitions:
802811
$ref: '#/definitions/sub-command-expose-property'
803812
filename:
804813
$ref: '#/definitions/filename-property'
814+
argfile:
815+
$ref: '#/definitions/argfile-property'
805816
filters:
806817
$ref: '#/definitions/filters-property'
807818
function:
@@ -850,6 +861,8 @@ properties:
850861
$ref: '#/definitions/root-extensible-property'
851862
filename:
852863
$ref: '#/definitions/filename-property'
864+
argfile:
865+
$ref: '#/definitions/argfile-property'
853866
filters:
854867
$ref: '#/definitions/filters-property'
855868
function:

0 commit comments

Comments
 (0)