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:
11
run.sh
Executable file
11
run.sh
Executable 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 "$@"
|
||||
Reference in New Issue
Block a user