HydrologicEngineeringCenter / HydrologicEngineeringCenter/cwms-cli
Add CLI command to create a rating
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
Should we have a sub command called
cwms-cli ratings that allows for manipulation of the ratings endpoints?
If a user wants to create a new rating they can do this in CWMSVue, then update the description for the getUSGSRatings script.
But if we had something like
cwms-cli ratings create --rating-file=myrating.xml
And expose the other CDA endpoint params via CLI args
This could also sub class further to
cwms-cli ratings template ...args
or
cwms-cli ratings spec ..args
REDACTED relevant log output
Related Context or Links
No response
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 reviewing the existing getUSGSRatings script and the CWMS CDA ratings endpoints. The proposal describes a ratings create command accepting a rating file and endpoint parameters, with possible template and spec subcommands; done would mean the agreed CLI scope is implemented and usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100