@mikro-orm/cli
Version:
TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.
22 lines (21 loc) • 531 B
TypeScript
import yargs, { type CommandModule } from 'yargs';
/**
* @internal
*/
export type BaseArgs = Awaited<ReturnType<typeof CLIConfigurator['createBasicConfig']>['argv']>;
/**
* @internal
*/
export interface BaseCommand<CommandArgs extends BaseArgs = BaseArgs> extends CommandModule<BaseArgs, CommandArgs> {
}
/**
* @internal
*/
export declare class CLIConfigurator {
private static createBasicConfig;
static configure(): yargs.Argv<{
config: string[] | undefined;
} & {
contextName: string;
}>;
}