INNER CODE UNIT · TypeScript

InfoCommand

hypermodeinc/modus · cli/src/commands/info/index.ts:9

export default class InfoCommand extends BaseCommand {
  static args = {};

  static flags = {};

  static description = "Show Modus info";

  static examples = ["modus info"];

  async run(): Promise<void> {
    const { flags } = await this.parse(InfoCommand);

    if (!flags["no-logo"]) {
      this.log(getHeader(this.config.version));
    }

    const info = await this.logInfo();
    this.displayInfo(info);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…