File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -269,6 +269,9 @@ type App struct {
269
269
Version string
270
270
// Description of the program
271
271
Description string
272
+ // DefaultCommand is the (optional) name of a command
273
+ // to run if no command names are passed as CLI arguments.
274
+ DefaultCommand string
272
275
// List of commands to execute
273
276
Commands []*Command
274
277
// List of flags to parse
Original file line number Diff line number Diff line change @@ -269,6 +269,9 @@ type App struct {
269
269
Version string
270
270
// Description of the program
271
271
Description string
272
+ // DefaultCommand is the (optional) name of a command
273
+ // to run if no command names are passed as CLI arguments.
274
+ DefaultCommand string
272
275
// List of commands to execute
273
276
Commands []*Command
274
277
// List of flags to parse
You can’t perform that action at this time.
0 commit comments