import { BaseCommand } from "./base.command"; import { Command } from "commander"; import { CliStartup } from "../cli-startup"; import { InfoMiddleware } from "../middlewares/info.middleware"; export class InfoCommand extends BaseCommand { register(command: Command): void { command .command("info") .alias("i") .description("Display sfa project details.") .action(async (command: Record) => { await new CliStartup(undefined, command).add(InfoMiddleware).run(); }); } }