runAsLeaf method
Runs this command runner when it is the last command on the command line.
By default it prints the usage for the command, but this can be overridden by subclasses. See also CommandDefinition.canRunAsLeafCommand, which needs to be true to allow this root command to run without any subcommands.
Implementation
@override
FutureOr<T?> runAsLeaf(final CommandContext<O, T> context) {
usageOutput.printUsage(context.command);
return null;
}