-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested
Description
CLI Script
cwms-cli
Feature Proposal
If a user does not have a required library, you will see this due to the @requires decorator.
cwms-cli blob list Error: Missing module(s):
- `cwms` (install: `cwms-python`) — CWMS REST API Python client [docs](https://github.com/HydrologicEngineeringCenter/cwms-python)
Install missing packages:
pip install cwms-pythonShould the CLI prompt the user y/n to auto install the library?
I.e. something like
Would you like to install missing packages?
pip install cwms-python
> [Y]es/[N]o: N
Bonus, we can use sys.executable to install it so that it will also respect the current python env.
Thinking we can build this into the @requires decorator
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested