Skip to content

Add smart complete feature to the CLI #158

@krowvin

Description

@krowvin

CLI Script

Other

Feature Proposal

Using click allow the user to setup autocomplete for click commands in cwms-cli

I.e. if a user types cwms-cli they can hit tab to see what options are next
or

if a user types cwms-cli log it would let them hit tab and also show that the command completes to cwms-cli login for example.

There would be user setup for their dev env (bash, vs cmd prompt, etc) and a potential "wizard" could be used to help a user setup their cwms-cli env. Walking through env vars, login features, providing links to docs, etc.

Could also track "first run" and let them know these things then?

REDACTED relevant log output

Related Context or Links

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions