@gw-tools/gw 0.31.3 → 0.32.1

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.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1177,6 +1177,8 @@ gw clean [options]
1177
1177
  - `--use-autoclean-threshold`: Only remove worktrees older than configured threshold (default: 7 days)
1178
1178
  - `-f, --force`: Skip safety checks (uncommitted changes, unpushed commits). WARNING: This may result in data loss
1179
1179
  - `-n, --dry-run`: Preview what would be removed without actually removing
1180
+ - `--json`: Output results as JSON and exit (implies dry-run, no prompts)
1181
+ - `-y, --yes`: Skip confirmation prompt
1180
1182
  - `-h, --help`: Show help message
1181
1183
 
1182
1184
  #### Examples
@@ -1196,6 +1198,12 @@ gw clean --use-autoclean-threshold --dry-run
1196
1198
 
1197
1199
  # Force remove all worktrees without safety checks (dangerous!)
1198
1200
  gw clean --force
1201
+
1202
+ # Get JSON output for scripting (exits without prompting)
1203
+ gw clean --json
1204
+
1205
+ # Skip confirmation prompt (auto-confirm removal)
1206
+ gw clean --yes
1199
1207
  ```
1200
1208
 
1201
1209
  #### How It Works
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gw-tools/gw",
3
- "version": "0.31.3",
3
+ "version": "0.32.1",
4
4
  "description": "A command-line tool for managing git worktrees - copy files between worktrees with ease",
5
5
  "keywords": [
6
6
  "git",