import { BaseCommand } from '../modules/ace/main.ts'; /** * Command to eject scaffolding stubs from packages to your application root. * This allows you to customize templates used by make commands and other * code generation features by copying them to your local application. * * @example * ``` * ace eject make/controller * ace eject make/controller --pkg=@adonisjs/lucid * ace eject stubs/ * ``` */ export default class Eject extends BaseCommand { /** * The command name */ static commandName: string; /** * The command description */ static description: string; /** * Path to the stubs directory or a single stub file to eject */ stubPath: string; /** * Package name to search for stubs. Defaults to @adonisjs/core */ pkg: string; /** * Execute the command to eject stubs from the specified package. * Copies the stubs to the application root and logs success messages * for each ejected file. */ run(): Promise; }