The Flag interface represents a command-line argument or option that can be used in various
applications. This interface includes properties that define the behavior, identity,
and requirements of the flag.
type: "string"
| "boolean"
| "number"
Represents a variable that can hold values of type string, boolean, or number.
The type can be one of the following:
- "string": for textual data.
- "boolean": for true/false values.
- "number": for numeric values.
This variable type can be useful for scenarios where the value can be one of the multiple data types.
The name of the flag - this is the name that is used to access the value associated with the flag.
Sets whether a particular flag is mandatory. When set to true, the framework will error usages of the command that don't specify the flag.
When set, the flag will be available to any sub-commands.
default: null
| unknown
| unknown[]
Default value for the flag