File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ This is the root object of the OpenCLI Description.
176176| arguments | [[ Argument] ( #argument-object )] | The option's arguments |
177177| group | ` string ` | The option group |
178178| description | ` string ` | The option description |
179+ | recursive | ` bool ` | Specifies whether the option is accessible from the immediate parent command and, recursively, from its subcommands |
179180| hidden | ` bool ` | Whether or not the option is hidden |
180181| metadata | [[ Metadata Object] ( #metadata-object )] | Custom metadata |
181182
Original file line number Diff line number Diff line change 193193 "type" : " string" ,
194194 "description" : " The option description"
195195 },
196+ "recursive" : {
197+ "type" : " boolean" ,
198+ "default" : false ,
199+ "description" : " Specifies whether the option is accessible from the immediate parent command and, recursively, from its subcommands"
200+ },
196201 "hidden" : {
197202 "type" : " boolean" ,
198203 "default" : false ,
Original file line number Diff line number Diff line change @@ -164,6 +164,9 @@ model Option {
164164 @ doc ("The option description" )
165165 description ? : string ;
166166
167+ @ doc ("Specifies whether the option is accessible from the immediate parent command and, recursively, from its subcommands" )
168+ recursive ? : boolean = false ;
169+
167170 @ doc ("Whether or not the option is hidden" )
168171 hidden ? : boolean = false ;
169172
You can’t perform that action at this time.
0 commit comments