File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ Linux requires `sudo apt install libasound2-dev`.
3636## Usage with Claude Code
3737
3838``` bash
39- vox init # all integrations (default)
40- vox init -m mcp # MCP server only
41- vox init -m cli # CLI hook only
42- vox init -m skill # slash command only
39+ vox init # MCP server (default)
40+ vox init -m cli # CLAUDE.md + Stop hook
41+ vox init -m skill # /speak slash command
42+ vox init -m all # all of the above
4343```
4444
4545Each mode sets up a different integration:
Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ enum Commands {
6565 Stats ,
6666 /// Set up AI assistant integration (Claude Code + Claude Desktop)
6767 Init {
68- /// Integration mode: mcp, cli, skill, or all (default: all )
69- #[ arg( short, long, default_value = "all " ) ]
68+ /// Integration mode: mcp, cli, skill, or all (default: mcp )
69+ #[ arg( short, long, default_value = "mcp " ) ]
7070 mode : InitMode ,
7171 } ,
7272 /// Launch MCP server (stdio transport for Claude Code / Claude Desktop)
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ fn test_init_creates_files() {
281281 let dir = tempfile:: tempdir ( ) . unwrap ( ) ;
282282 Command :: cargo_bin ( "vox" )
283283 . unwrap ( )
284- . arg ( "init" )
284+ . args ( [ "init" , "-m" , "cli" ] )
285285 . current_dir ( dir. path ( ) )
286286 . assert ( )
287287 . success ( )
@@ -299,15 +299,15 @@ fn test_init_idempotent() {
299299 // First run
300300 Command :: cargo_bin ( "vox" )
301301 . unwrap ( )
302- . arg ( "init" )
302+ . args ( [ "init" , "-m" , "cli" ] )
303303 . current_dir ( dir. path ( ) )
304304 . assert ( )
305305 . success ( ) ;
306306
307307 // Second run
308308 Command :: cargo_bin ( "vox" )
309309 . unwrap ( )
310- . arg ( "init" )
310+ . args ( [ "init" , "-m" , "cli" ] )
311311 . current_dir ( dir. path ( ) )
312312 . assert ( )
313313 . success ( )
You can’t perform that action at this time.
0 commit comments