@hypermod/cli
Version:
To download and run codemods, we provide a CLI tool called @hypermod/cli.
18 lines (17 loc) • 440 B
TypeScript
import inquirer from 'inquirer';
import { Config } from '@hypermod/types';
export declare const getConfigPrompt: (config: Config) => {
type: string;
name: string;
message: string;
choices: (string | inquirer.Separator | undefined)[];
};
export declare const getMultiConfigPrompt: (configs: {
filePath: string;
config: Config;
}[]) => {
type: string;
name: string;
message: string;
choices: any[];
};