bigskysoftware / bigskysoftware/_hyperscript

Validation prints `Not found [target]` message for every flag

Open
#680 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.8k
Forks
172
PR merge metrics
No merged PRs in 30d

Description

Version used is 0.9.91.

Running validation with any flags prints a message to console due to how the `positional` args are determined.

E.g. running `--validate src/ --ext foo --attr bar` results in:

```
Not found: /foo
Not found: /bar
```

This is more of a cosmetic issue. I was confused at first when I saw the messages and unsure if my flags were even correctly parsed or not (turns out they are).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the validation path and how positional arguments are determined for --validate, --ext, and --attr. Reproduce the command from the report, then adjust the handling so valid flag values do not produce “Not found” messages while validation and flag parsing continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.