UNPKG

@elsikora/setup-wizard

Version:

Setup Wizard - CLI scaffolding utility

26 lines (25 loc) 1.15 kB
import type { Command } from "commander"; import type { ICommandFactory } from "../../infrastructure/interface/command-factory.interface"; import type { ICommandRegistrar } from "../../infrastructure/interface/command-registrar.interface"; /** * Registrar for the 'analyze' command. * Configures and registers the command that analyzes project structure and dependencies. */ export declare class AnalyzeCommandRegistrar implements ICommandRegistrar { /** The command factory used to create command instances */ readonly COMMAND_FACTORY: ICommandFactory; /** The root Commander program instance */ readonly PROGRAM: Command; /** * Initializes a new instance of the AnalyzeCommandRegistrar. * @param program - The Commander program to attach the command to * @param commandFactory - Factory for creating command instances */ constructor(program: Command, commandFactory: ICommandFactory); /** * Configures and registers the 'analyze' command. * Sets up command description, options, and action handler. * @returns The configured Commander command instance */ execute(): Command; }