Skip to content

Conversation

@amaslenn
Copy link
Contributor

@amaslenn amaslenn commented Aug 28, 2025

Summary

Click is a popular CLI building library in python community, so this change aims:

  1. Simplify CloudAI's CLI implementation and reduce maintenance cost. We don't need maintain this code anymore and rely on tested framework.
  2. Provide community-accepted way to re-use CLI for tools that consume CloudAI as a library. Click is highly composable, so users can extend it if needed.

This change introduces the only user-facing difference compared to previous CLI: --test-scenario is now mandatory for install and uninstall commands, so installing all components for the whole tests directory is not possible now. But with new install-during-run functionality that shouldn't be an issue.

Test Plan

  1. CI (updated).
  2. Manual runs of different commands.

Additional Notes

@amaslenn amaslenn changed the title Am/click cli Re-work CLI implementation to use Click Aug 29, 2025
@amaslenn amaslenn marked this pull request as ready for review August 29, 2025 10:58
@amaslenn amaslenn merged commit a0dec73 into main Sep 22, 2025
2 checks passed
@amaslenn amaslenn deleted the am/click-cli branch September 22, 2025 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants