Add heuristic parsing when command flag json is missing.
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
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.
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.
- Dominant language
- Python
- Stars
- 4
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from binpash/annotations
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
binpash/annotations#25 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
binpash/annotations#20 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
binpash/annotations#17 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
binpash/annotations#16 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
binpash/annotations#12 · 1 comment ·
All issues in binpash/annotations
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100