import { BaseCommand } from '../../modules/ace/main.ts'; /** * Command to create a new Ace command class. * Ace commands are CLI commands that can be executed via the `ace` binary, * allowing you to create custom functionality for your application's command line interface. * * @example * ``` * ace make:command SendEmails * ace make:command ProcessPayments * ace make:command GenerateReports * ace make:command CleanupFiles * ``` */ export default class MakeCommand extends BaseCommand { /** * The command name */ static commandName: string; /** * The command description */ static description: string; /** * Name of the command class to create */ name: string; /** * Read the contents from this file (if the flag exists) and use * it as the raw contents */ contentsFrom: string; /** * Forcefully overwrite existing files */ force: boolean; /** * The stub template file to use for generating the command class */ protected stubPath: string; /** * Execute the command to create a new Ace command class. * Generates the command file with proper CLI command structure. */ run(): Promise; }