CliContext.IsEmpty Method
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Obsolete
IsEmpty() is deprecated, use !Result.HasTokens instead.
Gets a value indicating whether current command and all its parents are specified without any subcommands, directives, options or arguments.
Note that arguments and options should be optional, if they are required (no default values), then handler will not run and missing error message will be shown.
[Obsolete("IsEmpty() is deprecated, use !Result.HasTokens instead.")]
public bool IsEmpty()