File size: 832 Bytes
b38373d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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:
    ```bash
    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](../../docs/CLI_INTEGRATION.md).