Rush StackShopBlogEvents
Skip to main content

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

IScopedLongNameParseResult interface

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

Signature:

export interface IScopedLongNameParseResult 

Properties

Property

Modifiers

Type

Description

longName

string

The long name parsed from the scoped long name, e.g. "--my-scope:my-parameter" -> "--my-parameter"

scope

string | undefined

The scope parsed from the scoped long name or undefined if no scope was found, e.g. "--my-scope:my-parameter" -> "my-scope"