mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-21 22:01:41 +00:00
Fix help text to use 'pi' instead of 'coding-agent'
This commit is contained in:
parent
95247a3e5e
commit
ee5228becf
1 changed files with 8 additions and 8 deletions
|
|
@ -101,10 +101,10 @@ function parseArgs(args: string[]): Args {
|
||||||
}
|
}
|
||||||
|
|
||||||
function printHelp() {
|
function printHelp() {
|
||||||
console.log(`${chalk.bold("coding-agent")} - AI coding assistant with read, bash, edit, write tools
|
console.log(`${chalk.bold("pi")} - AI coding assistant with read, bash, edit, write tools
|
||||||
|
|
||||||
${chalk.bold("Usage:")}
|
${chalk.bold("Usage:")}
|
||||||
coding-agent [options] [messages...]
|
pi [options] [messages...]
|
||||||
|
|
||||||
${chalk.bold("Options:")}
|
${chalk.bold("Options:")}
|
||||||
--provider <name> Provider name (default: google)
|
--provider <name> Provider name (default: google)
|
||||||
|
|
@ -121,22 +121,22 @@ ${chalk.bold("Options:")}
|
||||||
|
|
||||||
${chalk.bold("Examples:")}
|
${chalk.bold("Examples:")}
|
||||||
# Interactive mode (no messages = interactive TUI)
|
# Interactive mode (no messages = interactive TUI)
|
||||||
coding-agent
|
pi
|
||||||
|
|
||||||
# Single message
|
# Single message
|
||||||
coding-agent "List all .ts files in src/"
|
pi "List all .ts files in src/"
|
||||||
|
|
||||||
# Multiple messages
|
# Multiple messages
|
||||||
coding-agent "Read package.json" "What dependencies do we have?"
|
pi "Read package.json" "What dependencies do we have?"
|
||||||
|
|
||||||
# Continue previous session
|
# Continue previous session
|
||||||
coding-agent --continue "What did we discuss?"
|
pi --continue "What did we discuss?"
|
||||||
|
|
||||||
# Use different model
|
# Use different model
|
||||||
coding-agent --provider openai --model gpt-4o-mini "Help me refactor this code"
|
pi --provider openai --model gpt-4o-mini "Help me refactor this code"
|
||||||
|
|
||||||
# Limit model cycling to specific models
|
# Limit model cycling to specific models
|
||||||
coding-agent --models claude-sonnet,claude-haiku,gpt-4o
|
pi --models claude-sonnet,claude-haiku,gpt-4o
|
||||||
|
|
||||||
${chalk.bold("Environment Variables:")}
|
${chalk.bold("Environment Variables:")}
|
||||||
GEMINI_API_KEY - Google Gemini API key
|
GEMINI_API_KEY - Google Gemini API key
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue