Skip to content

feat(cli): add failover management commands#165

Open
unive3sal wants to merge 1 commit intoSaladDay:mainfrom
unive3sal:main
Open

feat(cli): add failover management commands#165
unive3sal wants to merge 1 commit intoSaladDay:mainfrom
unive3sal:main

Conversation

@unive3sal
Copy link
Copy Markdown
Collaborator

Add a scriptable failover command group for toggling automatic failover and managing provider queue state without requiring TUI access.

It contains sub-CLI group "cc-switch failover":

`
Manage automatic failover and provider queue

Usage: cc-switch failover [OPTIONS]

Commands:
show Show automatic failover status and queue
enable Enable automatic failover for the selected app
disable Disable automatic failover for the selected app
list List queued failover providers
available List providers that can be added to the failover queue
add Add a provider to the failover queue
remove Remove a provider from the failover queue
move Move a queued provider up or down
clear Clear the failover queue
help Print this message or the help of the given subcommand(s)

Options:
-a, --app Specify the application type [possible values: claude, codex, gemini, open-code, open-claw]
-v, --verbose Enable verbose output
-h, --help Print help
`

Fixes #162

Add a scriptable failover command group for toggling automatic failover and managing provider queue state without requiring TUI access.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@unive3sal unive3sal requested a review from SaladDay May 7, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add failover control CLI

1 participant