patchy-cli 0.0.17-pr.218.b1c5a4e → 0.0.17-pr.219.a1529ad
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 +51 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -313,6 +313,57 @@ patchy prime >> CLAUDE.md
|
|
|
313
313
|
|
|
314
314
|
Outputs a brief description of Patchy, key paths, and essential commands to help AI coding agents understand your project's patch workflow.
|
|
315
315
|
|
|
316
|
+
### `patchy config get <key>`
|
|
317
|
+
|
|
318
|
+
Output a single config value (raw, no label). Useful for shell scripts.
|
|
319
|
+
|
|
320
|
+
```sh
|
|
321
|
+
patchy config get target_repo_path # /home/user/project/clones/my-repo
|
|
322
|
+
patchy config get patch_set # 001-feature
|
|
323
|
+
patchy config get verbose # false
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
**Available keys:**
|
|
327
|
+
|
|
328
|
+
| Key | Description |
|
|
329
|
+
|-----|-------------|
|
|
330
|
+
| `source_repo` | Git URL or local file path |
|
|
331
|
+
| `target_repo` | Repository name or path |
|
|
332
|
+
| `clones_dir` | Directory for clones |
|
|
333
|
+
| `patches_dir` | Directory for patches |
|
|
334
|
+
| `patch_set` | Current patch set name |
|
|
335
|
+
| `base_revision` | Base SHA or tag |
|
|
336
|
+
| `upstream_branch` | Remote branch to track |
|
|
337
|
+
| `hook_prefix` | Hook script prefix |
|
|
338
|
+
| `verbose` | Verbose mode ("true"/"false") |
|
|
339
|
+
| `clones_dir_path` | Absolute path to clones directory |
|
|
340
|
+
| `target_repo_path` | Absolute path to target repository |
|
|
341
|
+
| `patches_dir_path` | Absolute path to patches directory |
|
|
342
|
+
| `patch_set_path` | Absolute path to current patch set |
|
|
343
|
+
|
|
344
|
+
- Unknown keys exit with code 1
|
|
345
|
+
- Unset raw keys exit with code 1
|
|
346
|
+
- Unset computed keys (e.g., `patch_set_path` when `patch_set` is not set) output an empty line
|
|
347
|
+
|
|
348
|
+
### `patchy config list`
|
|
349
|
+
|
|
350
|
+
Output all config values as aligned key-value pairs.
|
|
351
|
+
|
|
352
|
+
```sh
|
|
353
|
+
patchy config list
|
|
354
|
+
# source_repo https://github.com/example/repo.git
|
|
355
|
+
# target_repo my-repo
|
|
356
|
+
# clones_dir ./clones
|
|
357
|
+
# patches_dir ./patches
|
|
358
|
+
# patch_set 001-feature
|
|
359
|
+
# verbose false
|
|
360
|
+
# clones_dir_path /home/user/project/clones
|
|
361
|
+
# target_repo_path /home/user/project/clones/my-repo
|
|
362
|
+
# ...
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
Only defined values are shown. Computed path values are resolved to absolute paths.
|
|
366
|
+
|
|
316
367
|
## License
|
|
317
368
|
|
|
318
369
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "patchy-cli",
|
|
3
|
-
"version": "0.0.17-pr.
|
|
3
|
+
"version": "0.0.17-pr.219.a1529ad",
|
|
4
4
|
"description": "A CLI tool for managing Git patch workflows.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
"url": "https://github.com/richardgill/patchy"
|
|
65
65
|
},
|
|
66
66
|
"optionalDependencies": {
|
|
67
|
-
"patchy-cli-linux-x64": "0.0.17-pr.
|
|
68
|
-
"patchy-cli-linux-arm64": "0.0.17-pr.
|
|
69
|
-
"patchy-cli-darwin-x64": "0.0.17-pr.
|
|
70
|
-
"patchy-cli-darwin-arm64": "0.0.17-pr.
|
|
71
|
-
"patchy-cli-windows-x64": "0.0.17-pr.
|
|
67
|
+
"patchy-cli-linux-x64": "0.0.17-pr.219.a1529ad",
|
|
68
|
+
"patchy-cli-linux-arm64": "0.0.17-pr.219.a1529ad",
|
|
69
|
+
"patchy-cli-darwin-x64": "0.0.17-pr.219.a1529ad",
|
|
70
|
+
"patchy-cli-darwin-arm64": "0.0.17-pr.219.a1529ad",
|
|
71
|
+
"patchy-cli-windows-x64": "0.0.17-pr.219.a1529ad"
|
|
72
72
|
},
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|