ssube/cautious-journey

View on GitHub
src/config/args.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function parseArgs has 57 lines of code (exceeds 40 allowed). Consider refactoring.
Open

export async function parseArgs(args: Array<string>): Promise<ParsedArgs> {
  let mode = Commands.UNKNOWN;

  const parser = yargs(args)
    .usage(`Usage: ${VERSION_INFO.package.name} <mode> [options]`)
Severity: Major
Found in src/config/args.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status