cc-cli  by cjh-store

CLI tool for managing Claude Code and Codex configurations

Created 1 month ago
258 stars

Top 98.1% on SourcePulse

GitHubView on GitHub
Project Summary

This CLI tool, cc-cli, addresses the complexity of managing API configurations for Claude Code and Codex. It targets users who frequently switch between different API endpoints, tokens, or models, offering a streamlined workflow. The primary benefit is simplified, rapid configuration management and backup, reducing manual effort and potential errors.

How It Works

cc-cli provides a command-line interface for managing multiple API sites and associated tokens for Claude Code and Codex. Its core functionality includes one-click switching between configurations, intelligent merging that preserves existing Claude Code/Codex settings while updating API specifics, and WebDAV-based cloud backup/restore for critical configuration files. It also introduces a "YOLO mode" for permissive tool usage and smart notifications for asynchronous task completion.

Quick Start & Requirements

  • Install: Global installation via npm: npm install -g @cjh0/cc-cli.
  • Prerequisites: Node.js and npm.
  • Usage: Launch interactive mode with cc or cc-cli (if cc conflicts with system C compiler). Other commands include cc api, cc apiuse, cc status.
  • Links: No specific documentation or demo links are provided beyond the README.

Highlighted Details

  • One-click switching for API sites and tokens.
  • Supports multi-site and multi-token management.
  • Intelligent configuration merging with existing Claude Code/Codex settings.
  • WebDAV cloud backup and restore for configurations.
  • "YOLO mode" for relaxed tool usage approval.
  • Smart notifications for event completion.

Maintenance & Community

No information regarding contributors, sponsorships, or community channels (like Discord/Slack) is present in the provided README.

Licensing & Compatibility

The README does not specify a software license. This lack of explicit licensing information may pose compatibility concerns for commercial use or integration into proprietary projects.

Limitations & Caveats

The primary command cc may conflict with the system's C compiler, necessitating the use of the alternative cc-cli command. The absence of a stated software license is a significant caveat for adoption.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
9
Star History
74 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.