Crate claude_code_switcher

Crate claude_code_switcher 

Source
Expand description

Claude Code Switcher - Modular CLI tool for managing Claude Code settings

This library provides a modular architecture for managing Claude Code settings across multiple AI providers through templates and snapshots.

Re-exports§

pub use cli::Cli;
pub use cli::Commands;
pub use cli::CredentialCommands;
pub use commands::run_command;
pub use credentials::CredentialStore;
pub use credentials::SavedCredential;
pub use credentials::SavedCredentialStore;
pub use credentials::get_api_key_interactively;
pub use settings::ClaudeSettings;
pub use settings::Hooks;
pub use settings::Permissions;
pub use settings::StatusLine;
pub use settings::format_settings_for_display;
pub use settings::merge_settings;
pub use snapshots::Snapshot;
pub use snapshots::SnapshotScope;
pub use snapshots::SnapshotStore;
pub use templates::TemplateType;
pub use templates::get_all_templates;
pub use templates::get_template;
pub use templates::get_template_type;
pub use utils::get_credentials_dir;
pub use utils::get_snapshots_dir;

Modules§

cli
commands
confirm_selector
Enhanced confirmation selector with keyboard shortcuts and better UX
credentials
Credential management module for Claude Code Switcher
settings
simple_selector
snapshots
templates
Template module for AI provider configurations
utils

Traits§

Configurable
CredentialManager
Storage