Home > @rushstack/ts-command-line > ScopedCommandLineAction > onDefineUnscopedParameters
ScopedCommandLineAction.onDefineUnscopedParameters() method
The child class should implement this hook to define its unscoped command-line parameters, e.g. by calling defineFlagParameter(). At least one scoping parameter must be defined. Scoping parameters are defined by setting the parameterGroupName to ScopedCommandLineAction.ScopingParameterGroupName.
Signature:
protected onDefineUnscopedParameters?(): void;
Returns:
void