@megaorm/cli
Version:
This package allows you to communicate with MegaORM via commands directly from the command line interface (CLI).
16 lines (15 loc) • 529 B
TypeScript
import { MegaCommand } from '../MegaCommand';
/**
* Represents a command to add a command file to a specific folder in the project
* based on MegaORM configuration.
*
* @extends MegaCommand
*/
export declare class RemoveForCommand extends MegaCommand {
/**
* Executes 3 commands to add `generator`, `seeder` and a `model` file for the specified table.
*
* @returns A promise that resolves when all files has been added successfully or rejects with an error.
*/
static exec(): Promise<unknown>;
}