Class CLI

Namespace
NOpenNLP.Tools.Cmdline
Assembly
nopennlp.dll

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

string

Methods

GetToolLookupMap()

The registered tools by name, in registration order.

public static IReadOnlyDictionary<string, CmdLineTool> GetToolLookupMap()

Returns

IReadOnlyDictionary<string, CmdLineTool>

GetToolNames()

The names of every registered tool, in registration order.

public static ICollection<string> GetToolNames()

Returns

ICollection<string>

Run(string[])

Runs the tool named by args and returns the process exit code.

public static int Run(string[] args)

Parameters

args string[]

Returns

int