RoadmapShopEvents
Skip to main content

Home > @rushstack/ts-command-line > IBaseCommandLineDefinition > parameterScope

IBaseCommandLineDefinition.parameterScope property

An optional parameter scope name, used to add a scope-prefixed parameter synonym, e.g. "--scope:do-something". Scopes provide additional flexibility for parameters in conflict resolution since when a scope is specified, parameters that have conflicting long names will be defined using only the scope-prefixed name.

Signature:

parameterScope?: string;