acceptsPartialCommandLine property

bool get acceptsPartialCommandLine
inherited

Whether this command accepts a partial command line, i.e. runs as the last command on the command line even if the command line is incomplete.

Incomplete means that this or the preceding commands have configuration errors, such as missing mandatory subcommand, positional arguments, options or option values, or mutually exclusive groups without a mandatory choice. These errors remain available in CommandContext.config.errors. Command line parse errors, such as unknown options or subcommands, are still raised.

True for the built-in help command, which shows the usage of the preceding command regardless of whether its arguments are complete, like the --help option does. Custom CommandResolvers should honor this.

Implementation

bool get acceptsPartialCommandLine => false;