Class CLI
The command line interface: looks a tool up by name and runs it.
public static class CLI
- Inheritance
-
CLI
- Inherited Members
Fields
Cmd
The command users type, and the name this ships under as a dotnet tool.
public const string Cmd = "nopennlp"
Field Value
Methods
GetToolLookupMap()
The registered tools by name, in registration order.
public static IReadOnlyDictionary<string, CmdLineTool> GetToolLookupMap()
Returns
GetToolNames()
The names of every registered tool, in registration order.
public static ICollection<string> GetToolNames()
Returns
Run(string[])
Runs the tool named by args and returns the process exit code.
public static int Run(string[] args)
Parameters
argsstring[]