canonical / canonical/hardware-api
Add optional --cache parameter to CLI
Open
Beginner friendly
- Dominant language
- Python
- Stars
- 11
- Forks
- 5
- Avg merge
- 17h 4m
- Merged PRs (30d)
- 11
Description
### Check existing issues
- [x] I've verified that this request isn't described by any existing issues.
### Request
Add an optional `--cache` parameter that takes in a path to a custom hwctl cache.
### Motivation
Adding an optional `--cache` would help in development/debugging to use caches from bug reports, for example.
Contributor guide
Research direction
Locate the hwctl CLI argument parsing and existing cache handling first. Add the optional --cache path and verify through the CLI help or relevant command that a custom cache path is accepted and used.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 70/100