Initial commit: GPT CLI (Rust)

- Complete Rust implementation of GPT CLI
- Support for OpenAI and Anthropic models
- Session persistence and management
- Web search integration via Responses API
- Interactive commands and model switching
- Comprehensive error handling and logging

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
leach
2025-08-15 15:01:28 -04:00
commit b171a6b2b2
15 changed files with 3913 additions and 0 deletions

11
run.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
# Simple runner script for the Rust gptCLI
# Build if the binary doesn't exist or is older than source files
if [[ ! -f target/release/gpt-cli-rust ]] || [[ src/ -nt target/release/gpt-cli-rust ]]; then
echo "Building gpt-cli-rust..."
cargo build --release
fi
# Run the CLI with any passed arguments
exec ./target/release/gpt-cli-rust "$@"