mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-06 23:44:36 +00:00
docs(coding-agent): document -- end-of-options delimiter
This commit is contained in:
parent
74786a748f
commit
62bcbf6be0
3 changed files with 15 additions and 3 deletions
|
|
@ -262,7 +262,7 @@ export function printHelp(extensionFlags?: ExtensionFlag[]): void {
|
|||
console.log(`${chalk.bold(APP_NAME)} - AI coding assistant with read, bash, edit, write tools
|
||||
|
||||
${chalk.bold("Usage:")}
|
||||
${APP_NAME} [options] [@files...] [messages...]
|
||||
${APP_NAME} [options] [--] [@files...] [messages...]
|
||||
|
||||
${chalk.bold("Commands:")}
|
||||
${APP_NAME} install <source> [-l] Install extension source and add to settings
|
||||
|
|
@ -316,6 +316,7 @@ ${chalk.bold("Options:")}
|
|||
--approve, -a Trust project-local files for this run
|
||||
--no-approve, -na Ignore project-local files for this run
|
||||
--offline Disable startup network operations (same as PI_OFFLINE=1)
|
||||
-- End option parsing; treat remaining arguments as messages/files
|
||||
--help, -h Show this help
|
||||
--version, -v Show version number
|
||||
|
||||
|
|
@ -340,6 +341,9 @@ ${chalk.bold("Examples:")}
|
|||
# Non-interactive mode (process and exit)
|
||||
${APP_NAME} -p "List all .ts files in src/"
|
||||
|
||||
# Prompt beginning with a dash
|
||||
${APP_NAME} -p -- "- Summarize these points"
|
||||
|
||||
# Multiple messages (interactive)
|
||||
${APP_NAME} "Read package.json" "What dependencies do we have?"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue