From 69a48f0ed288a8675f25a898ec33f7fd5e3c4993 Mon Sep 17 00:00:00 2001 From: "Claude Sonnet 4.5" Date: Thu, 22 Jan 2026 04:21:01 +0000 Subject: [PATCH] docs: add interactive mode documentation for init command - Document interactive mode when gh aw init is run without arguments - Add example showing interactive usage for engine selection - Clarify that interactive mode helps configure repository secrets - Update options list to highlight --engine flag Co-authored-by: Claude Sonnet 4.5 --- docs/src/content/docs/setup/cli.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/src/content/docs/setup/cli.md b/docs/src/content/docs/setup/cli.md index f3c02a15dc..fb41e133e1 100644 --- a/docs/src/content/docs/setup/cli.md +++ b/docs/src/content/docs/setup/cli.md @@ -115,8 +115,11 @@ Commands are organized by workflow lifecycle: creating, building, testing, monit Initialize repository for agentic workflows. Configures `.gitattributes`, Copilot instructions, prompt files, and logs `.gitignore`. Enables MCP server integration by default (use `--no-mcp` to skip). +When run without arguments, enters interactive mode to guide you through engine selection (Copilot, Claude, or Codex) and secret configuration. + ```bash wrap -gh aw init # With MCP integration (default) +gh aw init # Interactive mode: select engine and configure secrets +gh aw init --engine copilot # Non-interactive with specific engine gh aw init --no-mcp # Skip MCP server integration gh aw init --tokens --engine copilot # Check Copilot token configuration gh aw init --codespaces # Configure devcontainer for current repo @@ -125,7 +128,9 @@ gh aw init --campaign # Enable campaign functionality gh aw init --completions # Install shell completions ``` -**Options:** `--no-mcp`, `--tokens`, `--engine` (copilot, claude, codex), `--codespaces`, `--campaign`, `--completions` +**Interactive Mode:** When invoked without `--engine`, prompts you to select an engine and optionally configure repository secrets using the `gh` CLI. + +**Options:** `--engine` (copilot, claude, codex), `--no-mcp`, `--tokens`, `--codespaces`, `--campaign`, `--completions` #### `add`