File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed
Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ This is the root object of the OpenCLI Description.
141141| Field Name | Type | Description |
142142| ------------| :----:| -------------|
143143| required | ` bool ` | Whether or not the argument is required |
144+ | ordinal | ` int ` | The relative position to other arguments |
144145| acceptedValues | [ ` string ` ] | A list of accepted values |
145146| group | ` string ` | The argument group |
146147| decription | ` string ` | The argument description |
Original file line number Diff line number Diff line change 180180 "type" : " boolean" ,
181181 "description" : " Whether or not the argument is required"
182182 },
183+ "ordinal" : {
184+ "type" : " integer" ,
185+ "description" : " The relative position to other arguments"
186+ },
183187 "acceptedValues" : {
184188 "type" : " array" ,
185189 "items" : {
Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ This is the root object of the OpenCLI Description.
154154| Field Name | Type | Description |
155155| ------------| :----:| -------------|
156156| required | ` bool ` | Whether or not the argument is required |
157+ | ordinal | ` int ` | The relative position to other arguments |
157158| acceptedValues | [ ` string ` ] | A list of accepted values |
158159| group | ` string ` | The argument group |
159160| decription | ` string ` | The argument description |
Original file line number Diff line number Diff line change @@ -113,6 +113,9 @@ model Argument {
113113 @ doc ("Whether or not the argument is required" )
114114 required ? : boolean ;
115115
116+ @ doc ("The relative position to other arguments" )
117+ ordinal ? : integer ;
118+
116119 @ doc ("A list of accepted values" )
117120 acceptedValues ? : string [];
118121
You can’t perform that action at this time.
0 commit comments