Initial commit
This commit is contained in:
29
node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineFlagParameter.d.ts
generated
vendored
Normal file
29
node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineFlagParameter.d.ts
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
import type { ICommandLineFlagDefinition } from './CommandLineDefinition';
|
||||
import { CommandLineParameterBase, CommandLineParameterKind } from './BaseClasses';
|
||||
/**
|
||||
* The data type returned by {@link CommandLineParameterProvider.defineFlagParameter}.
|
||||
* @public
|
||||
*/
|
||||
export declare class CommandLineFlagParameter extends CommandLineParameterBase {
|
||||
private _value;
|
||||
/** {@inheritDoc CommandLineParameterBase.kind} */
|
||||
readonly kind: CommandLineParameterKind.Flag;
|
||||
/** @internal */
|
||||
constructor(definition: ICommandLineFlagDefinition);
|
||||
/**
|
||||
* {@inheritDoc CommandLineParameterBase._setValue}
|
||||
* @internal
|
||||
*/
|
||||
_setValue(data: unknown): void;
|
||||
/**
|
||||
* Returns a boolean indicating whether the parameter was included in the command line.
|
||||
*
|
||||
* @remarks
|
||||
* The return value will be false if the command-line has not been parsed yet,
|
||||
* or if the flag was not used.
|
||||
*/
|
||||
get value(): boolean;
|
||||
/** {@inheritDoc CommandLineParameterBase.appendToArgList} @override */
|
||||
appendToArgList(argList: string[]): void;
|
||||
}
|
||||
//# sourceMappingURL=CommandLineFlagParameter.d.ts.map
|
||||
Reference in New Issue
Block a user