@ccdevkit/ccyolo 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,28 +43,35 @@ All `claude` flags work as expected.
|
|
|
43
43
|
ccyolo flags go before `--`, claude flags go after:
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
+
ccyolo [ccyolo-flags] -- [claude-args]
|
|
47
|
+
ccyolo [claude-args]
|
|
48
|
+
|
|
46
49
|
ccyolo -v -- -p "hello" # Verbose mode
|
|
47
50
|
ccyolo --log /tmp/debug.log -- -c # Log to file
|
|
48
|
-
ccyolo
|
|
51
|
+
ccyolo -pt:git -- -p "git status" # Run git on host instead of container
|
|
52
|
+
ccyolo --use 2.1.16 -- # Use specific Claude Code version
|
|
49
53
|
```
|
|
50
54
|
|
|
51
|
-
| Flag
|
|
52
|
-
|
|
|
53
|
-
| `-v`, `--verbose`
|
|
54
|
-
| `--log <path>`
|
|
55
|
-
|
|
|
55
|
+
| Flag | Description |
|
|
56
|
+
| ------------------------------------- | ------------------------------------------------- |
|
|
57
|
+
| `-v`, `--verbose` | Enable debug logging to stderr |
|
|
58
|
+
| `--log <path>` | Write debug logs to file (implies -v) |
|
|
59
|
+
| `-c`, `--claudePath <path>` | Path to claude CLI (default: claude in PATH) |
|
|
60
|
+
| `--use <version>` | Use specific Claude Code version (e.g., 2.1.16) |
|
|
61
|
+
| `-pt:<cmd>`, `--passthrough:<cmd>` | Run commands matching prefix on host (repeatable) |
|
|
62
|
+
| `--version` | Print ccyolo version |
|
|
56
63
|
|
|
57
64
|
### Passthrough
|
|
58
65
|
|
|
59
66
|
By default, all commands run inside the container. This is usually fine, but some commands need to run on your host machine - things like `docker`, `gh`, or commands that need access to host resources.
|
|
60
67
|
|
|
61
|
-
Use
|
|
68
|
+
Use `-pt:` to specify command prefixes that should run on the host:
|
|
62
69
|
|
|
63
70
|
```bash
|
|
64
|
-
ccyolo
|
|
71
|
+
ccyolo -pt:git -pt:docker -- -p "build and push the image"
|
|
65
72
|
```
|
|
66
73
|
|
|
67
|
-
This runs `git` and `docker` commands on your host, while everything else runs in the container. You can specify
|
|
74
|
+
This runs `git` and `docker` commands on your host, while everything else runs in the container. You can specify `-pt:` multiple times.
|
|
68
75
|
|
|
69
76
|
## Clipboard & Drag-Drop
|
|
70
77
|
|