The following tables list the members exposed by ICommandInterpreter.
Name | Description | |
---|---|---|
![]() | Commands | Lists all the commands that have been added to the interpreter |
![]() | ErrorLevel | Gets/sets the exit code of the operation/process |
![]() | 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 | |
---|---|---|
![]() | ExpandOptions | Expands '$(OptionName)' within the input string to the named option's value. |
![]() | Get | Command to get an option value by name |
![]() | GetHtmlHelp | Returns an HTML document for help on all items (when item == null) or a specific item. |
![]() | Run | Overloaded. Run the command whos name is the first argument with the remaining arguments provided to the command as needed. |
![]() | Set | Command to set the value of an option value by name |
![]() | 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. |
Reference
ICommandInterpreter InterfaceCSharpTest.Net.Commands Namespace
ServiceCommands.RunAsService(ICommandInterpreter,String,String[])
ServiceCommands.Installation.InstallService(String,String,ServiceStartMode,ServiceAccount,String,String[],ICommandInterpreter,String)
ICommand.Run(ICommandInterpreter,String[])
ICommandFilter.Run(ICommandInterpreter,ICommandChain,String[])