import { BaseCommand } from '../../modules/ace/main.ts'; import { type CommandOptions } from '../../types/ace.ts'; /** * Make a new service class * * @example * ``` * ace make:service UserService * ace make:service AuthService * ace make:service User/ProfileService * ``` */ export default class MakeService extends BaseCommand { /** * The command name */ static commandName: string; /** * The command description */ static description: string; /** * Command options configuration */ static options: CommandOptions; /** * Name of the service */ 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 to use for generating the service class */ protected stubPath: string; run(): Promise; }