Conversation
WalkthroughThis pull request restructures various CLI commands by consolidating multiple OIDC authentication options into a single decorator and streamlining related function signatures. In addition, it unifies selector handling by replacing the older Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant CLI
participant OIDC_Decorator as @opt_oidc
participant Login_Function
participant OIDC_Provider
User->>CLI: Issue login command with OIDC options
CLI->>OIDC_Decorator: Parse and consolidate options
OIDC_Decorator-->>CLI: Return unified credentials
CLI->>Login_Function: Call login with consolidated OIDC parameters
Login_Function->>OIDC_Provider: Request authentication token
OIDC_Provider-->>Login_Function: Return token
Login_Function-->>CLI: Send login result
CLI-->>User: Display login status
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (7)
💤 Files with no reviewable changes (1)
🧰 Additional context used🧬 Code Definitions (3)packages/jumpstarter-cli-client/jumpstarter_cli_client/client_login.py (1)
packages/jumpstarter-cli-client/jumpstarter_cli_client/client_shell.py (1)
packages/jumpstarter-cli-exporter/jumpstarter_cli_exporter/exporter_login.py (1)
⏰ Context from checks skipped due to timeout of 90000ms (7)
🔇 Additional comments (13)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
✅ Deploy Preview for jumpstarter-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Summary by CodeRabbit
New Features
Refactor