Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ Linux requires `sudo apt install libasound2-dev`.
## Usage with Claude Code

```bash
vox init # all integrations (default)
vox init -m mcp # MCP server only
vox init -m cli # CLI hook only
vox init -m skill # slash command only
vox init # MCP server (default)
vox init -m cli # CLAUDE.md + Stop hook
vox init -m skill # /speak slash command
vox init -m all # all of the above
```

Each mode sets up a different integration:
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ enum Commands {
Stats,
/// Set up AI assistant integration (Claude Code + Claude Desktop)
Init {
/// Integration mode: mcp, cli, skill, or all (default: all)
#[arg(short, long, default_value = "all")]
/// Integration mode: mcp, cli, skill, or all (default: mcp)
#[arg(short, long, default_value = "mcp")]
mode: InitMode,
},
/// Launch MCP server (stdio transport for Claude Code / Claude Desktop)
Expand Down
6 changes: 3 additions & 3 deletions tests/cli_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ fn test_init_creates_files() {
let dir = tempfile::tempdir().unwrap();
Command::cargo_bin("vox")
.unwrap()
.arg("init")
.args(["init", "-m", "cli"])
.current_dir(dir.path())
.assert()
.success()
Expand All @@ -299,15 +299,15 @@ fn test_init_idempotent() {
// First run
Command::cargo_bin("vox")
.unwrap()
.arg("init")
.args(["init", "-m", "cli"])
.current_dir(dir.path())
.assert()
.success();

// Second run
Command::cargo_bin("vox")
.unwrap()
.arg("init")
.args(["init", "-m", "cli"])
.current_dir(dir.path())
.assert()
.success()
Expand Down