@foal/cli
Version:
CLI tool for FoalTS
26 lines (25 loc) • 896 B
TypeScript
import { Generator } from '../../../services';
/**
* Service for creating a new FoalTS application.
*/
export declare class CreateAppCommandService {
private generator;
constructor(generator: Generator);
/**
* Create a new FoalTS application.
*
* @param {string} name - The name of the application
* @param {boolean} autoInstall - Whether to automatically install dependencies
* @param {boolean} initRepo - Whether to initialize a git repository
* @param {boolean} mongodb - Whether to use MongoDB instead of SQLite
* @param {boolean} yaml - Whether to use YAML configuration instead of JSON
* @returns {Promise<void>}
*/
run({ name, autoInstall, initRepo, mongodb, yaml }: {
name: string;
autoInstall?: boolean;
initRepo?: boolean;
mongodb?: boolean;
yaml?: boolean;
}): Promise<void>;
}