canRunAsLeafCommand property
Whether this command can be run as the last command on the command line even if it has subcommands registered. Default is false. If false and this command is the last command found on the command line, the command line parser will yield an error.
Implementation
@override
bool get canRunAsLeafCommand => true;