Skip to content

Unknown CLI flags are silently swallowed #9

Description

@royalpinto007

Problem

skill-audit . --output foo silently drops the unknown flag and runs, so a user who thinks output went to a file loses results.

Where

src/cli.js (parseArgs has branches only for known flags; dashed unknowns match nothing).

Acceptance

Add a failing test first asserting an unknown option exits non-zero with an "unknown option" message. Then fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions