Interface ResolveCommandOptions

Options for the resolveCommand function.

interface ResolveCommandOptions {
    commandsDir: string;
    commandString: string;
    parseFn?: ParseCommandFn;
}

Properties

commandsDir: string

The path to the directory containing the command files.

commandString: string

The command string to resolve a command file for.

parseFn?: ParseCommandFn

A function to parse the command string and options. Used to determine if the command string contains any options and to remove them from the remaining command string.