gen-jhipster
Version:
VHipster - Spring Boot + Angular/React/Vue in one handy generator
9 lines (8 loc) • 556 B
TypeScript
import type { CliSpec, CommandConfigDefault, CommandConfigScope, ConfigSpec, JHipsterArgumentsWithChoices, JHipsterConfigs } from './types.ts';
export declare const extractArgumentsFromConfigs: (configs: JHipsterConfigs | undefined) => JHipsterArgumentsWithChoices;
export type JHipsterCommandOptions = CliSpec & {
choices?: string[];
scope: CommandConfigScope;
default?: CommandConfigDefault<any>;
};
export declare const convertConfigToOption: <const T extends ConfigSpec<any>>(name: string, config: T) => JHipsterCommandOptions | undefined;