Home > @rushstack/heft > IHeftParsedCommandLine
IHeftParsedCommandLine interface
The type of IHeftTaskSession.parsedCommandLine, which exposes details about the command line that was used to invoke Heft.
Signature:
export interface IHeftParsedCommandLine
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
commandName | readonly | string | Returns the subcommand passed on the Heft command line, before any aliases have been expanded. This can be useful when printing error messages that need to refer to the invoked command line. |
unaliasedCommandName | readonly | string | Returns the subcommand passed on the Heft command line, after any aliases have been expanded. This can be useful when printing error messages that need to refer to the invoked command line. |