repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

jj: new completions for nu

b33fb4cb93f11c698686f546ff9caeb0dab26afa

Oliver Krylow <o.krylow@isp-insoft.de> ·

unsigned

Browse filesCompare with HEAD

Changed files (1)

nushell/completions/jj-completions.nu

Modified
1 1 module completions {
3 - def "nu-complete jj color" [] {
4 - [ "always" "never" "debug" "auto" ]
5 - }
7 3 # Jujutsu (An experimental VCS)
8 4 export extern jj [
9 - --repository(-R): path # Path to repository to operate on
5 + --repository(-R): string # Path to repository to operate on
10 6 --ignore-working-copy # Don't snapshot the working copy, and don't update it
11 7 --ignore-immutable # Allow rewriting immutable commits
12 8 --at-operation: string # Operation to load the repo at
13 9 --at-op: string # Operation to load the repo at
14 10 --debug # Enable debug logging
15 - --color: string@"nu-complete jj color" # When to colorize output
11 + --color: string # When to colorize output (always, never, debug, auto)
16 12 --quiet # Silence non-primary command output
17 13 --no-pager # Disable the pager
18 - --config: string # Additional configuration options (can be repeated)
19 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
20 - --config-file: path # Additional configuration files (can be repeated)
14 + --config-toml: string # Additional configuration options (can be repeated)
21 15 --help(-h) # Print help (see more with '--help')
22 16 --version(-V) # Print version
25 - def "nu-complete jj abandon color" [] {
26 - [ "always" "never" "debug" "auto" ]
27 - }
29 19 # Abandon a revision
30 20 export extern "jj abandon" [
31 - ...revisions_pos: string # The revision(s) to abandon (default: @)
32 - -r: string
21 + ...revisions: string # The revision(s) to abandon
33 22 --summary(-s) # Do not print every abandoned commit on a separate line
34 - --retain-bookmarks # Do not delete bookmarks pointing to the revisions to abandon
23 + -r # Ignored (but lets you pass `-r` for consistency with other commands)
35 24 --restore-descendants # Do not modify the content of the children of the abandoned commits
36 - --repository(-R): path # Path to repository to operate on
25 + --repository(-R): string # Path to repository to operate on
37 26 --ignore-working-copy # Don't snapshot the working copy, and don't update it
38 27 --ignore-immutable # Allow rewriting immutable commits
39 28 --at-operation: string # Operation to load the repo at
40 29 --at-op: string # Operation to load the repo at
41 30 --debug # Enable debug logging
42 - --color: string@"nu-complete jj abandon color" # When to colorize output
31 + --color: string # When to colorize output (always, never, debug, auto)
43 32 --quiet # Silence non-primary command output
44 33 --no-pager # Disable the pager
45 - --config: string # Additional configuration options (can be repeated)
46 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
47 - --config-file: path # Additional configuration files (can be repeated)
34 + --config-toml: string # Additional configuration options (can be repeated)
48 35 --help(-h) # Print help (see more with '--help')
51 - def "nu-complete jj absorb color" [] {
52 - [ "always" "never" "debug" "auto" ]
53 - }
55 38 # Move changes from a revision into the stack of mutable revisions
56 39 export extern "jj absorb" [
57 40 --from(-f): string # Source revision to absorb from
58 41 --into(-t): string # Destination revisions to absorb into
59 42 --to: string # Destination revisions to absorb into
60 - ...paths: path # Move only changes to these paths (instead of all paths)
61 - --repository(-R): path # Path to repository to operate on
43 + ...paths: string # Move only changes to these paths (instead of all paths)
44 + --repository(-R): string # Path to repository to operate on
62 45 --ignore-working-copy # Don't snapshot the working copy, and don't update it
63 46 --ignore-immutable # Allow rewriting immutable commits
64 47 --at-operation: string # Operation to load the repo at
65 48 --at-op: string # Operation to load the repo at
66 49 --debug # Enable debug logging
67 - --color: string@"nu-complete jj absorb color" # When to colorize output
50 + --color: string # When to colorize output (always, never, debug, auto)
68 51 --quiet # Silence non-primary command output
69 52 --no-pager # Disable the pager
70 - --config: string # Additional configuration options (can be repeated)
71 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
72 - --config-file: path # Additional configuration files (can be repeated)
53 + --config-toml: string # Additional configuration options (can be repeated)
73 54 --help(-h) # Print help (see more with '--help')
76 - def "nu-complete jj backout color" [] {
77 - [ "always" "never" "debug" "auto" ]
78 - }
80 57 # Apply the reverse of a revision on top of another revision
81 58 export extern "jj backout" [
82 59 --revisions(-r): string # The revision(s) to apply the reverse of
83 60 --destination(-d): string # The revision to apply the reverse changes on top of
84 - --repository(-R): path # Path to repository to operate on
61 + --repository(-R): string # Path to repository to operate on
85 62 --ignore-working-copy # Don't snapshot the working copy, and don't update it
86 63 --ignore-immutable # Allow rewriting immutable commits
87 64 --at-operation: string # Operation to load the repo at
88 65 --at-op: string # Operation to load the repo at
89 66 --debug # Enable debug logging
90 - --color: string@"nu-complete jj backout color" # When to colorize output
67 + --color: string # When to colorize output (always, never, debug, auto)
91 68 --quiet # Silence non-primary command output
92 69 --no-pager # Disable the pager
93 - --config: string # Additional configuration options (can be repeated)
94 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
95 - --config-file: path # Additional configuration files (can be repeated)
70 + --config-toml: string # Additional configuration options (can be repeated)
96 71 --help(-h) # Print help (see more with '--help')
99 - def "nu-complete jj bookmark color" [] {
100 - [ "always" "never" "debug" "auto" ]
103 74 # Manage bookmarks [default alias: b]
104 75 export extern "jj bookmark" [
105 - --repository(-R): path # Path to repository to operate on
76 + --repository(-R): string # Path to repository to operate on
106 77 --ignore-working-copy # Don't snapshot the working copy, and don't update it
107 78 --ignore-immutable # Allow rewriting immutable commits
108 79 --at-operation: string # Operation to load the repo at
109 80 --at-op: string # Operation to load the repo at
110 81 --debug # Enable debug logging
111 - --color: string@"nu-complete jj bookmark color" # When to colorize output
82 + --color: string # When to colorize output (always, never, debug, auto)
112 83 --quiet # Silence non-primary command output
113 84 --no-pager # Disable the pager
114 - --config: string # Additional configuration options (can be repeated)
115 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
116 - --config-file: path # Additional configuration files (can be repeated)
85 + --config-toml: string # Additional configuration options (can be repeated)
117 86 --help(-h) # Print help (see more with '--help')
120 - def "nu-complete jj bookmark create color" [] {
121 - [ "always" "never" "debug" "auto" ]
124 89 # Create a new bookmark
125 90 export extern "jj bookmark create" [
126 91 --revision(-r): string # The bookmark's target revision
127 92 --to: string # The bookmark's target revision
128 93 ...names: string # The bookmarks to create
129 - --repository(-R): path # Path to repository to operate on
94 + --repository(-R): string # Path to repository to operate on
130 95 --ignore-working-copy # Don't snapshot the working copy, and don't update it
131 96 --ignore-immutable # Allow rewriting immutable commits
132 97 --at-operation: string # Operation to load the repo at
133 98 --at-op: string # Operation to load the repo at
134 99 --debug # Enable debug logging
135 - --color: string@"nu-complete jj bookmark create color" # When to colorize output
100 + --color: string # When to colorize output (always, never, debug, auto)
136 101 --quiet # Silence non-primary command output
137 102 --no-pager # Disable the pager
138 - --config: string # Additional configuration options (can be repeated)
139 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
140 - --config-file: path # Additional configuration files (can be repeated)
103 + --config-toml: string # Additional configuration options (can be repeated)
141 104 --help(-h) # Print help (see more with '--help')
144 - def "nu-complete jj bookmark delete color" [] {
145 - [ "always" "never" "debug" "auto" ]
148 107 # Delete an existing bookmark and propagate the deletion to remotes on the next push
149 108 export extern "jj bookmark delete" [
150 109 ...names: string # The bookmarks to delete
151 - --repository(-R): path # Path to repository to operate on
110 + --repository(-R): string # Path to repository to operate on
152 111 --ignore-working-copy # Don't snapshot the working copy, and don't update it
153 112 --ignore-immutable # Allow rewriting immutable commits
154 113 --at-operation: string # Operation to load the repo at
155 114 --at-op: string # Operation to load the repo at
156 115 --debug # Enable debug logging
157 - --color: string@"nu-complete jj bookmark delete color" # When to colorize output
116 + --color: string # When to colorize output (always, never, debug, auto)
158 117 --quiet # Silence non-primary command output
159 118 --no-pager # Disable the pager
160 - --config: string # Additional configuration options (can be repeated)
161 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
162 - --config-file: path # Additional configuration files (can be repeated)
119 + --config-toml: string # Additional configuration options (can be repeated)
163 120 --help(-h) # Print help (see more with '--help')
166 - def "nu-complete jj bookmark forget color" [] {
167 - [ "always" "never" "debug" "auto" ]
170 123 # Forget everything about a bookmark, including its local and remote targets
171 124 export extern "jj bookmark forget" [
172 125 ...names: string # The bookmarks to forget
173 - --repository(-R): path # Path to repository to operate on
126 + --repository(-R): string # Path to repository to operate on
174 127 --ignore-working-copy # Don't snapshot the working copy, and don't update it
175 128 --ignore-immutable # Allow rewriting immutable commits
176 129 --at-operation: string # Operation to load the repo at
177 130 --at-op: string # Operation to load the repo at
178 131 --debug # Enable debug logging
179 - --color: string@"nu-complete jj bookmark forget color" # When to colorize output
132 + --color: string # When to colorize output (always, never, debug, auto)
180 133 --quiet # Silence non-primary command output
181 134 --no-pager # Disable the pager
182 - --config: string # Additional configuration options (can be repeated)
183 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
184 - --config-file: path # Additional configuration files (can be repeated)
135 + --config-toml: string # Additional configuration options (can be repeated)
185 136 --help(-h) # Print help (see more with '--help')
188 - def "nu-complete jj bookmark list color" [] {
189 - [ "always" "never" "debug" "auto" ]
192 139 # List bookmarks and their targets
193 140 export extern "jj bookmark list" [
194 141 --all-remotes(-a) # Show all tracking and non-tracking remote bookmarks including the ones whose targets are synchronized with the local bookmarks
198 145 ...names: string # Show bookmarks whose local name matches
199 146 --revisions(-r): string # Show bookmarks whose local targets are in the given revisions
200 147 --template(-T): string # Render each bookmark using the given template
201 - --repository(-R): path # Path to repository to operate on
148 + --repository(-R): string # Path to repository to operate on
202 149 --ignore-working-copy # Don't snapshot the working copy, and don't update it
203 150 --ignore-immutable # Allow rewriting immutable commits
204 151 --at-operation: string # Operation to load the repo at
205 152 --at-op: string # Operation to load the repo at
206 153 --debug # Enable debug logging
207 - --color: string@"nu-complete jj bookmark list color" # When to colorize output
154 + --color: string # When to colorize output (always, never, debug, auto)
208 155 --quiet # Silence non-primary command output
209 156 --no-pager # Disable the pager
210 - --config: string # Additional configuration options (can be repeated)
211 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
212 - --config-file: path # Additional configuration files (can be repeated)
157 + --config-toml: string # Additional configuration options (can be repeated)
213 158 --help(-h) # Print help (see more with '--help')
216 - def "nu-complete jj bookmark move color" [] {
217 - [ "always" "never" "debug" "auto" ]
220 161 # Move existing bookmarks to target revision
221 162 export extern "jj bookmark move" [
222 163 --from: string # Move bookmarks from the given revisions
223 164 --to: string # Move bookmarks to this revision
224 165 --allow-backwards(-B) # Allow moving bookmarks backwards or sideways
225 166 ...names: string # Move bookmarks matching the given name patterns
226 - --repository(-R): path # Path to repository to operate on
167 + --repository(-R): string # Path to repository to operate on
227 168 --ignore-working-copy # Don't snapshot the working copy, and don't update it
228 169 --ignore-immutable # Allow rewriting immutable commits
229 170 --at-operation: string # Operation to load the repo at
230 171 --at-op: string # Operation to load the repo at
231 172 --debug # Enable debug logging
232 - --color: string@"nu-complete jj bookmark move color" # When to colorize output
173 + --color: string # When to colorize output (always, never, debug, auto)
233 174 --quiet # Silence non-primary command output
234 175 --no-pager # Disable the pager
235 - --config: string # Additional configuration options (can be repeated)
236 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
237 - --config-file: path # Additional configuration files (can be repeated)
176 + --config-toml: string # Additional configuration options (can be repeated)
238 177 --help(-h) # Print help (see more with '--help')
241 - def "nu-complete jj bookmark rename color" [] {
242 - [ "always" "never" "debug" "auto" ]
245 180 # Rename `old` bookmark name to `new` bookmark name
246 181 export extern "jj bookmark rename" [
247 182 old: string # The old name of the bookmark
248 183 new: string # The new name of the bookmark
249 - --repository(-R): path # Path to repository to operate on
184 + --repository(-R): string # Path to repository to operate on
250 185 --ignore-working-copy # Don't snapshot the working copy, and don't update it
251 186 --ignore-immutable # Allow rewriting immutable commits
252 187 --at-operation: string # Operation to load the repo at
253 188 --at-op: string # Operation to load the repo at
254 189 --debug # Enable debug logging
255 - --color: string@"nu-complete jj bookmark rename color" # When to colorize output
190 + --color: string # When to colorize output (always, never, debug, auto)
256 191 --quiet # Silence non-primary command output
257 192 --no-pager # Disable the pager
258 - --config: string # Additional configuration options (can be repeated)
259 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
260 - --config-file: path # Additional configuration files (can be repeated)
193 + --config-toml: string # Additional configuration options (can be repeated)
261 194 --help(-h) # Print help (see more with '--help')
264 - def "nu-complete jj bookmark set color" [] {
265 - [ "always" "never" "debug" "auto" ]
268 197 # Create or update a bookmark to point to a certain commit
269 198 export extern "jj bookmark set" [
270 199 --revision(-r): string # The bookmark's target revision
271 200 --to: string # The bookmark's target revision
272 201 --allow-backwards(-B) # Allow moving the bookmark backwards or sideways
273 202 ...names: string # The bookmarks to update
274 - --repository(-R): path # Path to repository to operate on
203 + --repository(-R): string # Path to repository to operate on
275 204 --ignore-working-copy # Don't snapshot the working copy, and don't update it
276 205 --ignore-immutable # Allow rewriting immutable commits
277 206 --at-operation: string # Operation to load the repo at
278 207 --at-op: string # Operation to load the repo at
279 208 --debug # Enable debug logging
280 - --color: string@"nu-complete jj bookmark set color" # When to colorize output
209 + --color: string # When to colorize output (always, never, debug, auto)
281 210 --quiet # Silence non-primary command output
282 211 --no-pager # Disable the pager
283 - --config: string # Additional configuration options (can be repeated)
284 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
285 - --config-file: path # Additional configuration files (can be repeated)
212 + --config-toml: string # Additional configuration options (can be repeated)
286 213 --help(-h) # Print help (see more with '--help')
289 - def "nu-complete jj bookmark track color" [] {
290 - [ "always" "never" "debug" "auto" ]
293 216 # Start tracking given remote bookmarks
294 217 export extern "jj bookmark track" [
295 218 ...names: string # Remote bookmarks to track
296 - --repository(-R): path # Path to repository to operate on
219 + --repository(-R): string # Path to repository to operate on
297 220 --ignore-working-copy # Don't snapshot the working copy, and don't update it
298 221 --ignore-immutable # Allow rewriting immutable commits
299 222 --at-operation: string # Operation to load the repo at
300 223 --at-op: string # Operation to load the repo at
301 224 --debug # Enable debug logging
302 - --color: string@"nu-complete jj bookmark track color" # When to colorize output
225 + --color: string # When to colorize output (always, never, debug, auto)
303 226 --quiet # Silence non-primary command output
304 227 --no-pager # Disable the pager
305 - --config: string # Additional configuration options (can be repeated)
306 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
307 - --config-file: path # Additional configuration files (can be repeated)
228 + --config-toml: string # Additional configuration options (can be repeated)
308 229 --help(-h) # Print help (see more with '--help')
311 - def "nu-complete jj bookmark untrack color" [] {
312 - [ "always" "never" "debug" "auto" ]
315 232 # Stop tracking given remote bookmarks
316 233 export extern "jj bookmark untrack" [
317 234 ...names: string # Remote bookmarks to untrack
318 - --repository(-R): path # Path to repository to operate on
235 + --repository(-R): string # Path to repository to operate on
319 236 --ignore-working-copy # Don't snapshot the working copy, and don't update it
320 237 --ignore-immutable # Allow rewriting immutable commits
321 238 --at-operation: string # Operation to load the repo at
322 239 --at-op: string # Operation to load the repo at
323 240 --debug # Enable debug logging
324 - --color: string@"nu-complete jj bookmark untrack color" # When to colorize output
241 + --color: string # When to colorize output (always, never, debug, auto)
325 242 --quiet # Silence non-primary command output
326 243 --no-pager # Disable the pager
327 - --config: string # Additional configuration options (can be repeated)
328 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
329 - --config-file: path # Additional configuration files (can be repeated)
244 + --config-toml: string # Additional configuration options (can be repeated)
330 245 --help(-h) # Print help (see more with '--help')
333 - def "nu-complete jj branch color" [] {
334 - [ "always" "never" "debug" "auto" ]
337 248 # Manage bookmarks [default alias: b]
338 249 export extern "jj branch" [
339 - --repository(-R): path # Path to repository to operate on
250 + --repository(-R): string # Path to repository to operate on
340 251 --ignore-working-copy # Don't snapshot the working copy, and don't update it
341 252 --ignore-immutable # Allow rewriting immutable commits
342 253 --at-operation: string # Operation to load the repo at
343 254 --at-op: string # Operation to load the repo at
344 255 --debug # Enable debug logging
345 - --color: string@"nu-complete jj branch color" # When to colorize output
256 + --color: string # When to colorize output (always, never, debug, auto)
346 257 --quiet # Silence non-primary command output
347 258 --no-pager # Disable the pager
348 - --config: string # Additional configuration options (can be repeated)
349 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
350 - --config-file: path # Additional configuration files (can be repeated)
259 + --config-toml: string # Additional configuration options (can be repeated)
351 260 --help(-h) # Print help (see more with '--help')
354 - def "nu-complete jj branch create color" [] {
355 - [ "always" "never" "debug" "auto" ]
358 263 # Create a new bookmark
359 264 export extern "jj branch create" [
360 265 --revision(-r): string # The bookmark's target revision
361 266 --to: string # The bookmark's target revision
362 267 ...names: string # The bookmarks to create
363 - --repository(-R): path # Path to repository to operate on
268 + --repository(-R): string # Path to repository to operate on
364 269 --ignore-working-copy # Don't snapshot the working copy, and don't update it
365 270 --ignore-immutable # Allow rewriting immutable commits
366 271 --at-operation: string # Operation to load the repo at
367 272 --at-op: string # Operation to load the repo at
368 273 --debug # Enable debug logging
369 - --color: string@"nu-complete jj branch create color" # When to colorize output
274 + --color: string # When to colorize output (always, never, debug, auto)
370 275 --quiet # Silence non-primary command output
371 276 --no-pager # Disable the pager
372 - --config: string # Additional configuration options (can be repeated)
373 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
374 - --config-file: path # Additional configuration files (can be repeated)
277 + --config-toml: string # Additional configuration options (can be repeated)
375 278 --help(-h) # Print help (see more with '--help')
378 - def "nu-complete jj branch delete color" [] {
379 - [ "always" "never" "debug" "auto" ]
382 281 # Delete an existing bookmark and propagate the deletion to remotes on the next push
383 282 export extern "jj branch delete" [
384 283 ...names: string # The bookmarks to delete
385 - --repository(-R): path # Path to repository to operate on
284 + --repository(-R): string # Path to repository to operate on
386 285 --ignore-working-copy # Don't snapshot the working copy, and don't update it
387 286 --ignore-immutable # Allow rewriting immutable commits
388 287 --at-operation: string # Operation to load the repo at
389 288 --at-op: string # Operation to load the repo at
390 289 --debug # Enable debug logging
391 - --color: string@"nu-complete jj branch delete color" # When to colorize output
290 + --color: string # When to colorize output (always, never, debug, auto)
392 291 --quiet # Silence non-primary command output
393 292 --no-pager # Disable the pager
394 - --config: string # Additional configuration options (can be repeated)
395 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
396 - --config-file: path # Additional configuration files (can be repeated)
293 + --config-toml: string # Additional configuration options (can be repeated)
397 294 --help(-h) # Print help (see more with '--help')
400 - def "nu-complete jj branch forget color" [] {
401 - [ "always" "never" "debug" "auto" ]
404 297 # Forget everything about a bookmark, including its local and remote targets
405 298 export extern "jj branch forget" [
406 299 ...names: string # The bookmarks to forget
407 - --repository(-R): path # Path to repository to operate on
300 + --repository(-R): string # Path to repository to operate on
408 301 --ignore-working-copy # Don't snapshot the working copy, and don't update it
409 302 --ignore-immutable # Allow rewriting immutable commits
410 303 --at-operation: string # Operation to load the repo at
411 304 --at-op: string # Operation to load the repo at
412 305 --debug # Enable debug logging
413 - --color: string@"nu-complete jj branch forget color" # When to colorize output
306 + --color: string # When to colorize output (always, never, debug, auto)
414 307 --quiet # Silence non-primary command output
415 308 --no-pager # Disable the pager
416 - --config: string # Additional configuration options (can be repeated)
417 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
418 - --config-file: path # Additional configuration files (can be repeated)
309 + --config-toml: string # Additional configuration options (can be repeated)
419 310 --help(-h) # Print help (see more with '--help')
422 - def "nu-complete jj branch list color" [] {
423 - [ "always" "never" "debug" "auto" ]
426 313 # List bookmarks and their targets
427 314 export extern "jj branch list" [
428 315 --all-remotes(-a) # Show all tracking and non-tracking remote bookmarks including the ones whose targets are synchronized with the local bookmarks
432 319 ...names: string # Show bookmarks whose local name matches
433 320 --revisions(-r): string # Show bookmarks whose local targets are in the given revisions
434 321 --template(-T): string # Render each bookmark using the given template
435 - --repository(-R): path # Path to repository to operate on
322 + --repository(-R): string # Path to repository to operate on
436 323 --ignore-working-copy # Don't snapshot the working copy, and don't update it
437 324 --ignore-immutable # Allow rewriting immutable commits
438 325 --at-operation: string # Operation to load the repo at
439 326 --at-op: string # Operation to load the repo at
440 327 --debug # Enable debug logging
441 - --color: string@"nu-complete jj branch list color" # When to colorize output
328 + --color: string # When to colorize output (always, never, debug, auto)
442 329 --quiet # Silence non-primary command output
443 330 --no-pager # Disable the pager
444 - --config: string # Additional configuration options (can be repeated)
445 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
446 - --config-file: path # Additional configuration files (can be repeated)
331 + --config-toml: string # Additional configuration options (can be repeated)
447 332 --help(-h) # Print help (see more with '--help')
450 - def "nu-complete jj branch move color" [] {
451 - [ "always" "never" "debug" "auto" ]
454 335 # Move existing bookmarks to target revision
455 336 export extern "jj branch move" [
456 337 --from: string # Move bookmarks from the given revisions
457 338 --to: string # Move bookmarks to this revision
458 339 --allow-backwards(-B) # Allow moving bookmarks backwards or sideways
459 340 ...names: string # Move bookmarks matching the given name patterns
460 - --repository(-R): path # Path to repository to operate on
341 + --repository(-R): string # Path to repository to operate on
461 342 --ignore-working-copy # Don't snapshot the working copy, and don't update it
462 343 --ignore-immutable # Allow rewriting immutable commits
463 344 --at-operation: string # Operation to load the repo at
464 345 --at-op: string # Operation to load the repo at
465 346 --debug # Enable debug logging
466 - --color: string@"nu-complete jj branch move color" # When to colorize output
347 + --color: string # When to colorize output (always, never, debug, auto)
467 348 --quiet # Silence non-primary command output
468 349 --no-pager # Disable the pager
469 - --config: string # Additional configuration options (can be repeated)
470 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
471 - --config-file: path # Additional configuration files (can be repeated)
350 + --config-toml: string # Additional configuration options (can be repeated)
472 351 --help(-h) # Print help (see more with '--help')
475 - def "nu-complete jj branch rename color" [] {
476 - [ "always" "never" "debug" "auto" ]
479 354 # Rename `old` bookmark name to `new` bookmark name
480 355 export extern "jj branch rename" [
481 356 old: string # The old name of the bookmark
482 357 new: string # The new name of the bookmark
483 - --repository(-R): path # Path to repository to operate on
358 + --repository(-R): string # Path to repository to operate on
484 359 --ignore-working-copy # Don't snapshot the working copy, and don't update it
485 360 --ignore-immutable # Allow rewriting immutable commits
486 361 --at-operation: string # Operation to load the repo at
487 362 --at-op: string # Operation to load the repo at
488 363 --debug # Enable debug logging
489 - --color: string@"nu-complete jj branch rename color" # When to colorize output
364 + --color: string # When to colorize output (always, never, debug, auto)
490 365 --quiet # Silence non-primary command output
491 366 --no-pager # Disable the pager
492 - --config: string # Additional configuration options (can be repeated)
493 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
494 - --config-file: path # Additional configuration files (can be repeated)
367 + --config-toml: string # Additional configuration options (can be repeated)
495 368 --help(-h) # Print help (see more with '--help')
498 - def "nu-complete jj branch set color" [] {
499 - [ "always" "never" "debug" "auto" ]
502 371 # Create or update a bookmark to point to a certain commit
503 372 export extern "jj branch set" [
504 373 --revision(-r): string # The bookmark's target revision
505 374 --to: string # The bookmark's target revision
506 375 --allow-backwards(-B) # Allow moving the bookmark backwards or sideways
507 376 ...names: string # The bookmarks to update
508 - --repository(-R): path # Path to repository to operate on
377 + --repository(-R): string # Path to repository to operate on
509 378 --ignore-working-copy # Don't snapshot the working copy, and don't update it
510 379 --ignore-immutable # Allow rewriting immutable commits
511 380 --at-operation: string # Operation to load the repo at
512 381 --at-op: string # Operation to load the repo at
513 382 --debug # Enable debug logging
514 - --color: string@"nu-complete jj branch set color" # When to colorize output
383 + --color: string # When to colorize output (always, never, debug, auto)
515 384 --quiet # Silence non-primary command output
516 385 --no-pager # Disable the pager
517 - --config: string # Additional configuration options (can be repeated)
518 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
519 - --config-file: path # Additional configuration files (can be repeated)
386 + --config-toml: string # Additional configuration options (can be repeated)
520 387 --help(-h) # Print help (see more with '--help')
523 - def "nu-complete jj branch track color" [] {
524 - [ "always" "never" "debug" "auto" ]
527 390 # Start tracking given remote bookmarks
528 391 export extern "jj branch track" [
529 392 ...names: string # Remote bookmarks to track
530 - --repository(-R): path # Path to repository to operate on
393 + --repository(-R): string # Path to repository to operate on
531 394 --ignore-working-copy # Don't snapshot the working copy, and don't update it
532 395 --ignore-immutable # Allow rewriting immutable commits
533 396 --at-operation: string # Operation to load the repo at
534 397 --at-op: string # Operation to load the repo at
535 398 --debug # Enable debug logging
536 - --color: string@"nu-complete jj branch track color" # When to colorize output
399 + --color: string # When to colorize output (always, never, debug, auto)
537 400 --quiet # Silence non-primary command output
538 401 --no-pager # Disable the pager
539 - --config: string # Additional configuration options (can be repeated)
540 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
541 - --config-file: path # Additional configuration files (can be repeated)
402 + --config-toml: string # Additional configuration options (can be repeated)
542 403 --help(-h) # Print help (see more with '--help')
545 - def "nu-complete jj branch untrack color" [] {
546 - [ "always" "never" "debug" "auto" ]
549 406 # Stop tracking given remote bookmarks
550 407 export extern "jj branch untrack" [
551 408 ...names: string # Remote bookmarks to untrack
552 - --repository(-R): path # Path to repository to operate on
409 + --repository(-R): string # Path to repository to operate on
553 410 --ignore-working-copy # Don't snapshot the working copy, and don't update it
554 411 --ignore-immutable # Allow rewriting immutable commits
555 412 --at-operation: string # Operation to load the repo at
556 413 --at-op: string # Operation to load the repo at
557 414 --debug # Enable debug logging
558 - --color: string@"nu-complete jj branch untrack color" # When to colorize output
415 + --color: string # When to colorize output (always, never, debug, auto)
559 416 --quiet # Silence non-primary command output
560 417 --no-pager # Disable the pager
561 - --config: string # Additional configuration options (can be repeated)
562 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
563 - --config-file: path # Additional configuration files (can be repeated)
418 + --config-toml: string # Additional configuration options (can be repeated)
564 419 --help(-h) # Print help (see more with '--help')
567 - def "nu-complete jj commit color" [] {
568 - [ "always" "never" "debug" "auto" ]
422 + # Print contents of files in a revision
423 + export extern "jj cat" [
424 + --revision(-r): string # The revision to get the file contents from
425 + ...paths: string # Paths to print
426 + --repository(-R): string # Path to repository to operate on
427 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
428 + --ignore-immutable # Allow rewriting immutable commits
429 + --at-operation: string # Operation to load the repo at
430 + --at-op: string # Operation to load the repo at
431 + --debug # Enable debug logging
432 + --color: string # When to colorize output (always, never, debug, auto)
433 + --quiet # Silence non-primary command output
434 + --no-pager # Disable the pager
435 + --config-toml: string # Additional configuration options (can be repeated)
436 + --help(-h) # Print help (see more with '--help')
439 + def "nu-complete jj chmod mode" [] {
440 + [ "n" "x" ]
443 + # Sets or removes the executable bit for paths in the repo
444 + export extern "jj chmod" [
445 + mode: string@"nu-complete jj chmod mode"
446 + --revision(-r): string # The revision to update
447 + ...paths: string # Paths to change the executable bit for
448 + --repository(-R): string # Path to repository to operate on
449 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
450 + --ignore-immutable # Allow rewriting immutable commits
451 + --at-operation: string # Operation to load the repo at
452 + --at-op: string # Operation to load the repo at
453 + --debug # Enable debug logging
454 + --color: string # When to colorize output (always, never, debug, auto)
455 + --quiet # Silence non-primary command output
456 + --no-pager # Disable the pager
457 + --config-toml: string # Additional configuration options (can be repeated)
458 + --help(-h) # Print help (see more with '--help')
571 461 # Update the description and create a new change on top
572 462 export extern "jj commit" [
573 463 --interactive(-i) # Interactively choose which changes to include in the first commit
574 464 --tool: string # Specify diff editor to be used (implies --interactive)
575 465 --message(-m): string # The change description to use (don't open editor)
576 - ...paths: path # Put these paths in the first commit
466 + ...paths: string # Put these paths in the first commit
577 467 --reset-author # Reset the author to the configured user
578 468 --author: string # Set author to the provided string
579 - --repository(-R): path # Path to repository to operate on
469 + --repository(-R): string # Path to repository to operate on
580 470 --ignore-working-copy # Don't snapshot the working copy, and don't update it
581 471 --ignore-immutable # Allow rewriting immutable commits
582 472 --at-operation: string # Operation to load the repo at
583 473 --at-op: string # Operation to load the repo at
584 474 --debug # Enable debug logging
585 - --color: string@"nu-complete jj commit color" # When to colorize output
475 + --color: string # When to colorize output (always, never, debug, auto)
586 476 --quiet # Silence non-primary command output
587 477 --no-pager # Disable the pager
588 - --config: string # Additional configuration options (can be repeated)
589 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
590 - --config-file: path # Additional configuration files (can be repeated)
478 + --config-toml: string # Additional configuration options (can be repeated)
591 479 --help(-h) # Print help (see more with '--help')
594 - def "nu-complete jj config color" [] {
595 - [ "always" "never" "debug" "auto" ]
598 482 # Manage config options
599 483 export extern "jj config" [
600 - --repository(-R): path # Path to repository to operate on
484 + --repository(-R): string # Path to repository to operate on
601 485 --ignore-working-copy # Don't snapshot the working copy, and don't update it
602 486 --ignore-immutable # Allow rewriting immutable commits
603 487 --at-operation: string # Operation to load the repo at
604 488 --at-op: string # Operation to load the repo at
605 489 --debug # Enable debug logging
606 - --color: string@"nu-complete jj config color" # When to colorize output
490 + --color: string # When to colorize output (always, never, debug, auto)
607 491 --quiet # Silence non-primary command output
608 492 --no-pager # Disable the pager
609 - --config: string # Additional configuration options (can be repeated)
610 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
611 - --config-file: path # Additional configuration files (can be repeated)
493 + --config-toml: string # Additional configuration options (can be repeated)
612 494 --help(-h) # Print help (see more with '--help')
615 - def "nu-complete jj config edit color" [] {
616 - [ "always" "never" "debug" "auto" ]
619 497 # Start an editor on a jj config file
620 498 export extern "jj config edit" [
621 499 --user # Target the user-level config
622 500 --repo # Target the repo-level config
623 - --repository(-R): path # Path to repository to operate on
501 + --repository(-R): string # Path to repository to operate on
624 502 --ignore-working-copy # Don't snapshot the working copy, and don't update it
625 503 --ignore-immutable # Allow rewriting immutable commits
626 504 --at-operation: string # Operation to load the repo at
627 505 --at-op: string # Operation to load the repo at
628 506 --debug # Enable debug logging
629 - --color: string@"nu-complete jj config edit color" # When to colorize output
507 + --color: string # When to colorize output (always, never, debug, auto)
630 508 --quiet # Silence non-primary command output
631 509 --no-pager # Disable the pager
632 - --config: string # Additional configuration options (can be repeated)
633 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
634 - --config-file: path # Additional configuration files (can be repeated)
510 + --config-toml: string # Additional configuration options (can be repeated)
635 511 --help(-h) # Print help (see more with '--help')
638 - def "nu-complete jj config get color" [] {
639 - [ "always" "never" "debug" "auto" ]
642 514 # Get the value of a given config option.
643 515 export extern "jj config get" [
644 516 name: string
645 - --repository(-R): path # Path to repository to operate on
517 + --repository(-R): string # Path to repository to operate on
646 518 --ignore-working-copy # Don't snapshot the working copy, and don't update it
647 519 --ignore-immutable # Allow rewriting immutable commits
648 520 --at-operation: string # Operation to load the repo at
649 521 --at-op: string # Operation to load the repo at
650 522 --debug # Enable debug logging
651 - --color: string@"nu-complete jj config get color" # When to colorize output
523 + --color: string # When to colorize output (always, never, debug, auto)
652 524 --quiet # Silence non-primary command output
653 525 --no-pager # Disable the pager
654 - --config: string # Additional configuration options (can be repeated)
655 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
656 - --config-file: path # Additional configuration files (can be repeated)
526 + --config-toml: string # Additional configuration options (can be repeated)
657 527 --help(-h) # Print help (see more with '--help')
660 - def "nu-complete jj config list color" [] {
661 - [ "always" "never" "debug" "auto" ]
664 530 # List variables set in config file, along with their values
665 531 export extern "jj config list" [
666 532 name?: string # An optional name of a specific config option to look up
669 535 --user # Target the user-level config
670 536 --repo # Target the repo-level config
671 537 --template(-T): string # Render each variable using the given template
672 - --repository(-R): path # Path to repository to operate on
538 + --repository(-R): string # Path to repository to operate on
673 539 --ignore-working-copy # Don't snapshot the working copy, and don't update it
674 540 --ignore-immutable # Allow rewriting immutable commits
675 541 --at-operation: string # Operation to load the repo at
676 542 --at-op: string # Operation to load the repo at
677 543 --debug # Enable debug logging
678 - --color: string@"nu-complete jj config list color" # When to colorize output
544 + --color: string # When to colorize output (always, never, debug, auto)
679 545 --quiet # Silence non-primary command output
680 546 --no-pager # Disable the pager
681 - --config: string # Additional configuration options (can be repeated)
682 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
683 - --config-file: path # Additional configuration files (can be repeated)
547 + --config-toml: string # Additional configuration options (can be repeated)
684 548 --help(-h) # Print help (see more with '--help')
687 - def "nu-complete jj config path color" [] {
688 - [ "always" "never" "debug" "auto" ]
691 551 # Print the path to the config file
692 552 export extern "jj config path" [
693 553 --user # Target the user-level config
694 554 --repo # Target the repo-level config
695 - --repository(-R): path # Path to repository to operate on
555 + --repository(-R): string # Path to repository to operate on
696 556 --ignore-working-copy # Don't snapshot the working copy, and don't update it
697 557 --ignore-immutable # Allow rewriting immutable commits
698 558 --at-operation: string # Operation to load the repo at
699 559 --at-op: string # Operation to load the repo at
700 560 --debug # Enable debug logging
701 - --color: string@"nu-complete jj config path color" # When to colorize output
561 + --color: string # When to colorize output (always, never, debug, auto)
702 562 --quiet # Silence non-primary command output
703 563 --no-pager # Disable the pager
704 - --config: string # Additional configuration options (can be repeated)
705 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
706 - --config-file: path # Additional configuration files (can be repeated)
564 + --config-toml: string # Additional configuration options (can be repeated)
707 565 --help(-h) # Print help (see more with '--help')
710 - def "nu-complete jj config set color" [] {
711 - [ "always" "never" "debug" "auto" ]
714 568 # Update config file to set the given option to a given value
715 569 export extern "jj config set" [
716 570 name: string
717 - value: string # New value to set
571 + value: string
718 572 --user # Target the user-level config
719 573 --repo # Target the repo-level config
720 - --repository(-R): path # Path to repository to operate on
574 + --repository(-R): string # Path to repository to operate on
721 575 --ignore-working-copy # Don't snapshot the working copy, and don't update it
722 576 --ignore-immutable # Allow rewriting immutable commits
723 577 --at-operation: string # Operation to load the repo at
724 578 --at-op: string # Operation to load the repo at
725 579 --debug # Enable debug logging
726 - --color: string@"nu-complete jj config set color" # When to colorize output
580 + --color: string # When to colorize output (always, never, debug, auto)
727 581 --quiet # Silence non-primary command output
728 582 --no-pager # Disable the pager
729 - --config: string # Additional configuration options (can be repeated)
730 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
731 - --config-file: path # Additional configuration files (can be repeated)
583 + --config-toml: string # Additional configuration options (can be repeated)
732 584 --help(-h) # Print help (see more with '--help')
735 - def "nu-complete jj config unset color" [] {
736 - [ "always" "never" "debug" "auto" ]
739 587 # Update config file to unset the given option
740 588 export extern "jj config unset" [
741 589 name: string
742 590 --user # Target the user-level config
743 591 --repo # Target the repo-level config
744 - --repository(-R): path # Path to repository to operate on
592 + --repository(-R): string # Path to repository to operate on
745 593 --ignore-working-copy # Don't snapshot the working copy, and don't update it
746 594 --ignore-immutable # Allow rewriting immutable commits
747 595 --at-operation: string # Operation to load the repo at
748 596 --at-op: string # Operation to load the repo at
749 597 --debug # Enable debug logging
750 - --color: string@"nu-complete jj config unset color" # When to colorize output
598 + --color: string # When to colorize output (always, never, debug, auto)
751 599 --quiet # Silence non-primary command output
752 600 --no-pager # Disable the pager
753 - --config: string # Additional configuration options (can be repeated)
754 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
755 - --config-file: path # Additional configuration files (can be repeated)
601 + --config-toml: string # Additional configuration options (can be repeated)
756 602 --help(-h) # Print help (see more with '--help')
759 - def "nu-complete jj debug color" [] {
760 - [ "always" "never" "debug" "auto" ]
763 605 # Low-level commands not intended for users
764 606 export extern "jj debug" [
765 - --repository(-R): path # Path to repository to operate on
607 + --repository(-R): string # Path to repository to operate on
766 608 --ignore-working-copy # Don't snapshot the working copy, and don't update it
767 609 --ignore-immutable # Allow rewriting immutable commits
768 610 --at-operation: string # Operation to load the repo at
769 611 --at-op: string # Operation to load the repo at
770 612 --debug # Enable debug logging
771 - --color: string@"nu-complete jj debug color" # When to colorize output
613 + --color: string # When to colorize output (always, never, debug, auto)
772 614 --quiet # Silence non-primary command output
773 615 --no-pager # Disable the pager
774 - --config: string # Additional configuration options (can be repeated)
775 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
776 - --config-file: path # Additional configuration files (can be repeated)
616 + --config-toml: string # Additional configuration options (can be repeated)
777 617 --help(-h) # Print help (see more with '--help')
780 - def "nu-complete jj debug copy-detection color" [] {
781 - [ "always" "never" "debug" "auto" ]
784 620 # Rebuild commit index
785 621 export extern "jj debug copy-detection" [
786 622 revision?: string # Show changes in this revision, compared to its parent(s)
787 - --repository(-R): path # Path to repository to operate on
623 + --repository(-R): string # Path to repository to operate on
788 624 --ignore-working-copy # Don't snapshot the working copy, and don't update it
789 625 --ignore-immutable # Allow rewriting immutable commits
790 626 --at-operation: string # Operation to load the repo at
791 627 --at-op: string # Operation to load the repo at
792 628 --debug # Enable debug logging
793 - --color: string@"nu-complete jj debug copy-detection color" # When to colorize output
629 + --color: string # When to colorize output (always, never, debug, auto)
794 630 --quiet # Silence non-primary command output
795 631 --no-pager # Disable the pager
796 - --config: string # Additional configuration options (can be repeated)
797 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
798 - --config-file: path # Additional configuration files (can be repeated)
632 + --config-toml: string # Additional configuration options (can be repeated)
799 633 --help(-h) # Print help (see more with '--help')
802 - def "nu-complete jj debug fileset color" [] {
803 - [ "always" "never" "debug" "auto" ]
806 636 # Parse fileset expression
807 637 export extern "jj debug fileset" [
808 - path: path
809 - --repository(-R): path # Path to repository to operate on
638 + path: string
639 + --repository(-R): string # Path to repository to operate on
810 640 --ignore-working-copy # Don't snapshot the working copy, and don't update it
811 641 --ignore-immutable # Allow rewriting immutable commits
812 642 --at-operation: string # Operation to load the repo at
813 643 --at-op: string # Operation to load the repo at
814 644 --debug # Enable debug logging
815 - --color: string@"nu-complete jj debug fileset color" # When to colorize output
645 + --color: string # When to colorize output (always, never, debug, auto)
816 646 --quiet # Silence non-primary command output
817 647 --no-pager # Disable the pager
818 - --config: string # Additional configuration options (can be repeated)
819 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
820 - --config-file: path # Additional configuration files (can be repeated)
648 + --config-toml: string # Additional configuration options (can be repeated)
821 649 --help(-h) # Print help (see more with '--help')
824 - def "nu-complete jj debug index color" [] {
825 - [ "always" "never" "debug" "auto" ]
828 652 # Show commit index stats
829 653 export extern "jj debug index" [
830 - --repository(-R): path # Path to repository to operate on
654 + --repository(-R): string # Path to repository to operate on
831 655 --ignore-working-copy # Don't snapshot the working copy, and don't update it
832 656 --ignore-immutable # Allow rewriting immutable commits
833 657 --at-operation: string # Operation to load the repo at
834 658 --at-op: string # Operation to load the repo at
835 659 --debug # Enable debug logging
836 - --color: string@"nu-complete jj debug index color" # When to colorize output
660 + --color: string # When to colorize output (always, never, debug, auto)
837 661 --quiet # Silence non-primary command output
838 662 --no-pager # Disable the pager
839 - --config: string # Additional configuration options (can be repeated)
840 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
841 - --config-file: path # Additional configuration files (can be repeated)
663 + --config-toml: string # Additional configuration options (can be repeated)
842 664 --help(-h) # Print help (see more with '--help')
845 - def "nu-complete jj debug local-working-copy color" [] {
846 - [ "always" "never" "debug" "auto" ]
849 667 # Show information about the local working copy state
850 668 export extern "jj debug local-working-copy" [
851 - --repository(-R): path # Path to repository to operate on
669 + --repository(-R): string # Path to repository to operate on
852 670 --ignore-working-copy # Don't snapshot the working copy, and don't update it
853 671 --ignore-immutable # Allow rewriting immutable commits
854 672 --at-operation: string # Operation to load the repo at
855 673 --at-op: string # Operation to load the repo at
856 674 --debug # Enable debug logging
857 - --color: string@"nu-complete jj debug local-working-copy color" # When to colorize output
675 + --color: string # When to colorize output (always, never, debug, auto)
858 676 --quiet # Silence non-primary command output
859 677 --no-pager # Disable the pager
860 - --config: string # Additional configuration options (can be repeated)
861 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
862 - --config-file: path # Additional configuration files (can be repeated)
678 + --config-toml: string # Additional configuration options (can be repeated)
863 679 --help(-h) # Print help (see more with '--help')
867 683 [ "operation" "id" "view" "all" ]
870 - def "nu-complete jj debug operation color" [] {
871 - [ "always" "never" "debug" "auto" ]
874 686 # Show information about an operation and its view
875 687 export extern "jj debug operation" [
876 688 operation?: string
877 689 --display: string@"nu-complete jj debug operation display"
878 - --repository(-R): path # Path to repository to operate on
690 + --repository(-R): string # Path to repository to operate on
879 691 --ignore-working-copy # Don't snapshot the working copy, and don't update it
880 692 --ignore-immutable # Allow rewriting immutable commits
881 693 --at-operation: string # Operation to load the repo at
882 694 --at-op: string # Operation to load the repo at
883 695 --debug # Enable debug logging
884 - --color: string@"nu-complete jj debug operation color" # When to colorize output
696 + --color: string # When to colorize output (always, never, debug, auto)
885 697 --quiet # Silence non-primary command output
886 698 --no-pager # Disable the pager
887 - --config: string # Additional configuration options (can be repeated)
888 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
889 - --config-file: path # Additional configuration files (can be repeated)
699 + --config-toml: string # Additional configuration options (can be repeated)
890 700 --help(-h) # Print help (see more with '--help')
893 - def "nu-complete jj debug reindex color" [] {
894 - [ "always" "never" "debug" "auto" ]
897 703 # Rebuild commit index
898 704 export extern "jj debug reindex" [
899 - --repository(-R): path # Path to repository to operate on
705 + --repository(-R): string # Path to repository to operate on
900 706 --ignore-working-copy # Don't snapshot the working copy, and don't update it
901 707 --ignore-immutable # Allow rewriting immutable commits
902 708 --at-operation: string # Operation to load the repo at
903 709 --at-op: string # Operation to load the repo at
904 710 --debug # Enable debug logging
905 - --color: string@"nu-complete jj debug reindex color" # When to colorize output
711 + --color: string # When to colorize output (always, never, debug, auto)
906 712 --quiet # Silence non-primary command output
907 713 --no-pager # Disable the pager
908 - --config: string # Additional configuration options (can be repeated)
909 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
910 - --config-file: path # Additional configuration files (can be repeated)
714 + --config-toml: string # Additional configuration options (can be repeated)
911 715 --help(-h) # Print help (see more with '--help')
914 - def "nu-complete jj debug revset color" [] {
915 - [ "always" "never" "debug" "auto" ]
918 718 # Evaluate revset to full commit IDs
919 719 export extern "jj debug revset" [
920 720 revision: string
921 - --repository(-R): path # Path to repository to operate on
721 + --repository(-R): string # Path to repository to operate on
922 722 --ignore-working-copy # Don't snapshot the working copy, and don't update it
923 723 --ignore-immutable # Allow rewriting immutable commits
924 724 --at-operation: string # Operation to load the repo at
925 725 --at-op: string # Operation to load the repo at
926 726 --debug # Enable debug logging
927 - --color: string@"nu-complete jj debug revset color" # When to colorize output
727 + --color: string # When to colorize output (always, never, debug, auto)
928 728 --quiet # Silence non-primary command output
929 729 --no-pager # Disable the pager
930 - --config: string # Additional configuration options (can be repeated)
931 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
932 - --config-file: path # Additional configuration files (can be repeated)
730 + --config-toml: string # Additional configuration options (can be repeated)
933 731 --help(-h) # Print help (see more with '--help')
936 - def "nu-complete jj debug snapshot color" [] {
937 - [ "always" "never" "debug" "auto" ]
940 734 # Trigger a snapshot in the op log
941 735 export extern "jj debug snapshot" [
942 - --repository(-R): path # Path to repository to operate on
736 + --repository(-R): string # Path to repository to operate on
943 737 --ignore-working-copy # Don't snapshot the working copy, and don't update it
944 738 --ignore-immutable # Allow rewriting immutable commits
945 739 --at-operation: string # Operation to load the repo at
946 740 --at-op: string # Operation to load the repo at
947 741 --debug # Enable debug logging
948 - --color: string@"nu-complete jj debug snapshot color" # When to colorize output
742 + --color: string # When to colorize output (always, never, debug, auto)
949 743 --quiet # Silence non-primary command output
950 744 --no-pager # Disable the pager
951 - --config: string # Additional configuration options (can be repeated)
952 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
953 - --config-file: path # Additional configuration files (can be repeated)
745 + --config-toml: string # Additional configuration options (can be repeated)
954 746 --help(-h) # Print help (see more with '--help')
957 - def "nu-complete jj debug template color" [] {
958 - [ "always" "never" "debug" "auto" ]
961 749 # Parse a template
962 750 export extern "jj debug template" [
963 751 template: string
964 - --repository(-R): path # Path to repository to operate on
752 + --repository(-R): string # Path to repository to operate on
965 753 --ignore-working-copy # Don't snapshot the working copy, and don't update it
966 754 --ignore-immutable # Allow rewriting immutable commits
967 755 --at-operation: string # Operation to load the repo at
968 756 --at-op: string # Operation to load the repo at
969 757 --debug # Enable debug logging
970 - --color: string@"nu-complete jj debug template color" # When to colorize output
758 + --color: string # When to colorize output (always, never, debug, auto)
971 759 --quiet # Silence non-primary command output
972 760 --no-pager # Disable the pager
973 - --config: string # Additional configuration options (can be repeated)
974 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
975 - --config-file: path # Additional configuration files (can be repeated)
761 + --config-toml: string # Additional configuration options (can be repeated)
976 762 --help(-h) # Print help (see more with '--help')
979 - def "nu-complete jj debug tree color" [] {
980 - [ "always" "never" "debug" "auto" ]
983 765 # List the recursive entries of a tree
984 766 export extern "jj debug tree" [
985 767 --revision(-r): string
986 768 --id: string
987 769 --dir: string
988 770 ...paths: string
989 - --repository(-R): path # Path to repository to operate on
771 + --repository(-R): string # Path to repository to operate on
990 772 --ignore-working-copy # Don't snapshot the working copy, and don't update it
991 773 --ignore-immutable # Allow rewriting immutable commits
992 774 --at-operation: string # Operation to load the repo at
993 775 --at-op: string # Operation to load the repo at
994 776 --debug # Enable debug logging
995 - --color: string@"nu-complete jj debug tree color" # When to colorize output
777 + --color: string # When to colorize output (always, never, debug, auto)
996 778 --quiet # Silence non-primary command output
997 779 --no-pager # Disable the pager
998 - --config: string # Additional configuration options (can be repeated)
999 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1000 - --config-file: path # Additional configuration files (can be repeated)
780 + --config-toml: string # Additional configuration options (can be repeated)
1001 781 --help(-h) # Print help (see more with '--help')
1004 - def "nu-complete jj debug watchman color" [] {
1005 - [ "always" "never" "debug" "auto" ]
1008 784 export extern "jj debug watchman" [
1009 - --repository(-R): path # Path to repository to operate on
785 + --repository(-R): string # Path to repository to operate on
1010 786 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1011 787 --ignore-immutable # Allow rewriting immutable commits
1012 788 --at-operation: string # Operation to load the repo at
1013 789 --at-op: string # Operation to load the repo at
1014 790 --debug # Enable debug logging
1015 - --color: string@"nu-complete jj debug watchman color" # When to colorize output
791 + --color: string # When to colorize output (always, never, debug, auto)
1016 792 --quiet # Silence non-primary command output
1017 793 --no-pager # Disable the pager
1018 - --config: string # Additional configuration options (can be repeated)
1019 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1020 - --config-file: path # Additional configuration files (can be repeated)
794 + --config-toml: string # Additional configuration options (can be repeated)
1021 795 --help(-h) # Print help (see more with '--help')
1024 - def "nu-complete jj debug watchman status color" [] {
1025 - [ "always" "never" "debug" "auto" ]
1028 798 # Check whether `watchman` is enabled and whether it's correctly installed
1029 799 export extern "jj debug watchman status" [
1030 - --repository(-R): path # Path to repository to operate on
800 + --repository(-R): string # Path to repository to operate on
1031 801 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1032 802 --ignore-immutable # Allow rewriting immutable commits
1033 803 --at-operation: string # Operation to load the repo at
1034 804 --at-op: string # Operation to load the repo at
1035 805 --debug # Enable debug logging
1036 - --color: string@"nu-complete jj debug watchman status color" # When to colorize output
806 + --color: string # When to colorize output (always, never, debug, auto)
1037 807 --quiet # Silence non-primary command output
1038 808 --no-pager # Disable the pager
1039 - --config: string # Additional configuration options (can be repeated)
1040 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1041 - --config-file: path # Additional configuration files (can be repeated)
809 + --config-toml: string # Additional configuration options (can be repeated)
1042 810 --help(-h) # Print help (see more with '--help')
1045 - def "nu-complete jj debug watchman query-clock color" [] {
1046 - [ "always" "never" "debug" "auto" ]
1049 813 export extern "jj debug watchman query-clock" [
1050 - --repository(-R): path # Path to repository to operate on
814 + --repository(-R): string # Path to repository to operate on
1051 815 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1052 816 --ignore-immutable # Allow rewriting immutable commits
1053 817 --at-operation: string # Operation to load the repo at
1054 818 --at-op: string # Operation to load the repo at
1055 819 --debug # Enable debug logging
1056 - --color: string@"nu-complete jj debug watchman query-clock color" # When to colorize output
820 + --color: string # When to colorize output (always, never, debug, auto)
1057 821 --quiet # Silence non-primary command output
1058 822 --no-pager # Disable the pager
1059 - --config: string # Additional configuration options (can be repeated)
1060 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1061 - --config-file: path # Additional configuration files (can be repeated)
823 + --config-toml: string # Additional configuration options (can be repeated)
1062 824 --help(-h) # Print help (see more with '--help')
1065 - def "nu-complete jj debug watchman query-changed-files color" [] {
1066 - [ "always" "never" "debug" "auto" ]
1069 827 export extern "jj debug watchman query-changed-files" [
1070 - --repository(-R): path # Path to repository to operate on
828 + --repository(-R): string # Path to repository to operate on
1071 829 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1072 830 --ignore-immutable # Allow rewriting immutable commits
1073 831 --at-operation: string # Operation to load the repo at
1074 832 --at-op: string # Operation to load the repo at
1075 833 --debug # Enable debug logging
1076 - --color: string@"nu-complete jj debug watchman query-changed-files color" # When to colorize output
834 + --color: string # When to colorize output (always, never, debug, auto)
1077 835 --quiet # Silence non-primary command output
1078 836 --no-pager # Disable the pager
1079 - --config: string # Additional configuration options (can be repeated)
1080 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1081 - --config-file: path # Additional configuration files (can be repeated)
837 + --config-toml: string # Additional configuration options (can be repeated)
1082 838 --help(-h) # Print help (see more with '--help')
1085 - def "nu-complete jj debug watchman reset-clock color" [] {
1086 - [ "always" "never" "debug" "auto" ]
1089 841 export extern "jj debug watchman reset-clock" [
1090 - --repository(-R): path # Path to repository to operate on
842 + --repository(-R): string # Path to repository to operate on
1091 843 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1092 844 --ignore-immutable # Allow rewriting immutable commits
1093 845 --at-operation: string # Operation to load the repo at
1094 846 --at-op: string # Operation to load the repo at
1095 847 --debug # Enable debug logging
1096 - --color: string@"nu-complete jj debug watchman reset-clock color" # When to colorize output
848 + --color: string # When to colorize output (always, never, debug, auto)
1097 849 --quiet # Silence non-primary command output
1098 850 --no-pager # Disable the pager
1099 - --config: string # Additional configuration options (can be repeated)
1100 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1101 - --config-file: path # Additional configuration files (can be repeated)
851 + --config-toml: string # Additional configuration options (can be repeated)
1102 852 --help(-h) # Print help (see more with '--help')
1105 - def "nu-complete jj debug working-copy color" [] {
1106 - [ "always" "never" "debug" "auto" ]
1109 855 # Show information about the working copy state
1110 856 export extern "jj debug working-copy" [
1111 - --repository(-R): path # Path to repository to operate on
857 + --repository(-R): string # Path to repository to operate on
1112 858 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1113 859 --ignore-immutable # Allow rewriting immutable commits
1114 860 --at-operation: string # Operation to load the repo at
1115 861 --at-op: string # Operation to load the repo at
1116 862 --debug # Enable debug logging
1117 - --color: string@"nu-complete jj debug working-copy color" # When to colorize output
863 + --color: string # When to colorize output (always, never, debug, auto)
1118 864 --quiet # Silence non-primary command output
1119 865 --no-pager # Disable the pager
1120 - --config: string # Additional configuration options (can be repeated)
1121 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1122 - --config-file: path # Additional configuration files (can be repeated)
866 + --config-toml: string # Additional configuration options (can be repeated)
1123 867 --help(-h) # Print help (see more with '--help')
1126 - def "nu-complete jj describe color" [] {
1127 - [ "always" "never" "debug" "auto" ]
1130 870 # Update the change description or other metadata
1131 871 export extern "jj describe" [
1132 - ...revisions_pos: string # The revision(s) whose description to edit (default: @)
1133 - -r: string
872 + ...revisions: string # The revision(s) whose description to edit
873 + -r # Ignored (but lets you pass `-r` for consistency with other commands)
1134 874 --message(-m): string # The change description to use (don't open editor)
1135 875 --stdin # Read the change description from stdin
1136 876 --no-edit # Don't open an editor
1137 - --edit # Open an editor
1138 877 --reset-author # Reset the author to the configured user
1139 878 --author: string # Set author to the provided string
1140 - --repository(-R): path # Path to repository to operate on
879 + --repository(-R): string # Path to repository to operate on
1141 880 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1142 881 --ignore-immutable # Allow rewriting immutable commits
1143 882 --at-operation: string # Operation to load the repo at
1144 883 --at-op: string # Operation to load the repo at
1145 884 --debug # Enable debug logging
1146 - --color: string@"nu-complete jj describe color" # When to colorize output
885 + --color: string # When to colorize output (always, never, debug, auto)
1147 886 --quiet # Silence non-primary command output
1148 887 --no-pager # Disable the pager
1149 - --config: string # Additional configuration options (can be repeated)
1150 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1151 - --config-file: path # Additional configuration files (can be repeated)
888 + --config-toml: string # Additional configuration options (can be repeated)
1152 889 --help(-h) # Print help (see more with '--help')
1155 - def "nu-complete jj diff color" [] {
1156 - [ "always" "never" "debug" "auto" ]
1159 892 # Compare file contents between two revisions
1160 893 export extern "jj diff" [
1161 894 --revision(-r): string # Show changes in this revision, compared to its parent(s)
1162 895 --from(-f): string # Show changes from this revision
1163 896 --to(-t): string # Show changes to this revision
1164 - ...paths: path # Restrict the diff to these paths
897 + ...paths: string # Restrict the diff to these paths
1165 898 --summary(-s) # For each path, show only whether it was modified, added, or deleted
1166 899 --stat # Show a histogram of the changes
1167 900 --types # For each path, show only its type before and after
1172 905 --context: string # Number of lines of context to show
1173 906 --ignore-all-space(-w) # Ignore whitespace when comparing lines
1174 907 --ignore-space-change(-b) # Ignore changes in amount of whitespace when comparing lines
1175 - --repository(-R): path # Path to repository to operate on
908 + --repository(-R): string # Path to repository to operate on
1176 909 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1177 910 --ignore-immutable # Allow rewriting immutable commits
1178 911 --at-operation: string # Operation to load the repo at
1179 912 --at-op: string # Operation to load the repo at
1180 913 --debug # Enable debug logging
1181 - --color: string@"nu-complete jj diff color" # When to colorize output
914 + --color: string # When to colorize output (always, never, debug, auto)
1182 915 --quiet # Silence non-primary command output
1183 916 --no-pager # Disable the pager
1184 - --config: string # Additional configuration options (can be repeated)
1185 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1186 - --config-file: path # Additional configuration files (can be repeated)
917 + --config-toml: string # Additional configuration options (can be repeated)
1187 918 --help(-h) # Print help (see more with '--help')
1190 - def "nu-complete jj diffedit color" [] {
1191 - [ "always" "never" "debug" "auto" ]
1194 921 # Touch up the content changes in a revision with a diff editor
1195 922 export extern "jj diffedit" [
1196 923 --revision(-r): string # The revision to touch up
1198 925 --to(-t): string # Edit changes in this revision
1199 926 --tool: string # Specify diff editor to be used
1200 927 --restore-descendants # Preserve the content (not the diff) when rebasing descendants
1201 - --repository(-R): path # Path to repository to operate on
928 + --repository(-R): string # Path to repository to operate on
1202 929 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1203 930 --ignore-immutable # Allow rewriting immutable commits
1204 931 --at-operation: string # Operation to load the repo at
1205 932 --at-op: string # Operation to load the repo at
1206 933 --debug # Enable debug logging
1207 - --color: string@"nu-complete jj diffedit color" # When to colorize output
934 + --color: string # When to colorize output (always, never, debug, auto)
1208 935 --quiet # Silence non-primary command output
1209 936 --no-pager # Disable the pager
1210 - --config: string # Additional configuration options (can be repeated)
1211 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1212 - --config-file: path # Additional configuration files (can be repeated)
937 + --config-toml: string # Additional configuration options (can be repeated)
1213 938 --help(-h) # Print help (see more with '--help')
1216 - def "nu-complete jj duplicate color" [] {
1217 - [ "always" "never" "debug" "auto" ]
1220 941 # Create new changes with the same content as existing ones
1221 942 export extern "jj duplicate" [
1222 943 ...revisions_pos: string # The revision(s) to duplicate (default: @)
1226 947 --after: string # The revision(s) to insert after (can be repeated to create a merge commit)
1227 948 --insert-before(-B): string # The revision(s) to insert before (can be repeated to create a merge commit)
1228 949 --before: string # The revision(s) to insert before (can be repeated to create a merge commit)
1229 - --repository(-R): path # Path to repository to operate on
950 + --repository(-R): string # Path to repository to operate on
1230 951 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1231 952 --ignore-immutable # Allow rewriting immutable commits
1232 953 --at-operation: string # Operation to load the repo at
1233 954 --at-op: string # Operation to load the repo at
1234 955 --debug # Enable debug logging
1235 - --color: string@"nu-complete jj duplicate color" # When to colorize output
956 + --color: string # When to colorize output (always, never, debug, auto)
1236 957 --quiet # Silence non-primary command output
1237 958 --no-pager # Disable the pager
1238 - --config: string # Additional configuration options (can be repeated)
1239 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1240 - --config-file: path # Additional configuration files (can be repeated)
959 + --config-toml: string # Additional configuration options (can be repeated)
1241 960 --help(-h) # Print help (see more with '--help')
1244 - def "nu-complete jj edit color" [] {
1245 - [ "always" "never" "debug" "auto" ]
1248 963 # Sets the specified revision as the working-copy revision
1249 964 export extern "jj edit" [
1250 965 revision: string # The commit to edit
1251 966 -r # Ignored (but lets you pass `-r` for consistency with other commands)
1252 - --repository(-R): path # Path to repository to operate on
967 + --repository(-R): string # Path to repository to operate on
1253 968 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1254 969 --ignore-immutable # Allow rewriting immutable commits
1255 970 --at-operation: string # Operation to load the repo at
1256 971 --at-op: string # Operation to load the repo at
1257 972 --debug # Enable debug logging
1258 - --color: string@"nu-complete jj edit color" # When to colorize output
973 + --color: string # When to colorize output (always, never, debug, auto)
1259 974 --quiet # Silence non-primary command output
1260 975 --no-pager # Disable the pager
1261 - --config: string # Additional configuration options (can be repeated)
1262 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1263 - --config-file: path # Additional configuration files (can be repeated)
976 + --config-toml: string # Additional configuration options (can be repeated)
1264 977 --help(-h) # Print help (see more with '--help')
1267 - def "nu-complete jj evolog color" [] {
1268 - [ "always" "never" "debug" "auto" ]
1271 980 # Show how a change has evolved over time
1272 981 export extern "jj evolog" [
1273 982 --revision(-r): string
1274 983 --limit(-n): string # Limit number of revisions to show
1275 - --reversed # Show revisions in the opposite order (older revisions first)
984 + -l: string
1276 985 --no-graph # Don't show the graph, show a flat list of revisions
1277 986 --template(-T): string # Render each revision using the given template
1278 987 --patch(-p) # Show patch compared to the previous version of this change
1286 995 --context: string # Number of lines of context to show
1287 996 --ignore-all-space # Ignore whitespace when comparing lines
1288 997 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1289 - --repository(-R): path # Path to repository to operate on
998 + --repository(-R): string # Path to repository to operate on
1290 999 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1291 1000 --ignore-immutable # Allow rewriting immutable commits
1292 1001 --at-operation: string # Operation to load the repo at
1293 1002 --at-op: string # Operation to load the repo at
1294 1003 --debug # Enable debug logging
1295 - --color: string@"nu-complete jj evolog color" # When to colorize output
1004 + --color: string # When to colorize output (always, never, debug, auto)
1296 1005 --quiet # Silence non-primary command output
1297 1006 --no-pager # Disable the pager
1298 - --config: string # Additional configuration options (can be repeated)
1299 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1300 - --config-file: path # Additional configuration files (can be repeated)
1007 + --config-toml: string # Additional configuration options (can be repeated)
1301 1008 --help(-h) # Print help (see more with '--help')
1304 - def "nu-complete jj file color" [] {
1305 - [ "always" "never" "debug" "auto" ]
1308 1011 # File operations
1309 1012 export extern "jj file" [
1310 - --repository(-R): path # Path to repository to operate on
1013 + --repository(-R): string # Path to repository to operate on
1311 1014 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1312 1015 --ignore-immutable # Allow rewriting immutable commits
1313 1016 --at-operation: string # Operation to load the repo at
1314 1017 --at-op: string # Operation to load the repo at
1315 1018 --debug # Enable debug logging
1316 - --color: string@"nu-complete jj file color" # When to colorize output
1019 + --color: string # When to colorize output (always, never, debug, auto)
1317 1020 --quiet # Silence non-primary command output
1318 1021 --no-pager # Disable the pager
1319 - --config: string # Additional configuration options (can be repeated)
1320 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1321 - --config-file: path # Additional configuration files (can be repeated)
1022 + --config-toml: string # Additional configuration options (can be repeated)
1322 1023 --help(-h) # Print help (see more with '--help')
1325 - def "nu-complete jj file annotate color" [] {
1326 - [ "always" "never" "debug" "auto" ]
1329 1026 # Show the source change for each line of the target file
1330 1027 export extern "jj file annotate" [
1331 - path: path # the file to annotate
1028 + path: string # the file to annotate
1332 1029 --revision(-r): string # an optional revision to start at
1333 - --repository(-R): path # Path to repository to operate on
1030 + --repository(-R): string # Path to repository to operate on
1334 1031 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1335 1032 --ignore-immutable # Allow rewriting immutable commits
1336 1033 --at-operation: string # Operation to load the repo at
1337 1034 --at-op: string # Operation to load the repo at
1338 1035 --debug # Enable debug logging
1339 - --color: string@"nu-complete jj file annotate color" # When to colorize output
1036 + --color: string # When to colorize output (always, never, debug, auto)
1340 1037 --quiet # Silence non-primary command output
1341 1038 --no-pager # Disable the pager
1342 - --config: string # Additional configuration options (can be repeated)
1343 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1344 - --config-file: path # Additional configuration files (can be repeated)
1039 + --config-toml: string # Additional configuration options (can be repeated)
1345 1040 --help(-h) # Print help (see more with '--help')
1349 1044 [ "n" "x" ]
1352 - def "nu-complete jj file chmod color" [] {
1353 - [ "always" "never" "debug" "auto" ]
1356 1047 # Sets or removes the executable bit for paths in the repo
1357 1048 export extern "jj file chmod" [
1358 1049 mode: string@"nu-complete jj file chmod mode"
1359 1050 --revision(-r): string # The revision to update
1360 - ...paths: path # Paths to change the executable bit for
1361 - --repository(-R): path # Path to repository to operate on
1051 + ...paths: string # Paths to change the executable bit for
1052 + --repository(-R): string # Path to repository to operate on
1362 1053 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1363 1054 --ignore-immutable # Allow rewriting immutable commits
1364 1055 --at-operation: string # Operation to load the repo at
1365 1056 --at-op: string # Operation to load the repo at
1366 1057 --debug # Enable debug logging
1367 - --color: string@"nu-complete jj file chmod color" # When to colorize output
1058 + --color: string # When to colorize output (always, never, debug, auto)
1368 1059 --quiet # Silence non-primary command output
1369 1060 --no-pager # Disable the pager
1370 - --config: string # Additional configuration options (can be repeated)
1371 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1372 - --config-file: path # Additional configuration files (can be repeated)
1061 + --config-toml: string # Additional configuration options (can be repeated)
1373 1062 --help(-h) # Print help (see more with '--help')
1376 - def "nu-complete jj file list color" [] {
1377 - [ "always" "never" "debug" "auto" ]
1380 1065 # List files in a revision
1381 1066 export extern "jj file list" [
1382 1067 --revision(-r): string # The revision to list files in
1383 - --template(-T): string # Render each file entry using the given template
1384 - ...paths: path # Only list files matching these prefixes (instead of all files)
1385 - --repository(-R): path # Path to repository to operate on
1068 + ...paths: string # Only list files matching these prefixes (instead of all files)
1069 + --repository(-R): string # Path to repository to operate on
1386 1070 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1387 1071 --ignore-immutable # Allow rewriting immutable commits
1388 1072 --at-operation: string # Operation to load the repo at
1389 1073 --at-op: string # Operation to load the repo at
1390 1074 --debug # Enable debug logging
1391 - --color: string@"nu-complete jj file list color" # When to colorize output
1075 + --color: string # When to colorize output (always, never, debug, auto)
1392 1076 --quiet # Silence non-primary command output
1393 1077 --no-pager # Disable the pager
1394 - --config: string # Additional configuration options (can be repeated)
1395 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1396 - --config-file: path # Additional configuration files (can be repeated)
1078 + --config-toml: string # Additional configuration options (can be repeated)
1397 1079 --help(-h) # Print help (see more with '--help')
1400 - def "nu-complete jj file show color" [] {
1401 - [ "always" "never" "debug" "auto" ]
1404 1082 # Print contents of files in a revision
1405 1083 export extern "jj file show" [
1406 1084 --revision(-r): string # The revision to get the file contents from
1407 - ...paths: path # Paths to print
1408 - --repository(-R): path # Path to repository to operate on
1085 + ...paths: string # Paths to print
1086 + --repository(-R): string # Path to repository to operate on
1409 1087 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1410 1088 --ignore-immutable # Allow rewriting immutable commits
1411 1089 --at-operation: string # Operation to load the repo at
1412 1090 --at-op: string # Operation to load the repo at
1413 1091 --debug # Enable debug logging
1414 - --color: string@"nu-complete jj file show color" # When to colorize output
1092 + --color: string # When to colorize output (always, never, debug, auto)
1415 1093 --quiet # Silence non-primary command output
1416 1094 --no-pager # Disable the pager
1417 - --config: string # Additional configuration options (can be repeated)
1418 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1419 - --config-file: path # Additional configuration files (can be repeated)
1095 + --config-toml: string # Additional configuration options (can be repeated)
1420 1096 --help(-h) # Print help (see more with '--help')
1423 - def "nu-complete jj file track color" [] {
1424 - [ "always" "never" "debug" "auto" ]
1427 1099 # Start tracking specified paths in the working copy
1428 1100 export extern "jj file track" [
1429 - ...paths: path # Paths to track
1430 - --repository(-R): path # Path to repository to operate on
1101 + ...paths: string # Paths to track
1102 + --repository(-R): string # Path to repository to operate on
1431 1103 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1432 1104 --ignore-immutable # Allow rewriting immutable commits
1433 1105 --at-operation: string # Operation to load the repo at
1434 1106 --at-op: string # Operation to load the repo at
1435 1107 --debug # Enable debug logging
1436 - --color: string@"nu-complete jj file track color" # When to colorize output
1108 + --color: string # When to colorize output (always, never, debug, auto)
1437 1109 --quiet # Silence non-primary command output
1438 1110 --no-pager # Disable the pager
1439 - --config: string # Additional configuration options (can be repeated)
1440 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1441 - --config-file: path # Additional configuration files (can be repeated)
1111 + --config-toml: string # Additional configuration options (can be repeated)
1442 1112 --help(-h) # Print help (see more with '--help')
1445 - def "nu-complete jj file untrack color" [] {
1446 - [ "always" "never" "debug" "auto" ]
1449 1115 # Stop tracking specified paths in the working copy
1450 1116 export extern "jj file untrack" [
1451 - ...paths: path # Paths to untrack. They must already be ignored
1452 - --repository(-R): path # Path to repository to operate on
1117 + ...paths: string # Paths to untrack. They must already be ignored
1118 + --repository(-R): string # Path to repository to operate on
1453 1119 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1454 1120 --ignore-immutable # Allow rewriting immutable commits
1455 1121 --at-operation: string # Operation to load the repo at
1456 1122 --at-op: string # Operation to load the repo at
1457 1123 --debug # Enable debug logging
1458 - --color: string@"nu-complete jj file untrack color" # When to colorize output
1124 + --color: string # When to colorize output (always, never, debug, auto)
1459 1125 --quiet # Silence non-primary command output
1460 1126 --no-pager # Disable the pager
1461 - --config: string # Additional configuration options (can be repeated)
1462 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1463 - --config-file: path # Additional configuration files (can be repeated)
1127 + --config-toml: string # Additional configuration options (can be repeated)
1464 1128 --help(-h) # Print help (see more with '--help')
1467 - def "nu-complete jj fix color" [] {
1468 - [ "always" "never" "debug" "auto" ]
1131 + # List files in a revision (DEPRECATED use `jj file list`)
1132 + export extern "jj files" [
1133 + --revision(-r): string # The revision to list files in
1134 + ...paths: string # Only list files matching these prefixes (instead of all files)
1135 + --repository(-R): string # Path to repository to operate on
1136 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1137 + --ignore-immutable # Allow rewriting immutable commits
1138 + --at-operation: string # Operation to load the repo at
1139 + --at-op: string # Operation to load the repo at
1140 + --debug # Enable debug logging
1141 + --color: string # When to colorize output (always, never, debug, auto)
1142 + --quiet # Silence non-primary command output
1143 + --no-pager # Disable the pager
1144 + --config-toml: string # Additional configuration options (can be repeated)
1145 + --help(-h) # Print help (see more with '--help')
1471 1148 # Update files with formatting fixes or other changes
1472 1149 export extern "jj fix" [
1473 1150 --source(-s): string # Fix files in the specified revision(s) and their descendants. If no revisions are specified, this defaults to the `revsets.fix` setting, or `reachable(@, mutable())` if it is not set
1474 - ...paths: path # Fix only these paths
1151 + ...paths: string # Fix only these paths
1475 1152 --include-unchanged-files # Fix unchanged files in addition to changed ones. If no paths are specified, all files in the repo will be fixed
1476 - --repository(-R): path # Path to repository to operate on
1153 + --repository(-R): string # Path to repository to operate on
1477 1154 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1478 1155 --ignore-immutable # Allow rewriting immutable commits
1479 1156 --at-operation: string # Operation to load the repo at
1480 1157 --at-op: string # Operation to load the repo at
1481 1158 --debug # Enable debug logging
1482 - --color: string@"nu-complete jj fix color" # When to colorize output
1159 + --color: string # When to colorize output (always, never, debug, auto)
1483 1160 --quiet # Silence non-primary command output
1484 1161 --no-pager # Disable the pager
1485 - --config: string # Additional configuration options (can be repeated)
1486 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1487 - --config-file: path # Additional configuration files (can be repeated)
1162 + --config-toml: string # Additional configuration options (can be repeated)
1488 1163 --help(-h) # Print help (see more with '--help')
1491 - def "nu-complete jj git color" [] {
1492 - [ "always" "never" "debug" "auto" ]
1495 1166 # Commands for working with Git remotes and the underlying Git repo
1496 1167 export extern "jj git" [
1497 - --repository(-R): path # Path to repository to operate on
1168 + --repository(-R): string # Path to repository to operate on
1498 1169 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1499 1170 --ignore-immutable # Allow rewriting immutable commits
1500 1171 --at-operation: string # Operation to load the repo at
1501 1172 --at-op: string # Operation to load the repo at
1502 1173 --debug # Enable debug logging
1503 - --color: string@"nu-complete jj git color" # When to colorize output
1174 + --color: string # When to colorize output (always, never, debug, auto)
1504 1175 --quiet # Silence non-primary command output
1505 1176 --no-pager # Disable the pager
1506 - --config: string # Additional configuration options (can be repeated)
1507 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1508 - --config-file: path # Additional configuration files (can be repeated)
1177 + --config-toml: string # Additional configuration options (can be repeated)
1509 1178 --help(-h) # Print help (see more with '--help')
1512 - def "nu-complete jj git clone color" [] {
1513 - [ "always" "never" "debug" "auto" ]
1516 1181 # Create a new repo backed by a clone of a Git repo
1517 1182 export extern "jj git clone" [
1518 - source: path # URL or path of the Git repo to clone
1519 - destination?: path # Specifies the target directory for the Jujutsu repository clone. If not provided, defaults to a directory named after the last component of the source URL. The full directory path will be created if it doesn't exist
1183 + source: string # URL or path of the Git repo to clone
1184 + destination?: string # Specifies the target directory for the Jujutsu repository clone. If not provided, defaults to a directory named after the last component of the source URL. The full directory path will be created if it doesn't exist
1520 1185 --remote: string # Name of the newly created remote
1521 1186 --colocate # Whether or not to colocate the Jujutsu repo with the git repo
1522 1187 --depth: string # Create a shallow clone of the given depth
1523 - --repository(-R): path # Path to repository to operate on
1188 + --repository(-R): string # Path to repository to operate on
1524 1189 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1525 1190 --ignore-immutable # Allow rewriting immutable commits
1526 1191 --at-operation: string # Operation to load the repo at
1527 1192 --at-op: string # Operation to load the repo at
1528 1193 --debug # Enable debug logging
1529 - --color: string@"nu-complete jj git clone color" # When to colorize output
1194 + --color: string # When to colorize output (always, never, debug, auto)
1530 1195 --quiet # Silence non-primary command output
1531 1196 --no-pager # Disable the pager
1532 - --config: string # Additional configuration options (can be repeated)
1533 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1534 - --config-file: path # Additional configuration files (can be repeated)
1197 + --config-toml: string # Additional configuration options (can be repeated)
1535 1198 --help(-h) # Print help (see more with '--help')
1538 - def "nu-complete jj git export color" [] {
1539 - [ "always" "never" "debug" "auto" ]
1542 1201 # Update the underlying Git repo with changes made in the repo
1543 1202 export extern "jj git export" [
1544 - --repository(-R): path # Path to repository to operate on
1203 + --repository(-R): string # Path to repository to operate on
1545 1204 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1546 1205 --ignore-immutable # Allow rewriting immutable commits
1547 1206 --at-operation: string # Operation to load the repo at
1548 1207 --at-op: string # Operation to load the repo at
1549 1208 --debug # Enable debug logging
1550 - --color: string@"nu-complete jj git export color" # When to colorize output
1209 + --color: string # When to colorize output (always, never, debug, auto)
1551 1210 --quiet # Silence non-primary command output
1552 1211 --no-pager # Disable the pager
1553 - --config: string # Additional configuration options (can be repeated)
1554 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1555 - --config-file: path # Additional configuration files (can be repeated)
1212 + --config-toml: string # Additional configuration options (can be repeated)
1556 1213 --help(-h) # Print help (see more with '--help')
1559 - def "nu-complete jj git fetch color" [] {
1560 - [ "always" "never" "debug" "auto" ]
1563 1216 # Fetch from a Git remote
1564 1217 export extern "jj git fetch" [
1565 1218 --branch(-b): string # Fetch only some of the branches
1566 1219 --remote: string # The remote to fetch from (only named remotes are supported, can be repeated)
1567 1220 --all-remotes # Fetch from all remotes
1568 - --repository(-R): path # Path to repository to operate on
1221 + --repository(-R): string # Path to repository to operate on
1569 1222 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1570 1223 --ignore-immutable # Allow rewriting immutable commits
1571 1224 --at-operation: string # Operation to load the repo at
1572 1225 --at-op: string # Operation to load the repo at
1573 1226 --debug # Enable debug logging
1574 - --color: string@"nu-complete jj git fetch color" # When to colorize output
1227 + --color: string # When to colorize output (always, never, debug, auto)
1575 1228 --quiet # Silence non-primary command output
1576 1229 --no-pager # Disable the pager
1577 - --config: string # Additional configuration options (can be repeated)
1578 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1579 - --config-file: path # Additional configuration files (can be repeated)
1230 + --config-toml: string # Additional configuration options (can be repeated)
1580 1231 --help(-h) # Print help (see more with '--help')
1583 - def "nu-complete jj git import color" [] {
1584 - [ "always" "never" "debug" "auto" ]
1587 1234 # Update repo with changes made in the underlying Git repo
1588 1235 export extern "jj git import" [
1589 - --repository(-R): path # Path to repository to operate on
1236 + --repository(-R): string # Path to repository to operate on
1590 1237 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1591 1238 --ignore-immutable # Allow rewriting immutable commits
1592 1239 --at-operation: string # Operation to load the repo at
1593 1240 --at-op: string # Operation to load the repo at
1594 1241 --debug # Enable debug logging
1595 - --color: string@"nu-complete jj git import color" # When to colorize output
1242 + --color: string # When to colorize output (always, never, debug, auto)
1596 1243 --quiet # Silence non-primary command output
1597 1244 --no-pager # Disable the pager
1598 - --config: string # Additional configuration options (can be repeated)
1599 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1600 - --config-file: path # Additional configuration files (can be repeated)
1245 + --config-toml: string # Additional configuration options (can be repeated)
1601 1246 --help(-h) # Print help (see more with '--help')
1604 - def "nu-complete jj git init color" [] {
1605 - [ "always" "never" "debug" "auto" ]
1608 1249 # Create a new Git backed repo
1609 1250 export extern "jj git init" [
1610 - destination?: path # The destination directory where the `jj` repo will be created. If the directory does not exist, it will be created. If no directory is given, the current directory is used
1251 + destination?: string # The destination directory where the `jj` repo will be created. If the directory does not exist, it will be created. If no directory is given, the current directory is used
1611 1252 --colocate # Specifies that the `jj` repo should also be a valid `git` repo, allowing the use of both `jj` and `git` commands in the same directory
1612 - --git-repo: path # Specifies a path to an **existing** git repository to be used as the backing git repo for the newly created `jj` repo
1613 - --repository(-R): path # Path to repository to operate on
1253 + --git-repo: string # Specifies a path to an **existing** git repository to be used as the backing git repo for the newly created `jj` repo
1254 + --repository(-R): string # Path to repository to operate on
1614 1255 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1615 1256 --ignore-immutable # Allow rewriting immutable commits
1616 1257 --at-operation: string # Operation to load the repo at
1617 1258 --at-op: string # Operation to load the repo at
1618 1259 --debug # Enable debug logging
1619 - --color: string@"nu-complete jj git init color" # When to colorize output
1260 + --color: string # When to colorize output (always, never, debug, auto)
1620 1261 --quiet # Silence non-primary command output
1621 1262 --no-pager # Disable the pager
1622 - --config: string # Additional configuration options (can be repeated)
1623 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1624 - --config-file: path # Additional configuration files (can be repeated)
1263 + --config-toml: string # Additional configuration options (can be repeated)
1625 1264 --help(-h) # Print help (see more with '--help')
1628 - def "nu-complete jj git push color" [] {
1629 - [ "always" "never" "debug" "auto" ]
1632 1267 # Push to a Git remote
1633 1268 export extern "jj git push" [
1634 1269 --remote: string # The remote to push to (only named remotes are supported)
1642 1277 --revisions(-r): string # Push bookmarks pointing to these commits (can be repeated)
1643 1278 --change(-c): string # Push this commit by creating a bookmark based on its change ID (can be repeated)
1644 1279 --dry-run # Only display what will change on the remote
1645 - --repository(-R): path # Path to repository to operate on
1280 + --repository(-R): string # Path to repository to operate on
1646 1281 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1647 1282 --ignore-immutable # Allow rewriting immutable commits
1648 1283 --at-operation: string # Operation to load the repo at
1649 1284 --at-op: string # Operation to load the repo at
1650 1285 --debug # Enable debug logging
1651 - --color: string@"nu-complete jj git push color" # When to colorize output
1286 + --color: string # When to colorize output (always, never, debug, auto)
1652 1287 --quiet # Silence non-primary command output
1653 1288 --no-pager # Disable the pager
1654 - --config: string # Additional configuration options (can be repeated)
1655 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1656 - --config-file: path # Additional configuration files (can be repeated)
1289 + --config-toml: string # Additional configuration options (can be repeated)
1657 1290 --help(-h) # Print help (see more with '--help')
1660 - def "nu-complete jj git remote color" [] {
1661 - [ "always" "never" "debug" "auto" ]
1664 1293 # Manage Git remotes
1665 1294 export extern "jj git remote" [
1666 - --repository(-R): path # Path to repository to operate on
1295 + --repository(-R): string # Path to repository to operate on
1667 1296 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1668 1297 --ignore-immutable # Allow rewriting immutable commits
1669 1298 --at-operation: string # Operation to load the repo at
1670 1299 --at-op: string # Operation to load the repo at
1671 1300 --debug # Enable debug logging
1672 - --color: string@"nu-complete jj git remote color" # When to colorize output
1301 + --color: string # When to colorize output (always, never, debug, auto)
1673 1302 --quiet # Silence non-primary command output
1674 1303 --no-pager # Disable the pager
1675 - --config: string # Additional configuration options (can be repeated)
1676 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1677 - --config-file: path # Additional configuration files (can be repeated)
1304 + --config-toml: string # Additional configuration options (can be repeated)
1678 1305 --help(-h) # Print help (see more with '--help')
1681 - def "nu-complete jj git remote add color" [] {
1682 - [ "always" "never" "debug" "auto" ]
1685 1308 # Add a Git remote
1686 1309 export extern "jj git remote add" [
1687 1310 remote: string # The remote's name
1688 - url: path # The remote's URL or path
1689 - --repository(-R): path # Path to repository to operate on
1311 + url: string # The remote's URL
1312 + --repository(-R): string # Path to repository to operate on
1690 1313 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1691 1314 --ignore-immutable # Allow rewriting immutable commits
1692 1315 --at-operation: string # Operation to load the repo at
1693 1316 --at-op: string # Operation to load the repo at
1694 1317 --debug # Enable debug logging
1695 - --color: string@"nu-complete jj git remote add color" # When to colorize output
1318 + --color: string # When to colorize output (always, never, debug, auto)
1696 1319 --quiet # Silence non-primary command output
1697 1320 --no-pager # Disable the pager
1698 - --config: string # Additional configuration options (can be repeated)
1699 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1700 - --config-file: path # Additional configuration files (can be repeated)
1321 + --config-toml: string # Additional configuration options (can be repeated)
1701 1322 --help(-h) # Print help (see more with '--help')
1704 - def "nu-complete jj git remote list color" [] {
1705 - [ "always" "never" "debug" "auto" ]
1708 1325 # List Git remotes
1709 1326 export extern "jj git remote list" [
1710 - --repository(-R): path # Path to repository to operate on
1327 + --repository(-R): string # Path to repository to operate on
1711 1328 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1712 1329 --ignore-immutable # Allow rewriting immutable commits
1713 1330 --at-operation: string # Operation to load the repo at
1714 1331 --at-op: string # Operation to load the repo at
1715 1332 --debug # Enable debug logging
1716 - --color: string@"nu-complete jj git remote list color" # When to colorize output
1333 + --color: string # When to colorize output (always, never, debug, auto)
1717 1334 --quiet # Silence non-primary command output
1718 1335 --no-pager # Disable the pager
1719 - --config: string # Additional configuration options (can be repeated)
1720 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1721 - --config-file: path # Additional configuration files (can be repeated)
1336 + --config-toml: string # Additional configuration options (can be repeated)
1722 1337 --help(-h) # Print help (see more with '--help')
1725 - def "nu-complete jj git remote remove color" [] {
1726 - [ "always" "never" "debug" "auto" ]
1729 1340 # Remove a Git remote and forget its bookmarks
1730 1341 export extern "jj git remote remove" [
1731 1342 remote: string # The remote's name
1732 - --repository(-R): path # Path to repository to operate on
1343 + --repository(-R): string # Path to repository to operate on
1733 1344 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1734 1345 --ignore-immutable # Allow rewriting immutable commits
1735 1346 --at-operation: string # Operation to load the repo at
1736 1347 --at-op: string # Operation to load the repo at
1737 1348 --debug # Enable debug logging
1738 - --color: string@"nu-complete jj git remote remove color" # When to colorize output
1349 + --color: string # When to colorize output (always, never, debug, auto)
1739 1350 --quiet # Silence non-primary command output
1740 1351 --no-pager # Disable the pager
1741 - --config: string # Additional configuration options (can be repeated)
1742 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1743 - --config-file: path # Additional configuration files (can be repeated)
1352 + --config-toml: string # Additional configuration options (can be repeated)
1744 1353 --help(-h) # Print help (see more with '--help')
1747 - def "nu-complete jj git remote rename color" [] {
1748 - [ "always" "never" "debug" "auto" ]
1751 1356 # Rename a Git remote
1752 1357 export extern "jj git remote rename" [
1753 1358 old: string # The name of an existing remote
1754 1359 new: string # The desired name for `old`
1755 - --repository(-R): path # Path to repository to operate on
1360 + --repository(-R): string # Path to repository to operate on
1756 1361 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1757 1362 --ignore-immutable # Allow rewriting immutable commits
1758 1363 --at-operation: string # Operation to load the repo at
1759 1364 --at-op: string # Operation to load the repo at
1760 1365 --debug # Enable debug logging
1761 - --color: string@"nu-complete jj git remote rename color" # When to colorize output
1366 + --color: string # When to colorize output (always, never, debug, auto)
1762 1367 --quiet # Silence non-primary command output
1763 1368 --no-pager # Disable the pager
1764 - --config: string # Additional configuration options (can be repeated)
1765 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1766 - --config-file: path # Additional configuration files (can be repeated)
1369 + --config-toml: string # Additional configuration options (can be repeated)
1767 1370 --help(-h) # Print help (see more with '--help')
1770 - def "nu-complete jj git remote set-url color" [] {
1771 - [ "always" "never" "debug" "auto" ]
1774 1373 # Set the URL of a Git remote
1775 1374 export extern "jj git remote set-url" [
1776 1375 remote: string # The remote's name
1777 - url: path # The desired URL or path for `remote`
1778 - --repository(-R): path # Path to repository to operate on
1376 + url: string # The desired url for `remote`
1377 + --repository(-R): string # Path to repository to operate on
1779 1378 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1780 1379 --ignore-immutable # Allow rewriting immutable commits
1781 1380 --at-operation: string # Operation to load the repo at
1782 1381 --at-op: string # Operation to load the repo at
1783 1382 --debug # Enable debug logging
1784 - --color: string@"nu-complete jj git remote set-url color" # When to colorize output
1383 + --color: string # When to colorize output (always, never, debug, auto)
1785 1384 --quiet # Silence non-primary command output
1786 1385 --no-pager # Disable the pager
1787 - --config: string # Additional configuration options (can be repeated)
1788 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1789 - --config-file: path # Additional configuration files (can be repeated)
1386 + --config-toml: string # Additional configuration options (can be repeated)
1790 1387 --help(-h) # Print help (see more with '--help')
1793 - def "nu-complete jj git submodule color" [] {
1794 - [ "always" "never" "debug" "auto" ]
1797 1390 # FOR INTERNAL USE ONLY Interact with git submodules
1798 1391 export extern "jj git submodule" [
1799 - --repository(-R): path # Path to repository to operate on
1392 + --repository(-R): string # Path to repository to operate on
1800 1393 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1801 1394 --ignore-immutable # Allow rewriting immutable commits
1802 1395 --at-operation: string # Operation to load the repo at
1803 1396 --at-op: string # Operation to load the repo at
1804 1397 --debug # Enable debug logging
1805 - --color: string@"nu-complete jj git submodule color" # When to colorize output
1398 + --color: string # When to colorize output (always, never, debug, auto)
1806 1399 --quiet # Silence non-primary command output
1807 1400 --no-pager # Disable the pager
1808 - --config: string # Additional configuration options (can be repeated)
1809 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1810 - --config-file: path # Additional configuration files (can be repeated)
1401 + --config-toml: string # Additional configuration options (can be repeated)
1811 1402 --help(-h) # Print help (see more with '--help')
1814 - def "nu-complete jj git submodule print-gitmodules color" [] {
1815 - [ "always" "never" "debug" "auto" ]
1818 1405 # Print the relevant contents from .gitmodules. For debugging purposes only
1819 1406 export extern "jj git submodule print-gitmodules" [
1820 1407 --revisions(-r): string # Read .gitmodules from the given revision
1821 - --repository(-R): path # Path to repository to operate on
1408 + --repository(-R): string # Path to repository to operate on
1822 1409 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1823 1410 --ignore-immutable # Allow rewriting immutable commits
1824 1411 --at-operation: string # Operation to load the repo at
1825 1412 --at-op: string # Operation to load the repo at
1826 1413 --debug # Enable debug logging
1827 - --color: string@"nu-complete jj git submodule print-gitmodules color" # When to colorize output
1414 + --color: string # When to colorize output (always, never, debug, auto)
1828 1415 --quiet # Silence non-primary command output
1829 1416 --no-pager # Disable the pager
1830 - --config: string # Additional configuration options (can be repeated)
1831 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1832 - --config-file: path # Additional configuration files (can be repeated)
1417 + --config-toml: string # Additional configuration options (can be repeated)
1833 1418 --help(-h) # Print help (see more with '--help')
1836 1421 def "nu-complete jj help keyword" [] {
1837 - [ "bookmarks" "config" "filesets" "glossary" "revsets" "templates" "tutorial" ]
1840 - def "nu-complete jj help color" [] {
1841 - [ "always" "never" "debug" "auto" ]
1422 + [ "revsets" "tutorial" ]
1844 1425 # Print this message or the help of the given subcommand(s)
1845 1426 export extern "jj help" [
1846 1427 ...command: string # Print help for the subcommand(s)
1847 1428 --keyword(-k): string@"nu-complete jj help keyword" # Show help for keywords instead of commands
1848 - --repository(-R): path # Path to repository to operate on
1429 + --repository(-R): string # Path to repository to operate on
1849 1430 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1850 1431 --ignore-immutable # Allow rewriting immutable commits
1851 1432 --at-operation: string # Operation to load the repo at
1852 1433 --at-op: string # Operation to load the repo at
1853 1434 --debug # Enable debug logging
1854 - --color: string@"nu-complete jj help color" # When to colorize output
1435 + --color: string # When to colorize output (always, never, debug, auto)
1855 1436 --quiet # Silence non-primary command output
1856 1437 --no-pager # Disable the pager
1857 - --config: string # Additional configuration options (can be repeated)
1858 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1859 - --config-file: path # Additional configuration files (can be repeated)
1438 + --config-toml: string # Additional configuration options (can be repeated)
1860 1439 --help(-h) # Print help (see more with '--help')
1863 - def "nu-complete jj init color" [] {
1864 - [ "always" "never" "debug" "auto" ]
1867 1442 # Create a new repo in the given directory
1868 1443 export extern "jj init" [
1869 - destination?: path # The destination directory
1870 - --repository(-R): path # Path to repository to operate on
1444 + destination?: string # The destination directory
1445 + --git # DEPRECATED: Use `jj git init` Use the Git backend, creating a jj repo backed by a Git repo
1446 + --git-repo: string # DEPRECATED: Use `jj git init` Path to a git repo the jj repo will be backed by
1447 + --repository(-R): string # Path to repository to operate on
1871 1448 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1872 1449 --ignore-immutable # Allow rewriting immutable commits
1873 1450 --at-operation: string # Operation to load the repo at
1874 1451 --at-op: string # Operation to load the repo at
1875 1452 --debug # Enable debug logging
1876 - --color: string@"nu-complete jj init color" # When to colorize output
1453 + --color: string # When to colorize output (always, never, debug, auto)
1877 1454 --quiet # Silence non-primary command output
1878 1455 --no-pager # Disable the pager
1879 - --config: string # Additional configuration options (can be repeated)
1880 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1881 - --config-file: path # Additional configuration files (can be repeated)
1456 + --config-toml: string # Additional configuration options (can be repeated)
1882 1457 --help(-h) # Print help (see more with '--help')
1885 - def "nu-complete jj interdiff color" [] {
1886 - [ "always" "never" "debug" "auto" ]
1889 1460 # Compare the changes of two commits
1890 1461 export extern "jj interdiff" [
1891 1462 --from(-f): string # Show changes from this revision
1892 1463 --to(-t): string # Show changes to this revision
1893 - ...paths: path # Restrict the diff to these paths
1464 + ...paths: string # Restrict the diff to these paths
1894 1465 --summary(-s) # For each path, show only whether it was modified, added, or deleted
1895 1466 --stat # Show a histogram of the changes
1896 1467 --types # For each path, show only its type before and after
1901 1472 --context: string # Number of lines of context to show
1902 1473 --ignore-all-space(-w) # Ignore whitespace when comparing lines
1903 1474 --ignore-space-change(-b) # Ignore changes in amount of whitespace when comparing lines
1904 - --repository(-R): path # Path to repository to operate on
1475 + --repository(-R): string # Path to repository to operate on
1905 1476 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1906 1477 --ignore-immutable # Allow rewriting immutable commits
1907 1478 --at-operation: string # Operation to load the repo at
1908 1479 --at-op: string # Operation to load the repo at
1909 1480 --debug # Enable debug logging
1910 - --color: string@"nu-complete jj interdiff color" # When to colorize output
1481 + --color: string # When to colorize output (always, never, debug, auto)
1911 1482 --quiet # Silence non-primary command output
1912 1483 --no-pager # Disable the pager
1913 - --config: string # Additional configuration options (can be repeated)
1914 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1915 - --config-file: path # Additional configuration files (can be repeated)
1484 + --config-toml: string # Additional configuration options (can be repeated)
1916 1485 --help(-h) # Print help (see more with '--help')
1919 - def "nu-complete jj log color" [] {
1920 - [ "always" "never" "debug" "auto" ]
1923 1488 # Show revision history
1924 1489 export extern "jj log" [
1925 1490 --revisions(-r): string # Which revisions to show
1926 - ...paths: path # Show revisions modifying the given paths
1927 - --limit(-n): string # Limit number of revisions to show
1491 + ...paths: string # Show revisions modifying the given paths
1928 1492 --reversed # Show revisions in the opposite order (older revisions first)
1493 + --limit(-n): string # Limit number of revisions to show
1494 + -l: string
1929 1495 --no-graph # Don't show the graph, show a flat list of revisions
1930 1496 --template(-T): string # Render each revision using the given template
1931 1497 --patch(-p) # Show patch
1939 1505 --context: string # Number of lines of context to show
1940 1506 --ignore-all-space # Ignore whitespace when comparing lines
1941 1507 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1942 - --repository(-R): path # Path to repository to operate on
1508 + --repository(-R): string # Path to repository to operate on
1943 1509 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1944 1510 --ignore-immutable # Allow rewriting immutable commits
1945 1511 --at-operation: string # Operation to load the repo at
1946 1512 --at-op: string # Operation to load the repo at
1947 1513 --debug # Enable debug logging
1948 - --color: string@"nu-complete jj log color" # When to colorize output
1514 + --color: string # When to colorize output (always, never, debug, auto)
1949 1515 --quiet # Silence non-primary command output
1950 1516 --no-pager # Disable the pager
1951 - --config: string # Additional configuration options (can be repeated)
1952 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1953 - --config-file: path # Additional configuration files (can be repeated)
1517 + --config-toml: string # Additional configuration options (can be repeated)
1954 1518 --help(-h) # Print help (see more with '--help')
1957 - def "nu-complete jj new color" [] {
1958 - [ "always" "never" "debug" "auto" ]
1961 1521 # Create a new, empty change and (by default) edit it in the working copy
1962 1522 export extern "jj new" [
1963 1523 ...revisions: string # Parent(s) of the new change
1969 1529 --after: string # Insert the new change after the given commit(s)
1970 1530 --insert-before(-B): string # Insert the new change before the given commit(s)
1971 1531 --before: string # Insert the new change before the given commit(s)
1972 - --repository(-R): path # Path to repository to operate on
1532 + --repository(-R): string # Path to repository to operate on
1973 1533 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1974 1534 --ignore-immutable # Allow rewriting immutable commits
1975 1535 --at-operation: string # Operation to load the repo at
1976 1536 --at-op: string # Operation to load the repo at
1977 1537 --debug # Enable debug logging
1978 - --color: string@"nu-complete jj new color" # When to colorize output
1538 + --color: string # When to colorize output (always, never, debug, auto)
1979 1539 --quiet # Silence non-primary command output
1980 1540 --no-pager # Disable the pager
1981 - --config: string # Additional configuration options (can be repeated)
1982 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1983 - --config-file: path # Additional configuration files (can be repeated)
1541 + --config-toml: string # Additional configuration options (can be repeated)
1984 1542 --help(-h) # Print help (see more with '--help')
1987 - def "nu-complete jj next color" [] {
1988 - [ "always" "never" "debug" "auto" ]
1991 1545 # Move the working-copy commit to the child revision
1992 1546 export extern "jj next" [
1993 1547 offset?: string # How many revisions to move forward. Advances to the next child by default
1994 1548 --edit(-e) # Instead of creating a new working-copy commit on top of the target commit (like `jj new`), edit the target commit directly (like `jj edit`)
1995 1549 --no-edit(-n) # The inverse of `--edit`
1996 1550 --conflict # Jump to the next conflicted descendant
1997 - --repository(-R): path # Path to repository to operate on
1551 + --repository(-R): string # Path to repository to operate on
1998 1552 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1999 1553 --ignore-immutable # Allow rewriting immutable commits
2000 1554 --at-operation: string # Operation to load the repo at
2001 1555 --at-op: string # Operation to load the repo at
2002 1556 --debug # Enable debug logging
2003 - --color: string@"nu-complete jj next color" # When to colorize output
1557 + --color: string # When to colorize output (always, never, debug, auto)
2004 1558 --quiet # Silence non-primary command output
2005 1559 --no-pager # Disable the pager
2006 - --config: string # Additional configuration options (can be repeated)
2007 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2008 - --config-file: path # Additional configuration files (can be repeated)
1560 + --config-toml: string # Additional configuration options (can be repeated)
2009 1561 --help(-h) # Print help (see more with '--help')
2012 - def "nu-complete jj operation color" [] {
2013 - [ "always" "never" "debug" "auto" ]
2016 1564 # Commands for working with the operation log
2017 1565 export extern "jj operation" [
2018 - --repository(-R): path # Path to repository to operate on
1566 + --repository(-R): string # Path to repository to operate on
2019 1567 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2020 1568 --ignore-immutable # Allow rewriting immutable commits
2021 1569 --at-operation: string # Operation to load the repo at
2022 1570 --at-op: string # Operation to load the repo at
2023 1571 --debug # Enable debug logging
2024 - --color: string@"nu-complete jj operation color" # When to colorize output
1572 + --color: string # When to colorize output (always, never, debug, auto)
2025 1573 --quiet # Silence non-primary command output
2026 1574 --no-pager # Disable the pager
2027 - --config: string # Additional configuration options (can be repeated)
2028 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2029 - --config-file: path # Additional configuration files (can be repeated)
1575 + --config-toml: string # Additional configuration options (can be repeated)
2030 1576 --help(-h) # Print help (see more with '--help')
2033 - def "nu-complete jj operation abandon color" [] {
2034 - [ "always" "never" "debug" "auto" ]
2037 1579 # Abandon operation history
2038 1580 export extern "jj operation abandon" [
2039 1581 operation: string # The operation or operation range to abandon
2040 - --repository(-R): path # Path to repository to operate on
1582 + --repository(-R): string # Path to repository to operate on
2041 1583 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2042 1584 --ignore-immutable # Allow rewriting immutable commits
2043 1585 --at-operation: string # Operation to load the repo at
2044 1586 --at-op: string # Operation to load the repo at
2045 1587 --debug # Enable debug logging
2046 - --color: string@"nu-complete jj operation abandon color" # When to colorize output
1588 + --color: string # When to colorize output (always, never, debug, auto)
2047 1589 --quiet # Silence non-primary command output
2048 1590 --no-pager # Disable the pager
2049 - --config: string # Additional configuration options (can be repeated)
2050 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2051 - --config-file: path # Additional configuration files (can be repeated)
1591 + --config-toml: string # Additional configuration options (can be repeated)
2052 1592 --help(-h) # Print help (see more with '--help')
2055 - def "nu-complete jj operation diff color" [] {
2056 - [ "always" "never" "debug" "auto" ]
2059 1595 # Compare changes to the repository between two operations
2060 1596 export extern "jj operation diff" [
2061 1597 --operation: string # Show repository changes in this operation, compared to its parent
2074 1610 --context: string # Number of lines of context to show
2075 1611 --ignore-all-space # Ignore whitespace when comparing lines
2076 1612 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
2077 - --repository(-R): path # Path to repository to operate on
1613 + --repository(-R): string # Path to repository to operate on
2078 1614 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2079 1615 --ignore-immutable # Allow rewriting immutable commits
2080 1616 --at-operation: string # Operation to load the repo at
2081 1617 --at-op: string # Operation to load the repo at
2082 1618 --debug # Enable debug logging
2083 - --color: string@"nu-complete jj operation diff color" # When to colorize output
1619 + --color: string # When to colorize output (always, never, debug, auto)
2084 1620 --quiet # Silence non-primary command output
2085 1621 --no-pager # Disable the pager
2086 - --config: string # Additional configuration options (can be repeated)
2087 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2088 - --config-file: path # Additional configuration files (can be repeated)
1622 + --config-toml: string # Additional configuration options (can be repeated)
2089 1623 --help(-h) # Print help (see more with '--help')
2092 - def "nu-complete jj operation log color" [] {
2093 - [ "always" "never" "debug" "auto" ]
2096 1626 # Show the operation log
2097 1627 export extern "jj operation log" [
2098 1628 --limit(-n): string # Limit number of operations to show
2099 - --reversed # Show operations in the opposite order (older operations first)
1629 + -l: string
2100 1630 --no-graph # Don't show the graph, show a flat list of operations
2101 1631 --template(-T): string # Render each operation using the given template
2102 1632 --op-diff # Show changes to the repository at each operation
2111 1641 --context: string # Number of lines of context to show
2112 1642 --ignore-all-space # Ignore whitespace when comparing lines
2113 1643 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
2114 - --repository(-R): path # Path to repository to operate on
1644 + --repository(-R): string # Path to repository to operate on
2115 1645 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2116 1646 --ignore-immutable # Allow rewriting immutable commits
2117 1647 --at-operation: string # Operation to load the repo at
2118 1648 --at-op: string # Operation to load the repo at
2119 1649 --debug # Enable debug logging
2120 - --color: string@"nu-complete jj operation log color" # When to colorize output
1650 + --color: string # When to colorize output (always, never, debug, auto)
2121 1651 --quiet # Silence non-primary command output
2122 1652 --no-pager # Disable the pager
2123 - --config: string # Additional configuration options (can be repeated)
2124 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2125 - --config-file: path # Additional configuration files (can be repeated)
1653 + --config-toml: string # Additional configuration options (can be repeated)
2126 1654 --help(-h) # Print help (see more with '--help')
2130 1658 [ "repo" "remote-tracking" ]
2133 - def "nu-complete jj operation restore color" [] {
2134 - [ "always" "never" "debug" "auto" ]
2137 1661 # Create a new operation that restores the repo to an earlier state
2138 1662 export extern "jj operation restore" [
2139 1663 operation: string # The operation to restore to
2140 1664 --what: string@"nu-complete jj operation restore what" # What portions of the local state to restore (can be repeated)
2141 - --repository(-R): path # Path to repository to operate on
1665 + --repository(-R): string # Path to repository to operate on
2142 1666 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2143 1667 --ignore-immutable # Allow rewriting immutable commits
2144 1668 --at-operation: string # Operation to load the repo at
2145 1669 --at-op: string # Operation to load the repo at
2146 1670 --debug # Enable debug logging
2147 - --color: string@"nu-complete jj operation restore color" # When to colorize output
1671 + --color: string # When to colorize output (always, never, debug, auto)
2148 1672 --quiet # Silence non-primary command output
2149 1673 --no-pager # Disable the pager
2150 - --config: string # Additional configuration options (can be repeated)
2151 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2152 - --config-file: path # Additional configuration files (can be repeated)
1674 + --config-toml: string # Additional configuration options (can be repeated)
2153 1675 --help(-h) # Print help (see more with '--help')
2156 - def "nu-complete jj operation show color" [] {
2157 - [ "always" "never" "debug" "auto" ]
2160 1678 # Show changes to the repository in an operation
2161 1679 export extern "jj operation show" [
2162 1680 operation?: string # Show repository changes in this operation, compared to its parent(s)
2172 1690 --context: string # Number of lines of context to show
2173 1691 --ignore-all-space # Ignore whitespace when comparing lines
2174 1692 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
2175 - --repository(-R): path # Path to repository to operate on
1693 + --repository(-R): string # Path to repository to operate on
2176 1694 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2177 1695 --ignore-immutable # Allow rewriting immutable commits
2178 1696 --at-operation: string # Operation to load the repo at
2179 1697 --at-op: string # Operation to load the repo at
2180 1698 --debug # Enable debug logging
2181 - --color: string@"nu-complete jj operation show color" # When to colorize output
1699 + --color: string # When to colorize output (always, never, debug, auto)
2182 1700 --quiet # Silence non-primary command output
2183 1701 --no-pager # Disable the pager
2184 - --config: string # Additional configuration options (can be repeated)
2185 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2186 - --config-file: path # Additional configuration files (can be repeated)
1702 + --config-toml: string # Additional configuration options (can be repeated)
2187 1703 --help(-h) # Print help (see more with '--help')
2191 1707 [ "repo" "remote-tracking" ]
2194 - def "nu-complete jj operation undo color" [] {
2195 - [ "always" "never" "debug" "auto" ]
2198 1710 # Create a new operation that undoes an earlier operation
2199 1711 export extern "jj operation undo" [
2200 1712 operation?: string # The operation to undo
2201 1713 --what: string@"nu-complete jj operation undo what" # What portions of the local state to restore (can be repeated)
2202 - --repository(-R): path # Path to repository to operate on
1714 + --repository(-R): string # Path to repository to operate on
2203 1715 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2204 1716 --ignore-immutable # Allow rewriting immutable commits
2205 1717 --at-operation: string # Operation to load the repo at
2206 1718 --at-op: string # Operation to load the repo at
2207 1719 --debug # Enable debug logging
2208 - --color: string@"nu-complete jj operation undo color" # When to colorize output
1720 + --color: string # When to colorize output (always, never, debug, auto)
2209 1721 --quiet # Silence non-primary command output
2210 1722 --no-pager # Disable the pager
2211 - --config: string # Additional configuration options (can be repeated)
2212 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2213 - --config-file: path # Additional configuration files (can be repeated)
1723 + --config-toml: string # Additional configuration options (can be repeated)
2214 1724 --help(-h) # Print help (see more with '--help')
2217 - def "nu-complete jj parallelize color" [] {
2218 - [ "always" "never" "debug" "auto" ]
2221 1727 # Parallelize revisions by making them siblings
2222 1728 export extern "jj parallelize" [
2223 1729 ...revisions: string # Revisions to parallelize
2224 - --repository(-R): path # Path to repository to operate on
1730 + --repository(-R): string # Path to repository to operate on
2225 1731 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2226 1732 --ignore-immutable # Allow rewriting immutable commits
2227 1733 --at-operation: string # Operation to load the repo at
2228 1734 --at-op: string # Operation to load the repo at
2229 1735 --debug # Enable debug logging
2230 - --color: string@"nu-complete jj parallelize color" # When to colorize output
1736 + --color: string # When to colorize output (always, never, debug, auto)
2231 1737 --quiet # Silence non-primary command output
2232 1738 --no-pager # Disable the pager
2233 - --config: string # Additional configuration options (can be repeated)
2234 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2235 - --config-file: path # Additional configuration files (can be repeated)
1739 + --config-toml: string # Additional configuration options (can be repeated)
2236 1740 --help(-h) # Print help (see more with '--help')
2239 - def "nu-complete jj prev color" [] {
2240 - [ "always" "never" "debug" "auto" ]
2243 1743 # Change the working copy revision relative to the parent revision
2244 1744 export extern "jj prev" [
2245 1745 offset?: string # How many revisions to move backward. Moves to the parent by default
2246 1746 --edit(-e) # Edit the parent directly, instead of moving the working-copy commit
2247 1747 --no-edit(-n) # The inverse of `--edit`
2248 1748 --conflict # Jump to the previous conflicted ancestor
2249 - --repository(-R): path # Path to repository to operate on
1749 + --repository(-R): string # Path to repository to operate on
2250 1750 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2251 1751 --ignore-immutable # Allow rewriting immutable commits
2252 1752 --at-operation: string # Operation to load the repo at
2253 1753 --at-op: string # Operation to load the repo at
2254 1754 --debug # Enable debug logging
2255 - --color: string@"nu-complete jj prev color" # When to colorize output
1755 + --color: string # When to colorize output (always, never, debug, auto)
2256 1756 --quiet # Silence non-primary command output
2257 1757 --no-pager # Disable the pager
2258 - --config: string # Additional configuration options (can be repeated)
2259 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2260 - --config-file: path # Additional configuration files (can be repeated)
1758 + --config-toml: string # Additional configuration options (can be repeated)
2261 1759 --help(-h) # Print help (see more with '--help')
2264 - def "nu-complete jj rebase color" [] {
2265 - [ "always" "never" "debug" "auto" ]
2268 1762 # Move revisions to different parent(s)
2269 1763 export extern "jj rebase" [
2270 1764 --branch(-b): string # Rebase the whole branch relative to destination's ancestors (can be repeated)
2277 1771 --before: string # The revision(s) to insert before (can be repeated to create a merge commit)
2278 1772 --skip-empty # Deprecated. Use --skip-emptied instead
2279 1773 --skip-emptied # If true, when rebasing would produce an empty commit, the commit is abandoned. It will not be abandoned if it was already empty before the rebase. Will never skip merge commits with multiple non-empty parents
2280 - --repository(-R): path # Path to repository to operate on
1774 + --repository(-R): string # Path to repository to operate on
2281 1775 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2282 1776 --ignore-immutable # Allow rewriting immutable commits
2283 1777 --at-operation: string # Operation to load the repo at
2284 1778 --at-op: string # Operation to load the repo at
2285 1779 --debug # Enable debug logging
2286 - --color: string@"nu-complete jj rebase color" # When to colorize output
1780 + --color: string # When to colorize output (always, never, debug, auto)
2287 1781 --quiet # Silence non-primary command output
2288 1782 --no-pager # Disable the pager
2289 - --config: string # Additional configuration options (can be repeated)
2290 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2291 - --config-file: path # Additional configuration files (can be repeated)
1783 + --config-toml: string # Additional configuration options (can be repeated)
2292 1784 --help(-h) # Print help (see more with '--help')
2295 - def "nu-complete jj resolve color" [] {
2296 - [ "always" "never" "debug" "auto" ]
2299 - # Resolve conflicted files with an external merge tool
1787 + # Resolve a conflicted file with an external merge tool
2300 1788 export extern "jj resolve" [
2301 1789 --revision(-r): string
2302 - --list(-l) # Instead of resolving conflicts, list all the conflicts
1790 + --list(-l) # Instead of resolving one conflict, list all the conflicts
2303 1791 --tool: string # Specify 3-way merge tool to be used
2304 - ...paths: path # Only resolve conflicts in these paths. You can use the `--list` argument to find paths to use here
2305 - --repository(-R): path # Path to repository to operate on
1792 + ...paths: string # Restrict to these paths when searching for a conflict to resolve. We will attempt to resolve the first conflict we can find. You can use the `--list` argument to find paths to use here
1793 + --repository(-R): string # Path to repository to operate on
2306 1794 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2307 1795 --ignore-immutable # Allow rewriting immutable commits
2308 1796 --at-operation: string # Operation to load the repo at
2309 1797 --at-op: string # Operation to load the repo at
2310 1798 --debug # Enable debug logging
2311 - --color: string@"nu-complete jj resolve color" # When to colorize output
1799 + --color: string # When to colorize output (always, never, debug, auto)
2312 1800 --quiet # Silence non-primary command output
2313 1801 --no-pager # Disable the pager
2314 - --config: string # Additional configuration options (can be repeated)
2315 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2316 - --config-file: path # Additional configuration files (can be repeated)
1802 + --config-toml: string # Additional configuration options (can be repeated)
2317 1803 --help(-h) # Print help (see more with '--help')
2320 - def "nu-complete jj restore color" [] {
2321 - [ "always" "never" "debug" "auto" ]
2324 1806 # Restore paths from another revision
2325 1807 export extern "jj restore" [
2326 - ...paths: path # Restore only these paths (instead of all paths)
1808 + ...paths: string # Restore only these paths (instead of all paths)
2327 1809 --from(-f): string # Revision to restore from (source)
2328 - --into(-t): string # Revision to restore into (destination)
2329 - --to: string # Revision to restore into (destination)
1810 + --to(-t): string # Revision to restore into (destination)
2330 1811 --changes-in(-c): string # Undo the changes in a revision as compared to the merge of its parents
2331 1812 --revision(-r): string # Prints an error. DO NOT USE
2332 - --interactive(-i) # Interactively choose which parts to restore
2333 - --tool: string # Specify diff editor to be used (implies --interactive)
2334 1813 --restore-descendants # Preserve the content (not the diff) when rebasing descendants
2335 - --repository(-R): path # Path to repository to operate on
1814 + --repository(-R): string # Path to repository to operate on
2336 1815 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2337 1816 --ignore-immutable # Allow rewriting immutable commits
2338 1817 --at-operation: string # Operation to load the repo at
2339 1818 --at-op: string # Operation to load the repo at
2340 1819 --debug # Enable debug logging
2341 - --color: string@"nu-complete jj restore color" # When to colorize output
1820 + --color: string # When to colorize output (always, never, debug, auto)
2342 1821 --quiet # Silence non-primary command output
2343 1822 --no-pager # Disable the pager
2344 - --config: string # Additional configuration options (can be repeated)
2345 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2346 - --config-file: path # Additional configuration files (can be repeated)
1823 + --config-toml: string # Additional configuration options (can be repeated)
2347 1824 --help(-h) # Print help (see more with '--help')
2350 - def "nu-complete jj revert color" [] {
2351 - [ "always" "never" "debug" "auto" ]
2354 1827 # A dummy command that accepts any arguments
2355 1828 export extern "jj revert" [
2356 1829 ..._args: string
2357 - --repository(-R): path # Path to repository to operate on
1830 + --repository(-R): string # Path to repository to operate on
2358 1831 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2359 1832 --ignore-immutable # Allow rewriting immutable commits
2360 1833 --at-operation: string # Operation to load the repo at
2361 1834 --at-op: string # Operation to load the repo at
2362 1835 --debug # Enable debug logging
2363 - --color: string@"nu-complete jj revert color" # When to colorize output
1836 + --color: string # When to colorize output (always, never, debug, auto)
2364 1837 --quiet # Silence non-primary command output
2365 1838 --no-pager # Disable the pager
2366 - --config: string # Additional configuration options (can be repeated)
2367 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2368 - --config-file: path # Additional configuration files (can be repeated)
1839 + --config-toml: string # Additional configuration options (can be repeated)
2369 1840 --help(-h) # Print help (see more with '--help')
2372 - def "nu-complete jj root color" [] {
2373 - [ "always" "never" "debug" "auto" ]
2376 1843 # Show the current workspace root directory
2377 1844 export extern "jj root" [
2378 - --repository(-R): path # Path to repository to operate on
1845 + --repository(-R): string # Path to repository to operate on
2379 1846 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2380 1847 --ignore-immutable # Allow rewriting immutable commits
2381 1848 --at-operation: string # Operation to load the repo at
2382 1849 --at-op: string # Operation to load the repo at
2383 1850 --debug # Enable debug logging
2384 - --color: string@"nu-complete jj root color" # When to colorize output
1851 + --color: string # When to colorize output (always, never, debug, auto)
2385 1852 --quiet # Silence non-primary command output
2386 1853 --no-pager # Disable the pager
2387 - --config: string # Additional configuration options (can be repeated)
2388 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2389 - --config-file: path # Additional configuration files (can be repeated)
1854 + --config-toml: string # Additional configuration options (can be repeated)
2390 1855 --help(-h) # Print help (see more with '--help')
2393 - def "nu-complete jj run color" [] {
2394 - [ "always" "never" "debug" "auto" ]
2397 1858 # (**Stub**, does not work yet) Run a command across a set of revisions.
2398 1859 export extern "jj run" [
2399 1860 shell_command: string # The command to run across all selected revisions
2400 1861 --revisions(-r): string # The revisions to change
2401 1862 -x # A no-op option to match the interface of `git rebase -x`
2402 1863 --jobs(-j): string # How many processes should run in parallel, uses by default all cores
2403 - --repository(-R): path # Path to repository to operate on
1864 + --repository(-R): string # Path to repository to operate on
2404 1865 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2405 1866 --ignore-immutable # Allow rewriting immutable commits
2406 1867 --at-operation: string # Operation to load the repo at
2407 1868 --at-op: string # Operation to load the repo at
2408 1869 --debug # Enable debug logging
2409 - --color: string@"nu-complete jj run color" # When to colorize output
1870 + --color: string # When to colorize output (always, never, debug, auto)
2410 1871 --quiet # Silence non-primary command output
2411 1872 --no-pager # Disable the pager
2412 - --config: string # Additional configuration options (can be repeated)
2413 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2414 - --config-file: path # Additional configuration files (can be repeated)
1873 + --config-toml: string # Additional configuration options (can be repeated)
2415 1874 --help(-h) # Print help (see more with '--help')
2418 - def "nu-complete jj show color" [] {
2419 - [ "always" "never" "debug" "auto" ]
2422 1877 # Show commit description and changes in a revision
2423 1878 export extern "jj show" [
2424 1879 revision?: string # Show changes in this revision, compared to its parent(s)
2434 1889 --context: string # Number of lines of context to show
2435 1890 --ignore-all-space # Ignore whitespace when comparing lines
2436 1891 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
2437 - --repository(-R): path # Path to repository to operate on
1892 + --repository(-R): string # Path to repository to operate on
2438 1893 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2439 1894 --ignore-immutable # Allow rewriting immutable commits
2440 1895 --at-operation: string # Operation to load the repo at
2441 1896 --at-op: string # Operation to load the repo at
2442 1897 --debug # Enable debug logging
2443 - --color: string@"nu-complete jj show color" # When to colorize output
1898 + --color: string # When to colorize output (always, never, debug, auto)
2444 1899 --quiet # Silence non-primary command output
2445 1900 --no-pager # Disable the pager
2446 - --config: string # Additional configuration options (can be repeated)
2447 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2448 - --config-file: path # Additional configuration files (can be repeated)
1901 + --config-toml: string # Additional configuration options (can be repeated)
2449 1902 --help(-h) # Print help (see more with '--help')
2452 - def "nu-complete jj simplify-parents color" [] {
2453 - [ "always" "never" "debug" "auto" ]
2456 1905 # Simplify parent edges for the specified revision(s)
2457 1906 export extern "jj simplify-parents" [
2458 1907 --source(-s): string # Simplify specified revision(s) together with their trees of descendants (can be repeated)
2459 1908 --revisions(-r): string # Simplify specified revision(s) (can be repeated)
2460 - --repository(-R): path # Path to repository to operate on
1909 + --repository(-R): string # Path to repository to operate on
2461 1910 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2462 1911 --ignore-immutable # Allow rewriting immutable commits
2463 1912 --at-operation: string # Operation to load the repo at
2464 1913 --at-op: string # Operation to load the repo at
2465 1914 --debug # Enable debug logging
2466 - --color: string@"nu-complete jj simplify-parents color" # When to colorize output
1915 + --color: string # When to colorize output (always, never, debug, auto)
2467 1916 --quiet # Silence non-primary command output
2468 1917 --no-pager # Disable the pager
2469 - --config: string # Additional configuration options (can be repeated)
2470 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2471 - --config-file: path # Additional configuration files (can be repeated)
1918 + --config-toml: string # Additional configuration options (can be repeated)
2472 1919 --help(-h) # Print help (see more with '--help')
2475 - def "nu-complete jj sparse color" [] {
2476 - [ "always" "never" "debug" "auto" ]
2479 1922 # Manage which paths from the working-copy commit are present in the working copy
2480 1923 export extern "jj sparse" [
2481 - --repository(-R): path # Path to repository to operate on
1924 + --repository(-R): string # Path to repository to operate on
2482 1925 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2483 1926 --ignore-immutable # Allow rewriting immutable commits
2484 1927 --at-operation: string # Operation to load the repo at
2485 1928 --at-op: string # Operation to load the repo at
2486 1929 --debug # Enable debug logging
2487 - --color: string@"nu-complete jj sparse color" # When to colorize output
1930 + --color: string # When to colorize output (always, never, debug, auto)
2488 1931 --quiet # Silence non-primary command output
2489 1932 --no-pager # Disable the pager
2490 - --config: string # Additional configuration options (can be repeated)
2491 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2492 - --config-file: path # Additional configuration files (can be repeated)
1933 + --config-toml: string # Additional configuration options (can be repeated)
2493 1934 --help(-h) # Print help (see more with '--help')
2496 - def "nu-complete jj sparse edit color" [] {
2497 - [ "always" "never" "debug" "auto" ]
2500 1937 # Start an editor to update the patterns that are present in the working copy
2501 1938 export extern "jj sparse edit" [
2502 - --repository(-R): path # Path to repository to operate on
1939 + --repository(-R): string # Path to repository to operate on
2503 1940 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2504 1941 --ignore-immutable # Allow rewriting immutable commits
2505 1942 --at-operation: string # Operation to load the repo at
2506 1943 --at-op: string # Operation to load the repo at
2507 1944 --debug # Enable debug logging
2508 - --color: string@"nu-complete jj sparse edit color" # When to colorize output
1945 + --color: string # When to colorize output (always, never, debug, auto)
2509 1946 --quiet # Silence non-primary command output
2510 1947 --no-pager # Disable the pager
2511 - --config: string # Additional configuration options (can be repeated)
2512 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2513 - --config-file: path # Additional configuration files (can be repeated)
1948 + --config-toml: string # Additional configuration options (can be repeated)
2514 1949 --help(-h) # Print help (see more with '--help')
2517 - def "nu-complete jj sparse list color" [] {
2518 - [ "always" "never" "debug" "auto" ]
2521 1952 # List the patterns that are currently present in the working copy
2522 1953 export extern "jj sparse list" [
2523 - --repository(-R): path # Path to repository to operate on
1954 + --repository(-R): string # Path to repository to operate on
2524 1955 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2525 1956 --ignore-immutable # Allow rewriting immutable commits
2526 1957 --at-operation: string # Operation to load the repo at
2527 1958 --at-op: string # Operation to load the repo at
2528 1959 --debug # Enable debug logging
2529 - --color: string@"nu-complete jj sparse list color" # When to colorize output
1960 + --color: string # When to colorize output (always, never, debug, auto)
2530 1961 --quiet # Silence non-primary command output
2531 1962 --no-pager # Disable the pager
2532 - --config: string # Additional configuration options (can be repeated)
2533 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2534 - --config-file: path # Additional configuration files (can be repeated)
1963 + --config-toml: string # Additional configuration options (can be repeated)
2535 1964 --help(-h) # Print help (see more with '--help')
2538 - def "nu-complete jj sparse reset color" [] {
2539 - [ "always" "never" "debug" "auto" ]
2542 1967 # Reset the patterns to include all files in the working copy
2543 1968 export extern "jj sparse reset" [
2544 - --repository(-R): path # Path to repository to operate on
1969 + --repository(-R): string # Path to repository to operate on
2545 1970 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2546 1971 --ignore-immutable # Allow rewriting immutable commits
2547 1972 --at-operation: string # Operation to load the repo at
2548 1973 --at-op: string # Operation to load the repo at
2549 1974 --debug # Enable debug logging
2550 - --color: string@"nu-complete jj sparse reset color" # When to colorize output
1975 + --color: string # When to colorize output (always, never, debug, auto)
2551 1976 --quiet # Silence non-primary command output
2552 1977 --no-pager # Disable the pager
2553 - --config: string # Additional configuration options (can be repeated)
2554 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2555 - --config-file: path # Additional configuration files (can be repeated)
1978 + --config-toml: string # Additional configuration options (can be repeated)
2556 1979 --help(-h) # Print help (see more with '--help')
2559 - def "nu-complete jj sparse set color" [] {
2560 - [ "always" "never" "debug" "auto" ]
2563 1982 # Update the patterns that are present in the working copy
2564 1983 export extern "jj sparse set" [
2565 - --add: path # Patterns to add to the working copy
2566 - --remove: path # Patterns to remove from the working copy
1984 + --add: string # Patterns to add to the working copy
1985 + --remove: string # Patterns to remove from the working copy
2567 1986 --clear # Include no files in the working copy (combine with --add)
2568 - --repository(-R): path # Path to repository to operate on
1987 + --repository(-R): string # Path to repository to operate on
2569 1988 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2570 1989 --ignore-immutable # Allow rewriting immutable commits
2571 1990 --at-operation: string # Operation to load the repo at
2572 1991 --at-op: string # Operation to load the repo at
2573 1992 --debug # Enable debug logging
2574 - --color: string@"nu-complete jj sparse set color" # When to colorize output
1993 + --color: string # When to colorize output (always, never, debug, auto)
2575 1994 --quiet # Silence non-primary command output
2576 1995 --no-pager # Disable the pager
2577 - --config: string # Additional configuration options (can be repeated)
2578 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2579 - --config-file: path # Additional configuration files (can be repeated)
1996 + --config-toml: string # Additional configuration options (can be repeated)
2580 1997 --help(-h) # Print help (see more with '--help')
2583 - def "nu-complete jj split color" [] {
2584 - [ "always" "never" "debug" "auto" ]
2587 2000 # Split a revision in two
2588 2001 export extern "jj split" [
2589 - --interactive(-i) # Interactively choose which parts to split
2002 + --interactive(-i) # Interactively choose which parts to split. This is the default if no paths are provided
2590 2003 --tool: string # Specify diff editor to be used (implies --interactive)
2591 2004 --revision(-r): string # The revision to split
2592 2005 --parallel(-p) # Split the revision into two parallel revisions instead of a parent and child
2593 - ...paths: path # Files matching any of these filesets are put in the first commit
2594 - --repository(-R): path # Path to repository to operate on
2006 + ...paths: string # Put these paths in the first commit
2007 + --repository(-R): string # Path to repository to operate on
2595 2008 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2596 2009 --ignore-immutable # Allow rewriting immutable commits
2597 2010 --at-operation: string # Operation to load the repo at
2598 2011 --at-op: string # Operation to load the repo at
2599 2012 --debug # Enable debug logging
2600 - --color: string@"nu-complete jj split color" # When to colorize output
2013 + --color: string # When to colorize output (always, never, debug, auto)
2601 2014 --quiet # Silence non-primary command output
2602 2015 --no-pager # Disable the pager
2603 - --config: string # Additional configuration options (can be repeated)
2604 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2605 - --config-file: path # Additional configuration files (can be repeated)
2016 + --config-toml: string # Additional configuration options (can be repeated)
2606 2017 --help(-h) # Print help (see more with '--help')
2609 - def "nu-complete jj squash color" [] {
2610 - [ "always" "never" "debug" "auto" ]
2613 2020 # Move changes from a revision into another revision
2614 2021 export extern "jj squash" [
2615 2022 --revision(-r): string # Revision to squash into its parent (default: @)
2620 2027 --use-destination-message(-u) # Use the description of the destination revision and discard the description(s) of the source revision(s)
2621 2028 --interactive(-i) # Interactively choose which parts to squash
2622 2029 --tool: string # Specify diff editor to be used (implies --interactive)
2623 - ...paths: path # Move only changes to these paths (instead of all paths)
2030 + ...paths: string # Move only changes to these paths (instead of all paths)
2624 2031 --keep-emptied(-k) # The source revision will not be abandoned
2625 - --repository(-R): path # Path to repository to operate on
2032 + --repository(-R): string # Path to repository to operate on
2626 2033 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2627 2034 --ignore-immutable # Allow rewriting immutable commits
2628 2035 --at-operation: string # Operation to load the repo at
2629 2036 --at-op: string # Operation to load the repo at
2630 2037 --debug # Enable debug logging
2631 - --color: string@"nu-complete jj squash color" # When to colorize output
2038 + --color: string # When to colorize output (always, never, debug, auto)
2632 2039 --quiet # Silence non-primary command output
2633 2040 --no-pager # Disable the pager
2634 - --config: string # Additional configuration options (can be repeated)
2635 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2636 - --config-file: path # Additional configuration files (can be repeated)
2041 + --config-toml: string # Additional configuration options (can be repeated)
2637 2042 --help(-h) # Print help (see more with '--help')
2640 - def "nu-complete jj status color" [] {
2641 - [ "always" "never" "debug" "auto" ]
2644 2045 # Show high-level repo status
2645 2046 export extern "jj status" [
2646 - ...paths: path # Restrict the status display to these paths
2647 - --repository(-R): path # Path to repository to operate on
2047 + ...paths: string # Restrict the status display to these paths
2048 + --repository(-R): string # Path to repository to operate on
2648 2049 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2649 2050 --ignore-immutable # Allow rewriting immutable commits
2650 2051 --at-operation: string # Operation to load the repo at
2651 2052 --at-op: string # Operation to load the repo at
2652 2053 --debug # Enable debug logging
2653 - --color: string@"nu-complete jj status color" # When to colorize output
2054 + --color: string # When to colorize output (always, never, debug, auto)
2654 2055 --quiet # Silence non-primary command output
2655 2056 --no-pager # Disable the pager
2656 - --config: string # Additional configuration options (can be repeated)
2657 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2658 - --config-file: path # Additional configuration files (can be repeated)
2057 + --config-toml: string # Additional configuration options (can be repeated)
2659 2058 --help(-h) # Print help (see more with '--help')
2662 - def "nu-complete jj tag color" [] {
2663 - [ "always" "never" "debug" "auto" ]
2666 2061 # Manage tags
2667 2062 export extern "jj tag" [
2668 - --repository(-R): path # Path to repository to operate on
2063 + --repository(-R): string # Path to repository to operate on
2669 2064 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2670 2065 --ignore-immutable # Allow rewriting immutable commits
2671 2066 --at-operation: string # Operation to load the repo at
2672 2067 --at-op: string # Operation to load the repo at
2673 2068 --debug # Enable debug logging
2674 - --color: string@"nu-complete jj tag color" # When to colorize output
2069 + --color: string # When to colorize output (always, never, debug, auto)
2675 2070 --quiet # Silence non-primary command output
2676 2071 --no-pager # Disable the pager
2677 - --config: string # Additional configuration options (can be repeated)
2678 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2679 - --config-file: path # Additional configuration files (can be repeated)
2072 + --config-toml: string # Additional configuration options (can be repeated)
2680 2073 --help(-h) # Print help (see more with '--help')
2683 - def "nu-complete jj tag list color" [] {
2684 - [ "always" "never" "debug" "auto" ]
2687 2076 # List tags
2688 2077 export extern "jj tag list" [
2689 2078 ...names: string # Show tags whose local name matches
2690 2079 --template(-T): string # Render each tag using the given template
2691 - --repository(-R): path # Path to repository to operate on
2080 + --repository(-R): string # Path to repository to operate on
2692 2081 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2693 2082 --ignore-immutable # Allow rewriting immutable commits
2694 2083 --at-operation: string # Operation to load the repo at
2695 2084 --at-op: string # Operation to load the repo at
2696 2085 --debug # Enable debug logging
2697 - --color: string@"nu-complete jj tag list color" # When to colorize output
2086 + --color: string # When to colorize output (always, never, debug, auto)
2698 2087 --quiet # Silence non-primary command output
2699 2088 --no-pager # Disable the pager
2700 - --config: string # Additional configuration options (can be repeated)
2701 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2702 - --config-file: path # Additional configuration files (can be repeated)
2089 + --config-toml: string # Additional configuration options (can be repeated)
2703 2090 --help(-h) # Print help (see more with '--help')
2706 - def "nu-complete jj util color" [] {
2707 - [ "always" "never" "debug" "auto" ]
2710 2093 # Infrequently used commands such as for generating shell completions
2711 2094 export extern "jj util" [
2712 - --repository(-R): path # Path to repository to operate on
2095 + --repository(-R): string # Path to repository to operate on
2713 2096 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2714 2097 --ignore-immutable # Allow rewriting immutable commits
2715 2098 --at-operation: string # Operation to load the repo at
2716 2099 --at-op: string # Operation to load the repo at
2717 2100 --debug # Enable debug logging
2718 - --color: string@"nu-complete jj util color" # When to colorize output
2101 + --color: string # When to colorize output (always, never, debug, auto)
2719 2102 --quiet # Silence non-primary command output
2720 2103 --no-pager # Disable the pager
2721 - --config: string # Additional configuration options (can be repeated)
2722 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2723 - --config-file: path # Additional configuration files (can be repeated)
2104 + --config-toml: string # Additional configuration options (can be repeated)
2724 2105 --help(-h) # Print help (see more with '--help')
2728 2109 [ "bash" "elvish" "fish" "nushell" "power-shell" "zsh" ]
2731 - def "nu-complete jj util completion color" [] {
2732 - [ "always" "never" "debug" "auto" ]
2735 2112 # Print a command-line-completion script
2736 2113 export extern "jj util completion" [
2737 2114 shell?: string@"nu-complete jj util completion shell"
2738 2115 --bash # Deprecated. Use the SHELL positional argument instead
2739 2116 --fish # Deprecated. Use the SHELL positional argument instead
2740 2117 --zsh # Deprecated. Use the SHELL positional argument instead
2741 - --repository(-R): path # Path to repository to operate on
2118 + --repository(-R): string # Path to repository to operate on
2742 2119 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2743 2120 --ignore-immutable # Allow rewriting immutable commits
2744 2121 --at-operation: string # Operation to load the repo at
2745 2122 --at-op: string # Operation to load the repo at
2746 2123 --debug # Enable debug logging
2747 - --color: string@"nu-complete jj util completion color" # When to colorize output
2124 + --color: string # When to colorize output (always, never, debug, auto)
2748 2125 --quiet # Silence non-primary command output
2749 2126 --no-pager # Disable the pager
2750 - --config: string # Additional configuration options (can be repeated)
2751 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2752 - --config-file: path # Additional configuration files (can be repeated)
2127 + --config-toml: string # Additional configuration options (can be repeated)
2753 2128 --help(-h) # Print help (see more with '--help')
2756 - def "nu-complete jj util config-schema color" [] {
2757 - [ "always" "never" "debug" "auto" ]
2760 2131 # Print the JSON schema for the jj TOML config format
2761 2132 export extern "jj util config-schema" [
2762 - --repository(-R): path # Path to repository to operate on
2133 + --repository(-R): string # Path to repository to operate on
2763 2134 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2764 2135 --ignore-immutable # Allow rewriting immutable commits
2765 2136 --at-operation: string # Operation to load the repo at
2766 2137 --at-op: string # Operation to load the repo at
2767 2138 --debug # Enable debug logging
2768 - --color: string@"nu-complete jj util config-schema color" # When to colorize output
2139 + --color: string # When to colorize output (always, never, debug, auto)
2769 2140 --quiet # Silence non-primary command output
2770 2141 --no-pager # Disable the pager
2771 - --config: string # Additional configuration options (can be repeated)
2772 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2773 - --config-file: path # Additional configuration files (can be repeated)
2142 + --config-toml: string # Additional configuration options (can be repeated)
2774 2143 --help(-h) # Print help (see more with '--help')
2777 - def "nu-complete jj util exec color" [] {
2778 - [ "always" "never" "debug" "auto" ]
2781 2146 # Execute an external command via jj
2782 2147 export extern "jj util exec" [
2783 2148 command: string # External command to execute
2784 2149 ...args: string # Arguments to pass to the external command
2785 - --repository(-R): path # Path to repository to operate on
2150 + --repository(-R): string # Path to repository to operate on
2786 2151 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2787 2152 --ignore-immutable # Allow rewriting immutable commits
2788 2153 --at-operation: string # Operation to load the repo at
2789 2154 --at-op: string # Operation to load the repo at
2790 2155 --debug # Enable debug logging
2791 - --color: string@"nu-complete jj util exec color" # When to colorize output
2156 + --color: string # When to colorize output (always, never, debug, auto)
2792 2157 --quiet # Silence non-primary command output
2793 2158 --no-pager # Disable the pager
2794 - --config: string # Additional configuration options (can be repeated)
2795 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2796 - --config-file: path # Additional configuration files (can be repeated)
2159 + --config-toml: string # Additional configuration options (can be repeated)
2797 2160 --help(-h) # Print help (see more with '--help')
2800 - def "nu-complete jj util gc color" [] {
2801 - [ "always" "never" "debug" "auto" ]
2804 2163 # Run backend-dependent garbage collection
2805 2164 export extern "jj util gc" [
2806 2165 --expire: string # Time threshold
2807 - --repository(-R): path # Path to repository to operate on
2166 + --repository(-R): string # Path to repository to operate on
2808 2167 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2809 2168 --ignore-immutable # Allow rewriting immutable commits
2810 2169 --at-operation: string # Operation to load the repo at
2811 2170 --at-op: string # Operation to load the repo at
2812 2171 --debug # Enable debug logging
2813 - --color: string@"nu-complete jj util gc color" # When to colorize output
2172 + --color: string # When to colorize output (always, never, debug, auto)
2814 2173 --quiet # Silence non-primary command output
2815 2174 --no-pager # Disable the pager
2816 - --config: string # Additional configuration options (can be repeated)
2817 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2818 - --config-file: path # Additional configuration files (can be repeated)
2175 + --config-toml: string # Additional configuration options (can be repeated)
2819 2176 --help(-h) # Print help (see more with '--help')
2822 - def "nu-complete jj util install-man-pages color" [] {
2823 - [ "always" "never" "debug" "auto" ]
2826 - # Install Jujutsu's manpages to the provided path
2827 - export extern "jj util install-man-pages" [
2828 - path: path # The path where manpages will installed. An example path might be `/usr/share/man`. The provided path will be appended with `man1`, etc., as appropriate
2829 - --repository(-R): path # Path to repository to operate on
2179 + # Print a ROFF (manpage)
2180 + export extern "jj util mangen" [
2181 + --repository(-R): string # Path to repository to operate on
2830 2182 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2831 2183 --ignore-immutable # Allow rewriting immutable commits
2832 2184 --at-operation: string # Operation to load the repo at
2833 2185 --at-op: string # Operation to load the repo at
2834 2186 --debug # Enable debug logging
2835 - --color: string@"nu-complete jj util install-man-pages color" # When to colorize output
2187 + --color: string # When to colorize output (always, never, debug, auto)
2836 2188 --quiet # Silence non-primary command output
2837 2189 --no-pager # Disable the pager
2838 - --config: string # Additional configuration options (can be repeated)
2839 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2840 - --config-file: path # Additional configuration files (can be repeated)
2190 + --config-toml: string # Additional configuration options (can be repeated)
2841 2191 --help(-h) # Print help (see more with '--help')
2844 - def "nu-complete jj util markdown-help color" [] {
2845 - [ "always" "never" "debug" "auto" ]
2848 2194 # Print the CLI help for all subcommands in Markdown
2849 2195 export extern "jj util markdown-help" [
2850 - --repository(-R): path # Path to repository to operate on
2196 + --repository(-R): string # Path to repository to operate on
2851 2197 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2852 2198 --ignore-immutable # Allow rewriting immutable commits
2853 2199 --at-operation: string # Operation to load the repo at
2854 2200 --at-op: string # Operation to load the repo at
2855 2201 --debug # Enable debug logging
2856 - --color: string@"nu-complete jj util markdown-help color" # When to colorize output
2202 + --color: string # When to colorize output (always, never, debug, auto)
2857 2203 --quiet # Silence non-primary command output
2858 2204 --no-pager # Disable the pager
2859 - --config: string # Additional configuration options (can be repeated)
2860 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2861 - --config-file: path # Additional configuration files (can be repeated)
2205 + --config-toml: string # Additional configuration options (can be repeated)
2862 2206 --help(-h) # Print help (see more with '--help')
2866 2210 [ "repo" "remote-tracking" ]
2869 - def "nu-complete jj undo color" [] {
2870 - [ "always" "never" "debug" "auto" ]
2873 2213 # Undo an operation (shortcut for `jj op undo`)
2874 2214 export extern "jj undo" [
2875 2215 operation?: string # The operation to undo
2876 2216 --what: string@"nu-complete jj undo what" # What portions of the local state to restore (can be repeated)
2877 - --repository(-R): path # Path to repository to operate on
2217 + --repository(-R): string # Path to repository to operate on
2878 2218 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2879 2219 --ignore-immutable # Allow rewriting immutable commits
2880 2220 --at-operation: string # Operation to load the repo at
2881 2221 --at-op: string # Operation to load the repo at
2882 2222 --debug # Enable debug logging
2883 - --color: string@"nu-complete jj undo color" # When to colorize output
2223 + --color: string # When to colorize output (always, never, debug, auto)
2884 2224 --quiet # Silence non-primary command output
2885 2225 --no-pager # Disable the pager
2886 - --config: string # Additional configuration options (can be repeated)
2887 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2888 - --config-file: path # Additional configuration files (can be repeated)
2226 + --config-toml: string # Additional configuration options (can be repeated)
2889 2227 --help(-h) # Print help (see more with '--help')
2892 - def "nu-complete jj unsquash color" [] {
2893 - [ "always" "never" "debug" "auto" ]
2896 2230 # Move changes from a revision's parent into the revision
2897 2231 export extern "jj unsquash" [
2898 2232 --revision(-r): string
2899 2233 --interactive(-i) # Interactively choose which parts to unsquash
2900 2234 --tool: string # Specify diff editor to be used (implies --interactive)
2901 - --repository(-R): path # Path to repository to operate on
2235 + --repository(-R): string # Path to repository to operate on
2902 2236 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2903 2237 --ignore-immutable # Allow rewriting immutable commits
2904 2238 --at-operation: string # Operation to load the repo at
2905 2239 --at-op: string # Operation to load the repo at
2906 2240 --debug # Enable debug logging
2907 - --color: string@"nu-complete jj unsquash color" # When to colorize output
2241 + --color: string # When to colorize output (always, never, debug, auto)
2908 2242 --quiet # Silence non-primary command output
2909 2243 --no-pager # Disable the pager
2910 - --config: string # Additional configuration options (can be repeated)
2911 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2912 - --config-file: path # Additional configuration files (can be repeated)
2244 + --config-toml: string # Additional configuration options (can be repeated)
2913 2245 --help(-h) # Print help (see more with '--help')
2916 - def "nu-complete jj untrack color" [] {
2917 - [ "always" "never" "debug" "auto" ]
2920 2248 # Stop tracking specified paths in the working copy
2921 2249 export extern "jj untrack" [
2922 - ...paths: path # Paths to untrack. They must already be ignored
2923 - --repository(-R): path # Path to repository to operate on
2250 + ...paths: string # Paths to untrack. They must already be ignored
2251 + --repository(-R): string # Path to repository to operate on
2924 2252 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2925 2253 --ignore-immutable # Allow rewriting immutable commits
2926 2254 --at-operation: string # Operation to load the repo at
2927 2255 --at-op: string # Operation to load the repo at
2928 2256 --debug # Enable debug logging
2929 - --color: string@"nu-complete jj untrack color" # When to colorize output
2257 + --color: string # When to colorize output (always, never, debug, auto)
2930 2258 --quiet # Silence non-primary command output
2931 2259 --no-pager # Disable the pager
2932 - --config: string # Additional configuration options (can be repeated)
2933 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2934 - --config-file: path # Additional configuration files (can be repeated)
2260 + --config-toml: string # Additional configuration options (can be repeated)
2935 2261 --help(-h) # Print help (see more with '--help')
2938 - def "nu-complete jj version color" [] {
2939 - [ "always" "never" "debug" "auto" ]
2942 2264 # Display version information
2943 2265 export extern "jj version" [
2944 - --repository(-R): path # Path to repository to operate on
2266 + --repository(-R): string # Path to repository to operate on
2945 2267 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2946 2268 --ignore-immutable # Allow rewriting immutable commits
2947 2269 --at-operation: string # Operation to load the repo at
2948 2270 --at-op: string # Operation to load the repo at
2949 2271 --debug # Enable debug logging
2950 - --color: string@"nu-complete jj version color" # When to colorize output
2272 + --color: string # When to colorize output (always, never, debug, auto)
2951 2273 --quiet # Silence non-primary command output
2952 2274 --no-pager # Disable the pager
2953 - --config: string # Additional configuration options (can be repeated)
2954 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2955 - --config-file: path # Additional configuration files (can be repeated)
2275 + --config-toml: string # Additional configuration options (can be repeated)
2956 2276 --help(-h) # Print help (see more with '--help')
2959 - def "nu-complete jj workspace color" [] {
2960 - [ "always" "never" "debug" "auto" ]
2963 2279 # Commands for working with workspaces
2964 2280 export extern "jj workspace" [
2965 - --repository(-R): path # Path to repository to operate on
2281 + --repository(-R): string # Path to repository to operate on
2966 2282 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2967 2283 --ignore-immutable # Allow rewriting immutable commits
2968 2284 --at-operation: string # Operation to load the repo at
2969 2285 --at-op: string # Operation to load the repo at
2970 2286 --debug # Enable debug logging
2971 - --color: string@"nu-complete jj workspace color" # When to colorize output
2287 + --color: string # When to colorize output (always, never, debug, auto)
2972 2288 --quiet # Silence non-primary command output
2973 2289 --no-pager # Disable the pager
2974 - --config: string # Additional configuration options (can be repeated)
2975 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2976 - --config-file: path # Additional configuration files (can be repeated)
2290 + --config-toml: string # Additional configuration options (can be repeated)
2977 2291 --help(-h) # Print help (see more with '--help')
2981 2295 [ "copy" "full" "empty" ]
2984 - def "nu-complete jj workspace add color" [] {
2985 - [ "always" "never" "debug" "auto" ]
2988 2298 # Add a workspace
2989 2299 export extern "jj workspace add" [
2990 2300 destination: string # Where to create the new workspace
2991 2301 --name: string # A name for the workspace
2992 2302 --revision(-r): string # A list of parent revisions for the working-copy commit of the newly created workspace. You may specify nothing, or any number of parents
2993 2303 --sparse-patterns: string@"nu-complete jj workspace add sparse_patterns" # How to handle sparse patterns when creating a new workspace
2994 - --repository(-R): path # Path to repository to operate on
2304 + --repository(-R): string # Path to repository to operate on
2995 2305 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2996 2306 --ignore-immutable # Allow rewriting immutable commits
2997 2307 --at-operation: string # Operation to load the repo at
2998 2308 --at-op: string # Operation to load the repo at
2999 2309 --debug # Enable debug logging
3000 - --color: string@"nu-complete jj workspace add color" # When to colorize output
2310 + --color: string # When to colorize output (always, never, debug, auto)
3001 2311 --quiet # Silence non-primary command output
3002 2312 --no-pager # Disable the pager
3003 - --config: string # Additional configuration options (can be repeated)
3004 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
3005 - --config-file: path # Additional configuration files (can be repeated)
2313 + --config-toml: string # Additional configuration options (can be repeated)
3006 2314 --help(-h) # Print help (see more with '--help')
3009 - def "nu-complete jj workspace forget color" [] {
3010 - [ "always" "never" "debug" "auto" ]
3013 2317 # Stop tracking a workspace's working-copy commit in the repo
3014 2318 export extern "jj workspace forget" [
3015 2319 ...workspaces: string # Names of the workspaces to forget. By default, forgets only the current workspace
3016 - --repository(-R): path # Path to repository to operate on
2320 + --repository(-R): string # Path to repository to operate on
3017 2321 --ignore-working-copy # Don't snapshot the working copy, and don't update it
3018 2322 --ignore-immutable # Allow rewriting immutable commits
3019 2323 --at-operation: string # Operation to load the repo at
3020 2324 --at-op: string # Operation to load the repo at
3021 2325 --debug # Enable debug logging
3022 - --color: string@"nu-complete jj workspace forget color" # When to colorize output
2326 + --color: string # When to colorize output (always, never, debug, auto)
3023 2327 --quiet # Silence non-primary command output
3024 2328 --no-pager # Disable the pager
3025 - --config: string # Additional configuration options (can be repeated)
3026 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
3027 - --config-file: path # Additional configuration files (can be repeated)
2329 + --config-toml: string # Additional configuration options (can be repeated)
3028 2330 --help(-h) # Print help (see more with '--help')
3031 - def "nu-complete jj workspace list color" [] {
3032 - [ "always" "never" "debug" "auto" ]
3035 2333 # List workspaces
3036 2334 export extern "jj workspace list" [
3037 - --repository(-R): path # Path to repository to operate on
2335 + --repository(-R): string # Path to repository to operate on
3038 2336 --ignore-working-copy # Don't snapshot the working copy, and don't update it
3039 2337 --ignore-immutable # Allow rewriting immutable commits
3040 2338 --at-operation: string # Operation to load the repo at
3041 2339 --at-op: string # Operation to load the repo at
3042 2340 --debug # Enable debug logging
3043 - --color: string@"nu-complete jj workspace list color" # When to colorize output
2341 + --color: string # When to colorize output (always, never, debug, auto)
3044 2342 --quiet # Silence non-primary command output
3045 2343 --no-pager # Disable the pager
3046 - --config: string # Additional configuration options (can be repeated)
3047 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
3048 - --config-file: path # Additional configuration files (can be repeated)
2344 + --config-toml: string # Additional configuration options (can be repeated)
3049 2345 --help(-h) # Print help (see more with '--help')
3052 - def "nu-complete jj workspace rename color" [] {
3053 - [ "always" "never" "debug" "auto" ]
3056 2348 # Renames the current workspace
3057 2349 export extern "jj workspace rename" [
3058 2350 new_workspace_name: string # The name of the workspace to update to
3059 - --repository(-R): path # Path to repository to operate on
2351 + --repository(-R): string # Path to repository to operate on
3060 2352 --ignore-working-copy # Don't snapshot the working copy, and don't update it
3061 2353 --ignore-immutable # Allow rewriting immutable commits
3062 2354 --at-operation: string # Operation to load the repo at
3063 2355 --at-op: string # Operation to load the repo at
3064 2356 --debug # Enable debug logging
3065 - --color: string@"nu-complete jj workspace rename color" # When to colorize output
2357 + --color: string # When to colorize output (always, never, debug, auto)
3066 2358 --quiet # Silence non-primary command output
3067 2359 --no-pager # Disable the pager
3068 - --config: string # Additional configuration options (can be repeated)
3069 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
3070 - --config-file: path # Additional configuration files (can be repeated)
2360 + --config-toml: string # Additional configuration options (can be repeated)
3071 2361 --help(-h) # Print help (see more with '--help')
3074 - def "nu-complete jj workspace root color" [] {
3075 - [ "always" "never" "debug" "auto" ]
3078 2364 # Show the current workspace root directory
3079 2365 export extern "jj workspace root" [
3080 - --repository(-R): path # Path to repository to operate on
2366 + --repository(-R): string # Path to repository to operate on
3081 2367 --ignore-working-copy # Don't snapshot the working copy, and don't update it
3082 2368 --ignore-immutable # Allow rewriting immutable commits
3083 2369 --at-operation: string # Operation to load the repo at
3084 2370 --at-op: string # Operation to load the repo at
3085 2371 --debug # Enable debug logging
3086 - --color: string@"nu-complete jj workspace root color" # When to colorize output
2372 + --color: string # When to colorize output (always, never, debug, auto)
3087 2373 --quiet # Silence non-primary command output
3088 2374 --no-pager # Disable the pager
3089 - --config: string # Additional configuration options (can be repeated)
3090 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
3091 - --config-file: path # Additional configuration files (can be repeated)
2375 + --config-toml: string # Additional configuration options (can be repeated)
3092 2376 --help(-h) # Print help (see more with '--help')
3095 - def "nu-complete jj workspace update-stale color" [] {
3096 - [ "always" "never" "debug" "auto" ]
3099 2379 # Update a workspace that has become stale
3100 2380 export extern "jj workspace update-stale" [
3101 - --repository(-R): path # Path to repository to operate on
2381 + --repository(-R): string # Path to repository to operate on
3102 2382 --ignore-working-copy # Don't snapshot the working copy, and don't update it
3103 2383 --ignore-immutable # Allow rewriting immutable commits
3104 2384 --at-operation: string # Operation to load the repo at
3105 2385 --at-op: string # Operation to load the repo at
3106 2386 --debug # Enable debug logging
3107 - --color: string@"nu-complete jj workspace update-stale color" # When to colorize output
2387 + --color: string # When to colorize output (always, never, debug, auto)
3108 2388 --quiet # Silence non-primary command output
3109 2389 --no-pager # Disable the pager
3110 - --config: string # Additional configuration options (can be repeated)
3111 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
3112 - --config-file: path # Additional configuration files (can be repeated)
2390 + --config-toml: string # Additional configuration options (can be repeated)
3113 2391 --help(-h) # Print help (see more with '--help')