Class BasicCmdLineTool
Base class for tools which take positional arguments rather than named options.
public abstract class BasicCmdLineTool : CmdLineTool
- Inheritance
-
BasicCmdLineTool
- Derived
- Inherited Members
Methods
CreateCommand(string)
Builds the command that parses this tool's arguments and runs it.
public override Command CreateCommand(string commandName)
Parameters
commandNamestringthe name the user typed, which for a typed tool includes the
.formatsuffix and so is not always Name
Returns
Run(string[])
Executes the tool with the given positional arguments.
public abstract void Run(string[] args)
Parameters
argsstring[]