docs(design-proposals): propose unified CLI interfaces - #51
Open
myasnikovdaniil wants to merge 1 commit into
Open
docs(design-proposals): propose unified CLI interfaces#51myasnikovdaniil wants to merge 1 commit into
myasnikovdaniil wants to merge 1 commit into
Conversation
Define separate operator and tenant command-line interfaces backed by shared Kubernetes client, discovery, schema, output, wait, and plugin modules. Document how cozypkg and check-readiness migrate into cozystackctl while remaining compatibility entry points, and how cozyctl discovers managed applications from the aggregated API and OpenAPI. Assisted-By: GPT-5 <noreply@openai.com> Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe proposal defines ChangesUnified CLI design
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Proposes two primary modular command-line interfaces for Cozystack:
cozystackctlfor platform operators andcozyctlfor tenants and managed-service users.The proposal defines their responsibility boundaries, command organization, shared client/discovery/output foundation, schema-driven application discovery, executable extension model, security constraints, compatibility strategy, testing, and phased rollout. Existing
cozypkgandcheck-readinessbinaries remain compatibility entry points backed by the shared implementation during migration.Key decisions
ApplicationDefinition, and OpenAPI.Testing
git diff --checkDownstream repositories
No downstream follow-up is required because this PR records a design proposal and changes no product API or implementation.
Summary by CodeRabbit