canonical / canonical/craft-application
Support argument list passthrough
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 14
- Forks
- 29
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 12
Description
What needs to get done
Change command line argument parsing to allow raw arguments to be collected instead of parsed. Inconsistencies related to double dash vs single dash in long options should be addressed.
Why it needs to get done
The test command in Charmcraft (https://github.com/canonical/charmcraft/pull/1660) passes the raw command line to spread.
Contributor guide
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.
Research direction
Start by locating the command-line argument parsing entry point and the tests covering long options and double-dash handling. Trace how the Charmcraft test command needs raw arguments passed through to spread; done means raw arguments are preserved and the single-dash versus double-dash behavior is consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100