ssube/salty-dog

View on GitHub
src/config/args.ts

Summary

Maintainability
B
5 hrs
Test Coverage
A
100%

Function parseArgs has 151 lines of code (exceeds 30 allowed). Consider refactoring.
Open

export async function parseArgs(argv: Array<string>): Promise<ParseResults> {
  let mode: MODE = MODE.check;

  const parser = yargs(argv)
    .usage('Usage: salty-dog <mode> [options]')
Severity: Major
Found in src/config/args.ts - About 5 hrs to fix

    There are no issues that match your filters.

    Category
    Status