Rush StackShopBlogEvents
Skip to main content

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

PropertyModifiersTypeDescription
commandNamereadonlystringReturns 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.
unaliasedCommandNamereadonlystringReturns 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.