Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE] Make all core services quads-cli sub-commands #450

Closed
sadsfae opened this issue Sep 13, 2023 · 1 comment
Closed

[RFE] Make all core services quads-cli sub-commands #450

sadsfae opened this issue Sep 13, 2023 · 1 comment

Comments

@sadsfae
Copy link
Member

sadsfae commented Sep 13, 2023

Take the remaining cron services we use for QUADS and convert them to argparse sub-commands. A model we follow for --move-hosts is ideal here.

e.g.

quads-cli --validate-env = /opt/quads/quads/tools/validate_env.py
quads-cli --regen-wiki = /opt/quads/quads/tools/regenerate_wiki.py
quads-cli --notify = /opt/quads/quads/tools/notify.py
quads-cli --foreman-rbac = /opt/quads/quads/tools/foreman_heal.py
quads-cli --regen-heatmap = /opt/quads/quads/tools/simple_table_web.py
quads-cli --regen-instack = /opt/quads/quads/tools/make_instackenv_json.py

Related, like --move-hosts we should also prompt in the quads-cli --setup RFE #449 steps if users want to replace the default commands for any of these, but display/save the default choice.

@sadsfae sadsfae added this to the 2.0 Series - Bowie milestone Sep 13, 2023
sadsfae pushed a commit that referenced this issue Oct 17, 2023
coveragerc added omit for BF
refactored setup and teardown for reduced boilerplate
added cli actions for core services #450

Change-Id: I0ba862227c6277771b0175be0d8ce72e5896c9ce
@sadsfae
Copy link
Member Author

sadsfae commented Jan 30, 2024

Marking this as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Completed
Development

No branches or pull requests

2 participants