< Summary - Envilder CLI

Information
Class: src/envilder/apps/cli/entry/Index.ts
Assembly: Default
File(s): src/envilder/apps/cli/entry/Index.ts
Tag: 427_29134414720
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 18
Line coverage: 0%
Branch coverage
0%
Covered branches: 0
Total branches: 2
Branch coverage: 0%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

File(s)

src/envilder/apps/cli/entry/Index.ts

#LineLine coverage
 1#!/usr/bin/env node
 2
 3/**
 4 * Entry point for the CLI application
 5 * This file is executed when the CLI runs
 6 */
 7
 8import { presentError } from '../errors/CliErrorPresenter.js';
 9import { SilentExitError } from '../errors/SilentExitError.js';
 10import { main } from './Cli.js';
 11
 012main().catch((error) => {
 013  if (error instanceof SilentExitError) {
 014    process.exit(error.code);
 15  }
 016  console.error(presentError(error));
 017  process.exit(1);
 18});

Methods/Properties

(anonymous_0)