Add heuristic parsing when command flag json is missing.
- Dominant language
- Python
- Stars
- 4
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
A command missing a flag json file will conservatively assume all arguments are operands. The parser can be extended to have some lightweight heuristics (e.g., consider all arguments with a `-` prefix as flags).
This can be useful to correctly parse more commands without additional effort.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the command parser and the handling for a missing flag json file. Review any existing parser tests or command-parsing entry points before adding the lightweight heuristic described in the issue. Done means arguments with a `-` prefix can be recognized as flags while other arguments remain operands when no flag json file is available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100