gut-cli 0.1.5 → 0.1.6

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 CHANGED
@@ -17,9 +17,8 @@ All AI commands support short aliases (without `ai-` prefix):
17
17
  | `gut ai-commit` | `gut commit` | Generate commit messages |
18
18
  | `gut ai-pr` | `gut pr` | Generate PR descriptions |
19
19
  | `gut ai-review` | `gut review` | Code review |
20
- | `gut ai-diff` | `gut diff` | Explain changes |
21
20
  | `gut ai-merge` | `gut merge` | Resolve merge conflicts |
22
- | `gut ai-explain` | `gut explain` | Explain commits, PRs, or files |
21
+ | `gut ai-explain` | `gut explain` | Explain changes, commits, PRs, or files |
23
22
  | `gut ai-find` | `gut find` | Find commits by vague description |
24
23
  | `gut changelog` | - | Generate changelogs |
25
24
 
@@ -88,24 +87,6 @@ gut review 123
88
87
  gut review --json
89
88
  ```
90
89
 
91
- ### `gut diff`
92
-
93
- Get an AI-powered explanation of your changes.
94
-
95
- ```bash
96
- # Explain all uncommitted changes
97
- gut diff
98
-
99
- # Explain staged changes only
100
- gut diff --staged
101
-
102
- # Explain specific commit
103
- gut diff --commit abc123
104
-
105
- # Output as JSON
106
- gut diff --json
107
- ```
108
-
109
90
  ### `gut merge`
110
91
 
111
92
  Merge branches with AI-powered conflict resolution.
@@ -123,17 +104,14 @@ gut merge feature/login --no-commit
123
104
 
124
105
  ### `gut explain`
125
106
 
126
- Get AI-powered explanations of commits, PRs, or file contents.
107
+ Get AI-powered explanations of changes, commits, PRs, or file contents.
127
108
 
128
109
  ```bash
129
- # Explain a file's purpose and contents (default)
130
- gut explain src/index.ts
110
+ # Explain uncommitted changes (default)
111
+ gut explain
131
112
 
132
- # Explain file's recent change history
133
- gut explain src/index.ts --history
134
-
135
- # Explain multiple recent commits for a file
136
- gut explain src/index.ts --history -n 5
113
+ # Explain staged changes only
114
+ gut explain --staged
137
115
 
138
116
  # Explain a specific commit
139
117
  gut explain abc123
@@ -143,8 +121,17 @@ gut explain HEAD
143
121
  gut explain 123
144
122
  gut explain #123
145
123
 
124
+ # Explain a file's purpose and contents
125
+ gut explain src/index.ts
126
+
127
+ # Explain file's recent change history
128
+ gut explain src/index.ts --history
129
+
130
+ # Explain multiple recent commits for a file
131
+ gut explain src/index.ts --history -n 5
132
+
146
133
  # Output as JSON
147
- gut explain src/index.ts --json
134
+ gut explain --json
148
135
  ```
149
136
 
150
137
  **Project Context Support**: Create `.gut/explain.md` to provide project-specific context for better explanations.