greptile 3.1.0 → 3.1.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to the Greptile CLI.
4
4
 
5
+ ## 3.1.1 - 2026-06-14
6
+
7
+ ### Changed
8
+
9
+ - Renamed the `greptile config` command to `greptile settings`, and saved
10
+ preferences now live in `settings.json` instead of `config.json`. An existing
11
+ `config.json` is moved to the new name automatically the first time you run
12
+ the CLI, so saved settings carry over.
13
+
5
14
  ## 3.1.0 - 2026-06-11
6
15
 
7
16
  ### Added
package/README.md CHANGED
@@ -8,7 +8,7 @@ Greptile code review in your terminal. Runs the same review Greptile posts on yo
8
8
  - [Reviewing](#reviewing)
9
9
  - [Authentication](#authentication)
10
10
  - [Sensitive files](#sensitive-files)
11
- - [Configuration](#configuration)
11
+ - [Settings](#settings)
12
12
  - [Diagrams](#diagrams)
13
13
  - [Updating](#updating)
14
14
  - [Reference](#reference)
@@ -47,7 +47,7 @@ Comments appear in the terminal as they come in.
47
47
  | `greptile login` | Sign in through your browser, or with `--api-key`. |
48
48
  | `greptile logout` | Remove stored credentials. |
49
49
  | `greptile whoami` | Show who you are signed in as and your organizations. |
50
- | `greptile config` | Save default settings (`list`, `get`, `set`, `unset`, `path`). |
50
+ | `greptile settings` | Save default settings (`list`, `get`, `set`, `unset`, `path`). |
51
51
  | `greptile update` | Update the CLI to the latest version. |
52
52
 
53
53
  Run any command with `--help` for its full flag list.
@@ -141,15 +141,15 @@ greptile review --include .env --include config/db.pem
141
141
  > - A commit that **removes** a hard-coded secret is also held back, because the removed value still appears in the diff. Use `--include` to review that cleanup commit.
142
142
  > - A **rename** away from a sensitive name (say `.env` to `config.txt`) is held back too, based on the original path.
143
143
 
144
- ## Configuration
144
+ ## Settings
145
145
 
146
146
  Save defaults instead of repeating flags:
147
147
 
148
148
  ```sh
149
- greptile config set review.layout diff # always show findings beside the code
150
- greptile config set review.context 30 # more code around each finding
151
- greptile config list # every setting and where it comes from
152
- greptile config unset review.layout # back to the default
149
+ greptile settings set review.layout diff # always show findings beside the code
150
+ greptile settings set review.context 30 # more code around each finding
151
+ greptile settings list # every setting and where it comes from
152
+ greptile settings unset review.layout # back to the default
153
153
  ```
154
154
 
155
155
  | Setting | Values | Matching flag |
@@ -162,7 +162,7 @@ greptile config unset review.layout # back to the default
162
162
 
163
163
  A flag passed on the command line always wins over a saved setting for that run.
164
164
 
165
- Settings live in `~/.config/greptile/config.json` (or `$XDG_CONFIG_HOME/greptile/config.json`); `greptile config path` prints the exact location. The file includes a `$schema` reference to a published JSON Schema, so editors can validate and autocomplete it if you edit it by hand.
165
+ Settings live in `~/.config/greptile/settings.json` (or `$XDG_CONFIG_HOME/greptile/settings.json`); `greptile settings path` prints the exact location. The file includes a `$schema` reference to a published JSON Schema, so editors can validate and autocomplete it if you edit it by hand.
166
166
 
167
167
  ## Diagrams
168
168
 
@@ -185,7 +185,7 @@ greptile login [--api-key] | logout | whoami
185
185
  greptile review [-b BRANCH] [--layout comments|diff | --diff] [--resume] [--include PATH...]
186
186
  [--json | --text | --agent] [--context LINES] [--width COLUMNS] [--no-color]
187
187
  greptile review show [ID] # same output flags as review
188
- greptile config list | get KEY | set KEY VALUE | unset KEY | path
188
+ greptile settings list | get KEY | set KEY VALUE | unset KEY | path
189
189
  greptile update
190
190
  ```
191
191
 
@@ -212,8 +212,8 @@ greptile update
212
212
 
213
213
  ### Files
214
214
 
215
- | Path | Contents |
216
- | -------------------------------- | ---------------------------------------- |
217
- | `~/.greptile/auth.json` | Credentials (refreshed automatically). |
218
- | `~/.config/greptile/config.json` | Saved settings (`greptile config path`). |
219
- | `~/.cache/greptile/` | Downloaded diagram renderer. |
215
+ | Path | Contents |
216
+ | ---------------------------------- | ------------------------------------------ |
217
+ | `~/.greptile/auth.json` | Credentials (refreshed automatically). |
218
+ | `~/.config/greptile/settings.json` | Saved settings (`greptile settings path`). |
219
+ | `~/.cache/greptile/` | Downloaded diagram renderer. |