The following tables list the members exposed by CommandInterpreter.
Name | Description | |
---|---|---|
![]() | CommandInterpreter Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | Commands | Lists all the commands that have been added to the interpreter |
![]() | ErrorLevel | Gets/sets the exit code of the operation/process |
![]() | FilterPrecedence | Defines the filter precedence by appearance order of key character |
![]() | Filters | Lists all the filters that have been added to the interpreter |
![]() | Options | Lists all the options that have been added to the interpreter, use the set/get commands to modify their values. |
![]() | Prompt | Gets/sets the prompt, use "$(OptionName)" to reference options |
![]() | ReadNextCharacter | Reads a keystroke, not from the std:in stream, rather from the console or ui. |
Name | Description | |
---|---|---|
![]() | AddCommand | Manually adds a command |
![]() | AddFilter | Adds a command 'filter' that is called for every command invoked enabling custom processing of arguments and pre/post processing. |
![]() | AddGlobalArgumentAttribute | Adds the specified attribute to every command argument by the given name. |
![]() | AddHandler | Overloaded. Adds the static methods to the command list, and static properties to the list of global options (used with commands set/get) |
![]() | AddOption | Manually adds an option |
![]() | ExpandOptions | Expands '$(OptionName)' within the input string to the named option's value. |
![]() | Get | Command to get an option value |
![]() | GetHtmlHelp | Returns the Help as HTML text |
![]() ![]() | GetHttpPrefixes | Returns the list of HTTP prefixes that will be used for servicing the hosthttp command. |
![]() | Help | Overloaded. Display the Help text to Console.Out |
![]() | HostHttp | Starts a HttpListener for hosting the commands available on this instance over http/REST |
![]() | RemoveCommand | Manually remove a command |
![]() | Run | Overloaded. Run the command whos name is the first argument with the remaining arguments provided to the command as needed. |
![]() | Set | Overloaded. Command to set the value of an option |
![]() | TryGetCommand | Returns true if the command was found and cmd output parameter is set. |
![]() | TryGetOption | Returns true if the command was found and cmd output parameter is set. |