You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Scope class is an internal component of the framework, responsible for managing flags, commands, and their associated metadata. It facilitates the validation, organization, and execution of CLI components.
Retrieves the usage reporter for a specific command.
General Utility
Method
Description
has(key: number): boolean
Checks if an index corresponds to a flag or command.
Notes
The Scope class is not directly exposed as part of the public API. It is intended for internal use within the CLI framework to organize and validate flags, commands, and their associated behaviors.