@strapi/strapi
Version:
An open source headless CMS solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier. Databases supported: MySQL, MariaDB, PostgreSQL, SQLite
14 lines • 407 B
TypeScript
import type { Command } from 'commander';
import { Logger } from './utils/logger';
import { TsConfig } from './utils/tsconfig';
export interface CLIContext {
cwd: string;
logger: Logger;
tsconfig?: TsConfig;
}
export type StrapiCommand = (params: {
command: Command;
argv: string[];
ctx: CLIContext;
}) => void | Command | Promise<void | Command>;
//# sourceMappingURL=types.d.ts.map