Having trouble displaying command options in help... #1208
-
I have written a utility with Command Option specified as: public sealed class ConsoleCommand : AsyncCommand public sealed class ConsoleSettings : CommandSettings
I add the command in Main as:
When I render help I get: USAGE: EXAMPLES: OPTIONS: COMMANDS: I expected to see the Command Setting of "seconds" as an option with the command "console" in the help screen and the description of "How often to refresh the values in seconds" on that option. Is this not supported or am I doing something wrong? Thanks in advance for any help or guidance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You will need to return the help for the command, such as |
Beta Was this translation helpful? Give feedback.
You will need to return the help for the command, such as
myapp.exe console --help
or promote ConsoleCommand as the default command.