@@ -71,7 +71,7 @@ By default, the CLI prompts for approval before executing actions:
7171``` bash
7272export OPENROUTER_API_KEY=sk-or-v1-...
7373
74- roo ~ /Documents/my-project -P " What is this project?"
74+ roo " What is this project?" -w ~ /Documents/my-project
7575```
7676
7777You can also run without a prompt and enter it interactively in TUI mode:
@@ -92,7 +92,7 @@ In interactive mode:
9292For automation and scripts, use ` -y ` to auto-approve all actions:
9393
9494``` bash
95- roo ~ /Documents/my-project -y -P " Refactor the utils.ts file"
95+ roo " Refactor the utils.ts file" -y -w ~ /Documents/my-project
9696```
9797
9898In non-interactive mode:
@@ -149,8 +149,8 @@ Tokens are valid for 90 days. The CLI will prompt you to re-authenticate when yo
149149
150150| Option | Description | Default |
151151| --------------------------------- | --------------------------------------------------------------------------------------- | ----------------------------- |
152- | ` [workspace ] ` | Workspace path to operate in (positional argument) | Current directory |
153- | ` -P , --prompt <prompt > ` | The prompt/task to execute (optional in TUI mode) | None |
152+ | ` [prompt ] ` | Your prompt (positional argument, optional) | None |
153+ | ` -w , --workspace <path > ` | Workspace path to operate in | Current directory |
154154| ` -e, --extension <path> ` | Path to the extension bundle directory | Auto-detected |
155155| ` -d, --debug ` | Enable debug output (includes detailed debug information, prompts, paths, etc) | ` false ` |
156156| ` -x, --exit-on-complete ` | Exit the process when task completes (useful for testing) | ` false ` |
@@ -249,7 +249,7 @@ pnpm lint
249249To create a new release, execute the /cli-release slash command:
250250
251251``` bash
252- roo ~ /Documents/Roo-Code -P " /cli-release " -y
252+ roo " /cli-release " -w ~ /Documents/Roo-Code -y
253253```
254254
255255The workflow will:
0 commit comments