PHhTTPS's picture
docs(cli): Add README for examples/cli-config
b38373d

CLI Configuration Examples

This directory contains helper scripts and example configurations for routing third-party CLI tools through CLIProxyAPI Plus.

Contents

  • setup_env.sh: A simple template for exporting environment variables.
  • proxy-tools.rc: A shell resource file containing convenient functions (p-claude, p-code) for scoped proxy routing.

Getting Started (The Easy Way)

  1. Open your ~/.bashrc or ~/.zshrc file.
  2. Add the following line to the end of the file:
    source /path/to/CLIProxyAPIPlus/examples/cli-config/proxy-tools.rc
    
  3. Restart your terminal or run source ~/.zshrc.
  4. Run your tools with the p- prefix:
    • p-claude
    • p-code

For detailed integration instructions, see the main CLI Integration Guide.