import type { CommandOptions } from '../types/ace.ts'; import { BaseCommand } from '../modules/ace/main.ts'; /** * Command to configure packages after installation by running their configuration hooks. * Supports built-in configurations for VineJS, Edge, and health checks, or can execute * custom configure functions exported by packages. * * @example * ``` * ace configure @adonisjs/lucid * ace configure vinejs * ace configure edge * ace configure health_checks * ace configure @adonisjs/auth --force --verbose * ``` */ export default class Configure extends BaseCommand { #private; /** * The command name */ static commandName: string; /** * The command description */ static description: string; /** * Command options configuration. * Allows unknown flags to be passed to package configure functions. */ static options: CommandOptions; /** * Expose all flags from the protected property "parsed" for access by package configure functions */ get parsedFlags(): { [argName: string]: any; }; /** * Expose all arguments from the protected property "parsed" for access by package configure functions */ get parsedArgs(): (string | number)[]; /** * Name of the package to configure */ name: string; /** * Enable verbose logging during package installation and configuration */ verbose?: boolean; /** * Forcefully overwrite existing files during configuration */ force?: boolean; /** * The root directory path of the package's stubs. * Set automatically when the package exports a stubsRoot property. */ stubsRoot: string; /** * Create a codemods instance configured with command options. * Sets overwrite and verbose flags based on command arguments. */ createCodemods(): Promise; /** * Execute the configure command. Handles built-in configurations for VineJS, Edge, * and health checks, or imports and executes the configure function from the specified package. */ run(): Promise; }