Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/ts-command-line > IScopedLongNameParseResult

IScopedLongNameParseResult interface

The result containing the parsed paramter long name and scope. Returned when calling CommandLineParameterProvider.parseScopedLongName().

Signature:

export interface IScopedLongNameParseResult 

Properties

PropertyModifiersTypeDescription
longNamestringThe long name parsed from the scoped long name, e.g. "--my-scope:my-parameter" -> "--my-parameter"
scopestring | undefinedThe scope parsed from the scoped long name or undefined if no scope was found, e.g. "--my-scope:my-parameter" -> "my-scope"