HydrologicEngineeringCenter / HydrologicEngineeringCenter/cwms-cli
Make each command have a specific req'd cwms-python target
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2
- Forks
- 4
- Avg merge
- 19h 59m
- Merged PRs (30d)
- 3
Description
CLI Script
other
Feature Proposal
I.e.
This
just gets used on everything via
Thoughts on me making an issue to remove the global and make those explicit?
i.e.
This would not work@requries(reqs.cwms.set("version", "1.0.3")
This will make it so a sub command like users can be set to 1.0.3 but the people also wanting to just have it work for another command can have an older version if they don't need to update!
REDACTED relevant log output
Related Context or Links
There's a global dep in the pytoml here
That could also be at a lower minimum required for all of cwms-cli. Although cwms-cli itself does not need cwms-python until you drill down.
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 reading cwmscli/requirements.py and the command definitions in cwmscli/commands/commands_cwms.py, then inspect the global dependency in pyproject.toml. Determine how dependencies are currently applied to every command and how command-specific targets could be represented. Done means commands declare their required cwms-python versions explicitly while the global minimum remains appropriate for the CLI.
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