@gobstones/gobstones-scripts
Version:
Scripts to abstract away build configuration of Gobstones Project's libraries and modules.
17 lines • 717 B
TypeScript
/**
* The command line program definition
*/
export declare const program: import("commander").Command;
/**
* Throw an error if the given value at the options object (if any) is not a valid
* option for the given option name, if the possible values is one of the given
* possible values.
*
* @param options - The object containing all options.
* @param optionName - The option name to verify.
* @param possibleValues - The possible values the option can take.
*
* @throws if there is an option given and the value is not one of the possible values.
*/
export declare const failIfOptionInvalid: (options: unknown, optionName: string, possibleValues: string[]) => void;
//# sourceMappingURL=program.d.ts.map