repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

nushell: new completions and notes command

b430e5da6d34ae303cae5d3530f439a26044e875

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (16)

git/gitconfig

Modified
8 8 # `git diff` with difftastic.
9 9 dft = -c diff.external=difft diff
11 + ci = commit --all
13 + st = status
11 15 [core]
12 16 editor = nvim
13 17 quotepath = false
109 113 # On each host a different file might be symlinked into '.gitconfig.include'.
110 114 [include]
111 115 path = .gitconfig.include

helix/config.toml

Modified
1 -theme = "nugu-dark"
1 +theme = "nugu-light"
3 3 [editor]
4 4 shell = ["nu", "--commands"]

neovim/lua/bugabinga/nugu/palette_dark.lua

Modified
4 4 return {
5 5 debug = '#ff00ff',
6 6 error = '#6f1d3a',
7 7 info = '#5f7796',
8 8 warning = '#967653',
10 - content_normal = '#fafafa',
11 - content_backdrop = '#020202',
12 - content_accent = '#5d005d',
13 - content_minor = '#757575',
14 - content_focus = '#2eb3d1',
15 - content_unfocus = '#016a85',
16 - content_important_global = '#5e45c5',
17 - content_important_local = '#5e45c5',
10 + content_normal = '#d4d4d4',
11 + content_backdrop = '#121212',
12 + content_accent = '#750b75',
13 + content_minor = '#4f4f4f',
14 + content_focus = '#51818c',
15 + content_unfocus = '#28454b',
16 + content_important_global = '#6d5bb1',
17 + content_important_local = '#483a7b',
19 - ui_normal = '#fcfcfc',
19 + ui_normal = '#e6e6e6',
20 20 ui_backdrop = '#000000',
21 21 ui_accent = '#5a265a',
22 22 ui_minor = '#242424',
22 22 ui_important_global = '#514a6c',
23 23 ui_important_local = '#2a2638',

neovim/lua/bugabinga/nugu/palette_light.lua

Modified
4 4 return {
5 5 debug = '#ff00ff',
6 6 error = '#d6638b',
7 7 info = '#c7d0db',
8 8 warning = '#d9cbbb',
10 - content_normal = '#050505',
11 - content_backdrop = '#fdfdfd',
12 - content_accent = '#a300a3',
13 - content_minor = '#525252',
14 - content_focus = '#017b9a',
15 - content_unfocus = '#40b8d6',
16 - content_important_global = '#4a25a9',
17 - content_important_local = '#4a25a9',
10 + content_normal = '#2b2b2b',
11 + content_backdrop = '#ededed',
12 + content_accent = '#750b75',
13 + content_minor = '#787878',
14 + content_focus = '#267b8e',
15 + content_unfocus = '#929292',
16 + content_important_global = '#553d98',
17 + content_important_local = '#8169c3',
19 - ui_normal = '#030303',
19 + ui_normal = '#1a1a1a',
20 20 ui_backdrop = '#ffffff',
21 21 ui_accent = '#5a265a',
22 22 ui_minor = '#a3a3a3',
22 22 ui_important_global = '#897bb1',
23 23 ui_important_local = '#bab1d1',

neovim/spell/nerd.utf-8.add

Modified
113 113 Rätselantworten
114 114 minidlna
115 115 systemd
116 +filetype
117 +Libcyber
118 +REPL
119 +Bézier

neovim/spell/nerd.utf-8.add.spl

Modified

Previous version contains binary or non-UTF-8 data.

Current version contains binary or non-UTF-8 data.

nushell/completions/jj-completions.nu

Added
new file mode 100644
1 +module completions {
3 + # Jujutsu (An experimental VCS)
4 + export extern jj [
5 + --repository(-R): string # Path to repository to operate on
6 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
7 + --ignore-immutable # Allow rewriting immutable commits
8 + --at-operation: string # Operation to load the repo at
9 + --at-op: string # Operation to load the repo at
10 + --debug # Enable debug logging
11 + --color: string # When to colorize output (always, never, debug, auto)
12 + --quiet # Silence non-primary command output
13 + --no-pager # Disable the pager
14 + --config-toml: string # Additional configuration options (can be repeated)
15 + --help(-h) # Print help (see more with '--help')
16 + --version(-V) # Print version
17 + ]
19 + # Abandon a revision
20 + export extern "jj abandon" [
21 + ...revisions: string # The revision(s) to abandon
22 + --summary(-s) # Do not print every abandoned commit on a separate line
23 + -r # Ignored (but lets you pass `-r` for consistency with other commands)
24 + --restore-descendants # Do not modify the content of the children of the abandoned commits
25 + --repository(-R): string # Path to repository to operate on
26 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
27 + --ignore-immutable # Allow rewriting immutable commits
28 + --at-operation: string # Operation to load the repo at
29 + --at-op: string # Operation to load the repo at
30 + --debug # Enable debug logging
31 + --color: string # When to colorize output (always, never, debug, auto)
32 + --quiet # Silence non-primary command output
33 + --no-pager # Disable the pager
34 + --config-toml: string # Additional configuration options (can be repeated)
35 + --help(-h) # Print help (see more with '--help')
36 + ]
38 + # Apply the reverse of a revision on top of another revision
39 + export extern "jj backout" [
40 + --revisions(-r): string # The revision(s) to apply the reverse of
41 + --destination(-d): string # The revision to apply the reverse changes on top of
42 + --repository(-R): string # Path to repository to operate on
43 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
44 + --ignore-immutable # Allow rewriting immutable commits
45 + --at-operation: string # Operation to load the repo at
46 + --at-op: string # Operation to load the repo at
47 + --debug # Enable debug logging
48 + --color: string # When to colorize output (always, never, debug, auto)
49 + --quiet # Silence non-primary command output
50 + --no-pager # Disable the pager
51 + --config-toml: string # Additional configuration options (can be repeated)
52 + --help(-h) # Print help (see more with '--help')
53 + ]
55 + # Manage bookmarks
56 + export extern "jj bookmark" [
57 + --repository(-R): string # Path to repository to operate on
58 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
59 + --ignore-immutable # Allow rewriting immutable commits
60 + --at-operation: string # Operation to load the repo at
61 + --at-op: string # Operation to load the repo at
62 + --debug # Enable debug logging
63 + --color: string # When to colorize output (always, never, debug, auto)
64 + --quiet # Silence non-primary command output
65 + --no-pager # Disable the pager
66 + --config-toml: string # Additional configuration options (can be repeated)
67 + --help(-h) # Print help (see more with '--help')
68 + ]
70 + # Create a new bookmark
71 + export extern "jj bookmark create" [
72 + --revision(-r): string # The bookmark's target revision
73 + --to: string # The bookmark's target revision
74 + ...names: string # The bookmarks to create
75 + --repository(-R): string # Path to repository to operate on
76 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
77 + --ignore-immutable # Allow rewriting immutable commits
78 + --at-operation: string # Operation to load the repo at
79 + --at-op: string # Operation to load the repo at
80 + --debug # Enable debug logging
81 + --color: string # When to colorize output (always, never, debug, auto)
82 + --quiet # Silence non-primary command output
83 + --no-pager # Disable the pager
84 + --config-toml: string # Additional configuration options (can be repeated)
85 + --help(-h) # Print help (see more with '--help')
86 + ]
88 + # Delete an existing bookmark and propagate the deletion to remotes on the next push
89 + export extern "jj bookmark delete" [
90 + ...names: string # The bookmarks to delete
91 + --repository(-R): string # Path to repository to operate on
92 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
93 + --ignore-immutable # Allow rewriting immutable commits
94 + --at-operation: string # Operation to load the repo at
95 + --at-op: string # Operation to load the repo at
96 + --debug # Enable debug logging
97 + --color: string # When to colorize output (always, never, debug, auto)
98 + --quiet # Silence non-primary command output
99 + --no-pager # Disable the pager
100 + --config-toml: string # Additional configuration options (can be repeated)
101 + --help(-h) # Print help (see more with '--help')
104 + # Forget everything about a bookmark, including its local and remote targets
105 + export extern "jj bookmark forget" [
106 + ...names: string # The bookmarks to forget
107 + --repository(-R): string # Path to repository to operate on
108 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
109 + --ignore-immutable # Allow rewriting immutable commits
110 + --at-operation: string # Operation to load the repo at
111 + --at-op: string # Operation to load the repo at
112 + --debug # Enable debug logging
113 + --color: string # When to colorize output (always, never, debug, auto)
114 + --quiet # Silence non-primary command output
115 + --no-pager # Disable the pager
116 + --config-toml: string # Additional configuration options (can be repeated)
117 + --help(-h) # Print help (see more with '--help')
120 + # List bookmarks and their targets
121 + export extern "jj bookmark list" [
122 + --all-remotes(-a) # Show all tracking and non-tracking remote bookmarks including the ones whose targets are synchronized with the local bookmarks
123 + --tracked(-t) # Show remote tracked bookmarks only. Omits local Git-tracking bookmarks by default
124 + --conflicted(-c) # Show conflicted bookmarks only
125 + ...names: string # Show bookmarks whose local name matches
126 + --revisions(-r): string # Show bookmarks whose local targets are in the given revisions
127 + --template(-T): string # Render each bookmark using the given template
128 + --repository(-R): string # Path to repository to operate on
129 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
130 + --ignore-immutable # Allow rewriting immutable commits
131 + --at-operation: string # Operation to load the repo at
132 + --at-op: string # Operation to load the repo at
133 + --debug # Enable debug logging
134 + --color: string # When to colorize output (always, never, debug, auto)
135 + --quiet # Silence non-primary command output
136 + --no-pager # Disable the pager
137 + --config-toml: string # Additional configuration options (can be repeated)
138 + --help(-h) # Print help (see more with '--help')
141 + # Move existing bookmarks to target revision
142 + export extern "jj bookmark move" [
143 + --from: string # Move bookmarks from the given revisions
144 + --to: string # Move bookmarks to this revision
145 + --allow-backwards(-B) # Allow moving bookmarks backwards or sideways
146 + ...names: string # Move bookmarks matching the given name patterns
147 + --repository(-R): string # Path to repository to operate on
148 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
149 + --ignore-immutable # Allow rewriting immutable commits
150 + --at-operation: string # Operation to load the repo at
151 + --at-op: string # Operation to load the repo at
152 + --debug # Enable debug logging
153 + --color: string # When to colorize output (always, never, debug, auto)
154 + --quiet # Silence non-primary command output
155 + --no-pager # Disable the pager
156 + --config-toml: string # Additional configuration options (can be repeated)
157 + --help(-h) # Print help (see more with '--help')
160 + # Rename `old` bookmark name to `new` bookmark name
161 + export extern "jj bookmark rename" [
162 + old: string # The old name of the bookmark
163 + new: string # The new name of the bookmark
164 + --repository(-R): string # Path to repository to operate on
165 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
166 + --ignore-immutable # Allow rewriting immutable commits
167 + --at-operation: string # Operation to load the repo at
168 + --at-op: string # Operation to load the repo at
169 + --debug # Enable debug logging
170 + --color: string # When to colorize output (always, never, debug, auto)
171 + --quiet # Silence non-primary command output
172 + --no-pager # Disable the pager
173 + --config-toml: string # Additional configuration options (can be repeated)
174 + --help(-h) # Print help (see more with '--help')
177 + # Create or update a bookmark to point to a certain commit
178 + export extern "jj bookmark set" [
179 + --revision(-r): string # The bookmark's target revision
180 + --to: string # The bookmark's target revision
181 + --allow-backwards(-B) # Allow moving the bookmark backwards or sideways
182 + ...names: string # The bookmarks to update
183 + --repository(-R): string # Path to repository to operate on
184 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
185 + --ignore-immutable # Allow rewriting immutable commits
186 + --at-operation: string # Operation to load the repo at
187 + --at-op: string # Operation to load the repo at
188 + --debug # Enable debug logging
189 + --color: string # When to colorize output (always, never, debug, auto)
190 + --quiet # Silence non-primary command output
191 + --no-pager # Disable the pager
192 + --config-toml: string # Additional configuration options (can be repeated)
193 + --help(-h) # Print help (see more with '--help')
196 + # Start tracking given remote bookmarks
197 + export extern "jj bookmark track" [
198 + ...names: string # Remote bookmarks to track
199 + --repository(-R): string # Path to repository to operate on
200 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
201 + --ignore-immutable # Allow rewriting immutable commits
202 + --at-operation: string # Operation to load the repo at
203 + --at-op: string # Operation to load the repo at
204 + --debug # Enable debug logging
205 + --color: string # When to colorize output (always, never, debug, auto)
206 + --quiet # Silence non-primary command output
207 + --no-pager # Disable the pager
208 + --config-toml: string # Additional configuration options (can be repeated)
209 + --help(-h) # Print help (see more with '--help')
212 + # Stop tracking given remote bookmarks
213 + export extern "jj bookmark untrack" [
214 + ...names: string # Remote bookmarks to untrack
215 + --repository(-R): string # Path to repository to operate on
216 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
217 + --ignore-immutable # Allow rewriting immutable commits
218 + --at-operation: string # Operation to load the repo at
219 + --at-op: string # Operation to load the repo at
220 + --debug # Enable debug logging
221 + --color: string # When to colorize output (always, never, debug, auto)
222 + --quiet # Silence non-primary command output
223 + --no-pager # Disable the pager
224 + --config-toml: string # Additional configuration options (can be repeated)
225 + --help(-h) # Print help (see more with '--help')
228 + # Print this message or the help of the given subcommand(s)
229 + export extern "jj bookmark help" [
232 + # Create a new bookmark
233 + export extern "jj bookmark help create" [
236 + # Delete an existing bookmark and propagate the deletion to remotes on the next push
237 + export extern "jj bookmark help delete" [
240 + # Forget everything about a bookmark, including its local and remote targets
241 + export extern "jj bookmark help forget" [
244 + # List bookmarks and their targets
245 + export extern "jj bookmark help list" [
248 + # Move existing bookmarks to target revision
249 + export extern "jj bookmark help move" [
252 + # Rename `old` bookmark name to `new` bookmark name
253 + export extern "jj bookmark help rename" [
256 + # Create or update a bookmark to point to a certain commit
257 + export extern "jj bookmark help set" [
260 + # Start tracking given remote bookmarks
261 + export extern "jj bookmark help track" [
264 + # Stop tracking given remote bookmarks
265 + export extern "jj bookmark help untrack" [
268 + # Print this message or the help of the given subcommand(s)
269 + export extern "jj bookmark help help" [
272 + # Manage bookmarks
273 + export extern "jj branch" [
274 + --repository(-R): string # Path to repository to operate on
275 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
276 + --ignore-immutable # Allow rewriting immutable commits
277 + --at-operation: string # Operation to load the repo at
278 + --at-op: string # Operation to load the repo at
279 + --debug # Enable debug logging
280 + --color: string # When to colorize output (always, never, debug, auto)
281 + --quiet # Silence non-primary command output
282 + --no-pager # Disable the pager
283 + --config-toml: string # Additional configuration options (can be repeated)
284 + --help(-h) # Print help (see more with '--help')
287 + # Create a new bookmark
288 + export extern "jj branch create" [
289 + --revision(-r): string # The bookmark's target revision
290 + --to: string # The bookmark's target revision
291 + ...names: string # The bookmarks to create
292 + --repository(-R): string # Path to repository to operate on
293 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
294 + --ignore-immutable # Allow rewriting immutable commits
295 + --at-operation: string # Operation to load the repo at
296 + --at-op: string # Operation to load the repo at
297 + --debug # Enable debug logging
298 + --color: string # When to colorize output (always, never, debug, auto)
299 + --quiet # Silence non-primary command output
300 + --no-pager # Disable the pager
301 + --config-toml: string # Additional configuration options (can be repeated)
302 + --help(-h) # Print help (see more with '--help')
305 + # Delete an existing bookmark and propagate the deletion to remotes on the next push
306 + export extern "jj branch delete" [
307 + ...names: string # The bookmarks to delete
308 + --repository(-R): string # Path to repository to operate on
309 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
310 + --ignore-immutable # Allow rewriting immutable commits
311 + --at-operation: string # Operation to load the repo at
312 + --at-op: string # Operation to load the repo at
313 + --debug # Enable debug logging
314 + --color: string # When to colorize output (always, never, debug, auto)
315 + --quiet # Silence non-primary command output
316 + --no-pager # Disable the pager
317 + --config-toml: string # Additional configuration options (can be repeated)
318 + --help(-h) # Print help (see more with '--help')
321 + # Forget everything about a bookmark, including its local and remote targets
322 + export extern "jj branch forget" [
323 + ...names: string # The bookmarks to forget
324 + --repository(-R): string # Path to repository to operate on
325 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
326 + --ignore-immutable # Allow rewriting immutable commits
327 + --at-operation: string # Operation to load the repo at
328 + --at-op: string # Operation to load the repo at
329 + --debug # Enable debug logging
330 + --color: string # When to colorize output (always, never, debug, auto)
331 + --quiet # Silence non-primary command output
332 + --no-pager # Disable the pager
333 + --config-toml: string # Additional configuration options (can be repeated)
334 + --help(-h) # Print help (see more with '--help')
337 + # List bookmarks and their targets
338 + export extern "jj branch list" [
339 + --all-remotes(-a) # Show all tracking and non-tracking remote bookmarks including the ones whose targets are synchronized with the local bookmarks
340 + --tracked(-t) # Show remote tracked bookmarks only. Omits local Git-tracking bookmarks by default
341 + --conflicted(-c) # Show conflicted bookmarks only
342 + ...names: string # Show bookmarks whose local name matches
343 + --revisions(-r): string # Show bookmarks whose local targets are in the given revisions
344 + --template(-T): string # Render each bookmark using the given template
345 + --repository(-R): string # Path to repository to operate on
346 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
347 + --ignore-immutable # Allow rewriting immutable commits
348 + --at-operation: string # Operation to load the repo at
349 + --at-op: string # Operation to load the repo at
350 + --debug # Enable debug logging
351 + --color: string # When to colorize output (always, never, debug, auto)
352 + --quiet # Silence non-primary command output
353 + --no-pager # Disable the pager
354 + --config-toml: string # Additional configuration options (can be repeated)
355 + --help(-h) # Print help (see more with '--help')
358 + # Move existing bookmarks to target revision
359 + export extern "jj branch move" [
360 + --from: string # Move bookmarks from the given revisions
361 + --to: string # Move bookmarks to this revision
362 + --allow-backwards(-B) # Allow moving bookmarks backwards or sideways
363 + ...names: string # Move bookmarks matching the given name patterns
364 + --repository(-R): string # Path to repository to operate on
365 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
366 + --ignore-immutable # Allow rewriting immutable commits
367 + --at-operation: string # Operation to load the repo at
368 + --at-op: string # Operation to load the repo at
369 + --debug # Enable debug logging
370 + --color: string # When to colorize output (always, never, debug, auto)
371 + --quiet # Silence non-primary command output
372 + --no-pager # Disable the pager
373 + --config-toml: string # Additional configuration options (can be repeated)
374 + --help(-h) # Print help (see more with '--help')
377 + # Rename `old` bookmark name to `new` bookmark name
378 + export extern "jj branch rename" [
379 + old: string # The old name of the bookmark
380 + new: string # The new name of the bookmark
381 + --repository(-R): string # Path to repository to operate on
382 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
383 + --ignore-immutable # Allow rewriting immutable commits
384 + --at-operation: string # Operation to load the repo at
385 + --at-op: string # Operation to load the repo at
386 + --debug # Enable debug logging
387 + --color: string # When to colorize output (always, never, debug, auto)
388 + --quiet # Silence non-primary command output
389 + --no-pager # Disable the pager
390 + --config-toml: string # Additional configuration options (can be repeated)
391 + --help(-h) # Print help (see more with '--help')
394 + # Create or update a bookmark to point to a certain commit
395 + export extern "jj branch set" [
396 + --revision(-r): string # The bookmark's target revision
397 + --to: string # The bookmark's target revision
398 + --allow-backwards(-B) # Allow moving the bookmark backwards or sideways
399 + ...names: string # The bookmarks to update
400 + --repository(-R): string # Path to repository to operate on
401 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
402 + --ignore-immutable # Allow rewriting immutable commits
403 + --at-operation: string # Operation to load the repo at
404 + --at-op: string # Operation to load the repo at
405 + --debug # Enable debug logging
406 + --color: string # When to colorize output (always, never, debug, auto)
407 + --quiet # Silence non-primary command output
408 + --no-pager # Disable the pager
409 + --config-toml: string # Additional configuration options (can be repeated)
410 + --help(-h) # Print help (see more with '--help')
413 + # Start tracking given remote bookmarks
414 + export extern "jj branch track" [
415 + ...names: string # Remote bookmarks to track
416 + --repository(-R): string # Path to repository to operate on
417 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
418 + --ignore-immutable # Allow rewriting immutable commits
419 + --at-operation: string # Operation to load the repo at
420 + --at-op: string # Operation to load the repo at
421 + --debug # Enable debug logging
422 + --color: string # When to colorize output (always, never, debug, auto)
423 + --quiet # Silence non-primary command output
424 + --no-pager # Disable the pager
425 + --config-toml: string # Additional configuration options (can be repeated)
426 + --help(-h) # Print help (see more with '--help')
429 + # Stop tracking given remote bookmarks
430 + export extern "jj branch untrack" [
431 + ...names: string # Remote bookmarks to untrack
432 + --repository(-R): string # Path to repository to operate on
433 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
434 + --ignore-immutable # Allow rewriting immutable commits
435 + --at-operation: string # Operation to load the repo at
436 + --at-op: string # Operation to load the repo at
437 + --debug # Enable debug logging
438 + --color: string # When to colorize output (always, never, debug, auto)
439 + --quiet # Silence non-primary command output
440 + --no-pager # Disable the pager
441 + --config-toml: string # Additional configuration options (can be repeated)
442 + --help(-h) # Print help (see more with '--help')
445 + # Print this message or the help of the given subcommand(s)
446 + export extern "jj branch help" [
449 + # Create a new bookmark
450 + export extern "jj branch help create" [
453 + # Delete an existing bookmark and propagate the deletion to remotes on the next push
454 + export extern "jj branch help delete" [
457 + # Forget everything about a bookmark, including its local and remote targets
458 + export extern "jj branch help forget" [
461 + # List bookmarks and their targets
462 + export extern "jj branch help list" [
465 + # Move existing bookmarks to target revision
466 + export extern "jj branch help move" [
469 + # Rename `old` bookmark name to `new` bookmark name
470 + export extern "jj branch help rename" [
473 + # Create or update a bookmark to point to a certain commit
474 + export extern "jj branch help set" [
477 + # Start tracking given remote bookmarks
478 + export extern "jj branch help track" [
481 + # Stop tracking given remote bookmarks
482 + export extern "jj branch help untrack" [
485 + # Print this message or the help of the given subcommand(s)
486 + export extern "jj branch help help" [
489 + # Print contents of files in a revision
490 + export extern "jj cat" [
491 + --revision(-r): string # The revision to get the file contents from
492 + ...paths: string # Paths to print
493 + --repository(-R): string # Path to repository to operate on
494 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
495 + --ignore-immutable # Allow rewriting immutable commits
496 + --at-operation: string # Operation to load the repo at
497 + --at-op: string # Operation to load the repo at
498 + --debug # Enable debug logging
499 + --color: string # When to colorize output (always, never, debug, auto)
500 + --quiet # Silence non-primary command output
501 + --no-pager # Disable the pager
502 + --config-toml: string # Additional configuration options (can be repeated)
503 + --help(-h) # Print help (see more with '--help')
506 + # Create a new, empty change and edit it in the working copy (DEPRECATED, use `jj new`)
507 + export extern "jj checkout" [
508 + revision: string # The revision to update to
509 + -r # Ignored (but lets you pass `-r` for consistency with other commands)
510 + --message(-m): string # The change description to use
511 + --repository(-R): string # Path to repository to operate on
512 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
513 + --ignore-immutable # Allow rewriting immutable commits
514 + --at-operation: string # Operation to load the repo at
515 + --at-op: string # Operation to load the repo at
516 + --debug # Enable debug logging
517 + --color: string # When to colorize output (always, never, debug, auto)
518 + --quiet # Silence non-primary command output
519 + --no-pager # Disable the pager
520 + --config-toml: string # Additional configuration options (can be repeated)
521 + --help(-h) # Print help (see more with '--help')
524 + def "nu-complete jj chmod mode" [] {
525 + [ "n" "x" ]
528 + # Sets or removes the executable bit for paths in the repo
529 + export extern "jj chmod" [
530 + mode: string@"nu-complete jj chmod mode"
531 + --revision(-r): string # The revision to update
532 + ...paths: string # Paths to change the executable bit for
533 + --repository(-R): string # Path to repository to operate on
534 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
535 + --ignore-immutable # Allow rewriting immutable commits
536 + --at-operation: string # Operation to load the repo at
537 + --at-op: string # Operation to load the repo at
538 + --debug # Enable debug logging
539 + --color: string # When to colorize output (always, never, debug, auto)
540 + --quiet # Silence non-primary command output
541 + --no-pager # Disable the pager
542 + --config-toml: string # Additional configuration options (can be repeated)
543 + --help(-h) # Print help (see more with '--help')
546 + # Update the description and create a new change on top
547 + export extern "jj commit" [
548 + --interactive(-i) # Interactively choose which changes to include in the first commit
549 + --tool: string # Specify diff editor to be used (implies --interactive)
550 + --message(-m): string # The change description to use (don't open editor)
551 + ...paths: string # Put these paths in the first commit
552 + --reset-author # Reset the author to the configured user
553 + --author: string # Set author to the provided string
554 + --repository(-R): string # Path to repository to operate on
555 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
556 + --ignore-immutable # Allow rewriting immutable commits
557 + --at-operation: string # Operation to load the repo at
558 + --at-op: string # Operation to load the repo at
559 + --debug # Enable debug logging
560 + --color: string # When to colorize output (always, never, debug, auto)
561 + --quiet # Silence non-primary command output
562 + --no-pager # Disable the pager
563 + --config-toml: string # Additional configuration options (can be repeated)
564 + --help(-h) # Print help (see more with '--help')
567 + # Manage config options
568 + export extern "jj config" [
569 + --repository(-R): string # Path to repository to operate on
570 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
571 + --ignore-immutable # Allow rewriting immutable commits
572 + --at-operation: string # Operation to load the repo at
573 + --at-op: string # Operation to load the repo at
574 + --debug # Enable debug logging
575 + --color: string # When to colorize output (always, never, debug, auto)
576 + --quiet # Silence non-primary command output
577 + --no-pager # Disable the pager
578 + --config-toml: string # Additional configuration options (can be repeated)
579 + --help(-h) # Print help (see more with '--help')
582 + # Start an editor on a jj config file
583 + export extern "jj config edit" [
584 + --user # Target the user-level config
585 + --repo # Target the repo-level config
586 + --repository(-R): string # Path to repository to operate on
587 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
588 + --ignore-immutable # Allow rewriting immutable commits
589 + --at-operation: string # Operation to load the repo at
590 + --at-op: string # Operation to load the repo at
591 + --debug # Enable debug logging
592 + --color: string # When to colorize output (always, never, debug, auto)
593 + --quiet # Silence non-primary command output
594 + --no-pager # Disable the pager
595 + --config-toml: string # Additional configuration options (can be repeated)
596 + --help(-h) # Print help (see more with '--help')
599 + # Get the value of a given config option.
600 + export extern "jj config get" [
601 + name: string
602 + --repository(-R): string # Path to repository to operate on
603 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
604 + --ignore-immutable # Allow rewriting immutable commits
605 + --at-operation: string # Operation to load the repo at
606 + --at-op: string # Operation to load the repo at
607 + --debug # Enable debug logging
608 + --color: string # When to colorize output (always, never, debug, auto)
609 + --quiet # Silence non-primary command output
610 + --no-pager # Disable the pager
611 + --config-toml: string # Additional configuration options (can be repeated)
612 + --help(-h) # Print help (see more with '--help')
615 + # List variables set in config file, along with their values
616 + export extern "jj config list" [
617 + name?: string # An optional name of a specific config option to look up
618 + --include-defaults # Whether to explicitly include built-in default values in the list
619 + --include-overridden # Allow printing overridden values
620 + --user # Target the user-level config
621 + --repo # Target the repo-level config
622 + --template(-T): string # Render each variable using the given template
623 + --repository(-R): string # Path to repository to operate on
624 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
625 + --ignore-immutable # Allow rewriting immutable commits
626 + --at-operation: string # Operation to load the repo at
627 + --at-op: string # Operation to load the repo at
628 + --debug # Enable debug logging
629 + --color: string # When to colorize output (always, never, debug, auto)
630 + --quiet # Silence non-primary command output
631 + --no-pager # Disable the pager
632 + --config-toml: string # Additional configuration options (can be repeated)
633 + --help(-h) # Print help (see more with '--help')
636 + # Print the path to the config file
637 + export extern "jj config path" [
638 + --user # Target the user-level config
639 + --repo # Target the repo-level config
640 + --repository(-R): string # Path to repository to operate on
641 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
642 + --ignore-immutable # Allow rewriting immutable commits
643 + --at-operation: string # Operation to load the repo at
644 + --at-op: string # Operation to load the repo at
645 + --debug # Enable debug logging
646 + --color: string # When to colorize output (always, never, debug, auto)
647 + --quiet # Silence non-primary command output
648 + --no-pager # Disable the pager
649 + --config-toml: string # Additional configuration options (can be repeated)
650 + --help(-h) # Print help (see more with '--help')
653 + # Update config file to set the given option to a given value
654 + export extern "jj config set" [
655 + name: string
656 + value: string
657 + --user # Target the user-level config
658 + --repo # Target the repo-level config
659 + --repository(-R): string # Path to repository to operate on
660 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
661 + --ignore-immutable # Allow rewriting immutable commits
662 + --at-operation: string # Operation to load the repo at
663 + --at-op: string # Operation to load the repo at
664 + --debug # Enable debug logging
665 + --color: string # When to colorize output (always, never, debug, auto)
666 + --quiet # Silence non-primary command output
667 + --no-pager # Disable the pager
668 + --config-toml: string # Additional configuration options (can be repeated)
669 + --help(-h) # Print help (see more with '--help')
672 + # Print this message or the help of the given subcommand(s)
673 + export extern "jj config help" [
676 + # Start an editor on a jj config file
677 + export extern "jj config help edit" [
680 + # Get the value of a given config option.
681 + export extern "jj config help get" [
684 + # List variables set in config file, along with their values
685 + export extern "jj config help list" [
688 + # Print the path to the config file
689 + export extern "jj config help path" [
692 + # Update config file to set the given option to a given value
693 + export extern "jj config help set" [
696 + # Print this message or the help of the given subcommand(s)
697 + export extern "jj config help help" [
700 + # Low-level commands not intended for users
701 + export extern "jj debug" [
702 + --repository(-R): string # Path to repository to operate on
703 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
704 + --ignore-immutable # Allow rewriting immutable commits
705 + --at-operation: string # Operation to load the repo at
706 + --at-op: string # Operation to load the repo at
707 + --debug # Enable debug logging
708 + --color: string # When to colorize output (always, never, debug, auto)
709 + --quiet # Silence non-primary command output
710 + --no-pager # Disable the pager
711 + --config-toml: string # Additional configuration options (can be repeated)
712 + --help(-h) # Print help (see more with '--help')
715 + # Rebuild commit index
716 + export extern "jj debug copy-detection" [
717 + revision?: string # Show changes in this revision, compared to its parent(s)
718 + --repository(-R): string # Path to repository to operate on
719 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
720 + --ignore-immutable # Allow rewriting immutable commits
721 + --at-operation: string # Operation to load the repo at
722 + --at-op: string # Operation to load the repo at
723 + --debug # Enable debug logging
724 + --color: string # When to colorize output (always, never, debug, auto)
725 + --quiet # Silence non-primary command output
726 + --no-pager # Disable the pager
727 + --config-toml: string # Additional configuration options (can be repeated)
728 + --help(-h) # Print help (see more with '--help')
731 + # Parse fileset expression
732 + export extern "jj debug fileset" [
733 + path: string
734 + --repository(-R): string # Path to repository to operate on
735 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
736 + --ignore-immutable # Allow rewriting immutable commits
737 + --at-operation: string # Operation to load the repo at
738 + --at-op: string # Operation to load the repo at
739 + --debug # Enable debug logging
740 + --color: string # When to colorize output (always, never, debug, auto)
741 + --quiet # Silence non-primary command output
742 + --no-pager # Disable the pager
743 + --config-toml: string # Additional configuration options (can be repeated)
744 + --help(-h) # Print help (see more with '--help')
747 + # Show commit index stats
748 + export extern "jj debug index" [
749 + --repository(-R): string # Path to repository to operate on
750 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
751 + --ignore-immutable # Allow rewriting immutable commits
752 + --at-operation: string # Operation to load the repo at
753 + --at-op: string # Operation to load the repo at
754 + --debug # Enable debug logging
755 + --color: string # When to colorize output (always, never, debug, auto)
756 + --quiet # Silence non-primary command output
757 + --no-pager # Disable the pager
758 + --config-toml: string # Additional configuration options (can be repeated)
759 + --help(-h) # Print help (see more with '--help')
762 + # Show information about the local working copy state
763 + export extern "jj debug local-working-copy" [
764 + --repository(-R): string # Path to repository to operate on
765 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
766 + --ignore-immutable # Allow rewriting immutable commits
767 + --at-operation: string # Operation to load the repo at
768 + --at-op: string # Operation to load the repo at
769 + --debug # Enable debug logging
770 + --color: string # When to colorize output (always, never, debug, auto)
771 + --quiet # Silence non-primary command output
772 + --no-pager # Disable the pager
773 + --config-toml: string # Additional configuration options (can be repeated)
774 + --help(-h) # Print help (see more with '--help')
777 + def "nu-complete jj debug operation display" [] {
778 + [ "operation" "id" "view" "all" ]
781 + # Show information about an operation and its view
782 + export extern "jj debug operation" [
783 + operation?: string
784 + --display: string@"nu-complete jj debug operation display"
785 + --repository(-R): string # Path to repository to operate on
786 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
787 + --ignore-immutable # Allow rewriting immutable commits
788 + --at-operation: string # Operation to load the repo at
789 + --at-op: string # Operation to load the repo at
790 + --debug # Enable debug logging
791 + --color: string # When to colorize output (always, never, debug, auto)
792 + --quiet # Silence non-primary command output
793 + --no-pager # Disable the pager
794 + --config-toml: string # Additional configuration options (can be repeated)
795 + --help(-h) # Print help (see more with '--help')
798 + # Rebuild commit index
799 + export extern "jj debug reindex" [
800 + --repository(-R): string # Path to repository to operate on
801 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
802 + --ignore-immutable # Allow rewriting immutable commits
803 + --at-operation: string # Operation to load the repo at
804 + --at-op: string # Operation to load the repo at
805 + --debug # Enable debug logging
806 + --color: string # When to colorize output (always, never, debug, auto)
807 + --quiet # Silence non-primary command output
808 + --no-pager # Disable the pager
809 + --config-toml: string # Additional configuration options (can be repeated)
810 + --help(-h) # Print help (see more with '--help')
813 + # Evaluate revset to full commit IDs
814 + export extern "jj debug revset" [
815 + revision: string
816 + --repository(-R): string # Path to repository to operate on
817 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
818 + --ignore-immutable # Allow rewriting immutable commits
819 + --at-operation: string # Operation to load the repo at
820 + --at-op: string # Operation to load the repo at
821 + --debug # Enable debug logging
822 + --color: string # When to colorize output (always, never, debug, auto)
823 + --quiet # Silence non-primary command output
824 + --no-pager # Disable the pager
825 + --config-toml: string # Additional configuration options (can be repeated)
826 + --help(-h) # Print help (see more with '--help')
829 + # Trigger a snapshot in the op log
830 + export extern "jj debug snapshot" [
831 + --repository(-R): string # Path to repository to operate on
832 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
833 + --ignore-immutable # Allow rewriting immutable commits
834 + --at-operation: string # Operation to load the repo at
835 + --at-op: string # Operation to load the repo at
836 + --debug # Enable debug logging
837 + --color: string # When to colorize output (always, never, debug, auto)
838 + --quiet # Silence non-primary command output
839 + --no-pager # Disable the pager
840 + --config-toml: string # Additional configuration options (can be repeated)
841 + --help(-h) # Print help (see more with '--help')
844 + # Parse a template
845 + export extern "jj debug template" [
846 + template: string
847 + --repository(-R): string # Path to repository to operate on
848 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
849 + --ignore-immutable # Allow rewriting immutable commits
850 + --at-operation: string # Operation to load the repo at
851 + --at-op: string # Operation to load the repo at
852 + --debug # Enable debug logging
853 + --color: string # When to colorize output (always, never, debug, auto)
854 + --quiet # Silence non-primary command output
855 + --no-pager # Disable the pager
856 + --config-toml: string # Additional configuration options (can be repeated)
857 + --help(-h) # Print help (see more with '--help')
860 + # List the recursive entries of a tree
861 + export extern "jj debug tree" [
862 + --revision(-r): string
863 + --id: string
864 + --dir: string
865 + ...paths: string
866 + --repository(-R): string # Path to repository to operate on
867 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
868 + --ignore-immutable # Allow rewriting immutable commits
869 + --at-operation: string # Operation to load the repo at
870 + --at-op: string # Operation to load the repo at
871 + --debug # Enable debug logging
872 + --color: string # When to colorize output (always, never, debug, auto)
873 + --quiet # Silence non-primary command output
874 + --no-pager # Disable the pager
875 + --config-toml: string # Additional configuration options (can be repeated)
876 + --help(-h) # Print help (see more with '--help')
879 + export extern "jj debug watchman" [
880 + --repository(-R): string # Path to repository to operate on
881 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
882 + --ignore-immutable # Allow rewriting immutable commits
883 + --at-operation: string # Operation to load the repo at
884 + --at-op: string # Operation to load the repo at
885 + --debug # Enable debug logging
886 + --color: string # When to colorize output (always, never, debug, auto)
887 + --quiet # Silence non-primary command output
888 + --no-pager # Disable the pager
889 + --config-toml: string # Additional configuration options (can be repeated)
890 + --help(-h) # Print help (see more with '--help')
893 + # Check whether `watchman` is enabled and whether it's correctly installed
894 + export extern "jj debug watchman status" [
895 + --repository(-R): string # Path to repository to operate on
896 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
897 + --ignore-immutable # Allow rewriting immutable commits
898 + --at-operation: string # Operation to load the repo at
899 + --at-op: string # Operation to load the repo at
900 + --debug # Enable debug logging
901 + --color: string # When to colorize output (always, never, debug, auto)
902 + --quiet # Silence non-primary command output
903 + --no-pager # Disable the pager
904 + --config-toml: string # Additional configuration options (can be repeated)
905 + --help(-h) # Print help (see more with '--help')
908 + export extern "jj debug watchman query-clock" [
909 + --repository(-R): string # Path to repository to operate on
910 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
911 + --ignore-immutable # Allow rewriting immutable commits
912 + --at-operation: string # Operation to load the repo at
913 + --at-op: string # Operation to load the repo at
914 + --debug # Enable debug logging
915 + --color: string # When to colorize output (always, never, debug, auto)
916 + --quiet # Silence non-primary command output
917 + --no-pager # Disable the pager
918 + --config-toml: string # Additional configuration options (can be repeated)
919 + --help(-h) # Print help (see more with '--help')
922 + export extern "jj debug watchman query-changed-files" [
923 + --repository(-R): string # Path to repository to operate on
924 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
925 + --ignore-immutable # Allow rewriting immutable commits
926 + --at-operation: string # Operation to load the repo at
927 + --at-op: string # Operation to load the repo at
928 + --debug # Enable debug logging
929 + --color: string # When to colorize output (always, never, debug, auto)
930 + --quiet # Silence non-primary command output
931 + --no-pager # Disable the pager
932 + --config-toml: string # Additional configuration options (can be repeated)
933 + --help(-h) # Print help (see more with '--help')
936 + export extern "jj debug watchman reset-clock" [
937 + --repository(-R): string # Path to repository to operate on
938 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
939 + --ignore-immutable # Allow rewriting immutable commits
940 + --at-operation: string # Operation to load the repo at
941 + --at-op: string # Operation to load the repo at
942 + --debug # Enable debug logging
943 + --color: string # When to colorize output (always, never, debug, auto)
944 + --quiet # Silence non-primary command output
945 + --no-pager # Disable the pager
946 + --config-toml: string # Additional configuration options (can be repeated)
947 + --help(-h) # Print help (see more with '--help')
950 + # Print this message or the help of the given subcommand(s)
951 + export extern "jj debug watchman help" [
954 + # Check whether `watchman` is enabled and whether it's correctly installed
955 + export extern "jj debug watchman help status" [
958 + export extern "jj debug watchman help query-clock" [
961 + export extern "jj debug watchman help query-changed-files" [
964 + export extern "jj debug watchman help reset-clock" [
967 + # Print this message or the help of the given subcommand(s)
968 + export extern "jj debug watchman help help" [
971 + # Show information about the working copy state
972 + export extern "jj debug working-copy" [
973 + --repository(-R): string # Path to repository to operate on
974 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
975 + --ignore-immutable # Allow rewriting immutable commits
976 + --at-operation: string # Operation to load the repo at
977 + --at-op: string # Operation to load the repo at
978 + --debug # Enable debug logging
979 + --color: string # When to colorize output (always, never, debug, auto)
980 + --quiet # Silence non-primary command output
981 + --no-pager # Disable the pager
982 + --config-toml: string # Additional configuration options (can be repeated)
983 + --help(-h) # Print help (see more with '--help')
986 + # Print this message or the help of the given subcommand(s)
987 + export extern "jj debug help" [
990 + # Rebuild commit index
991 + export extern "jj debug help copy-detection" [
994 + # Parse fileset expression
995 + export extern "jj debug help fileset" [
998 + # Show commit index stats
999 + export extern "jj debug help index" [
1002 + # Show information about the local working copy state
1003 + export extern "jj debug help local-working-copy" [
1006 + # Show information about an operation and its view
1007 + export extern "jj debug help operation" [
1010 + # Rebuild commit index
1011 + export extern "jj debug help reindex" [
1014 + # Evaluate revset to full commit IDs
1015 + export extern "jj debug help revset" [
1018 + # Trigger a snapshot in the op log
1019 + export extern "jj debug help snapshot" [
1022 + # Parse a template
1023 + export extern "jj debug help template" [
1026 + # List the recursive entries of a tree
1027 + export extern "jj debug help tree" [
1030 + export extern "jj debug help watchman" [
1033 + # Check whether `watchman` is enabled and whether it's correctly installed
1034 + export extern "jj debug help watchman status" [
1037 + export extern "jj debug help watchman query-clock" [
1040 + export extern "jj debug help watchman query-changed-files" [
1043 + export extern "jj debug help watchman reset-clock" [
1046 + # Show information about the working copy state
1047 + export extern "jj debug help working-copy" [
1050 + # Print this message or the help of the given subcommand(s)
1051 + export extern "jj debug help help" [
1054 + # Update the change description or other metadata
1055 + export extern "jj describe" [
1056 + ...revisions: string # The revision(s) whose description to edit
1057 + -r # Ignored (but lets you pass `-r` for consistency with other commands)
1058 + --message(-m): string # The change description to use (don't open editor)
1059 + --stdin # Read the change description from stdin
1060 + --no-edit # Don't open an editor
1061 + --reset-author # Reset the author to the configured user
1062 + --author: string # Set author to the provided string
1063 + --repository(-R): string # Path to repository to operate on
1064 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1065 + --ignore-immutable # Allow rewriting immutable commits
1066 + --at-operation: string # Operation to load the repo at
1067 + --at-op: string # Operation to load the repo at
1068 + --debug # Enable debug logging
1069 + --color: string # When to colorize output (always, never, debug, auto)
1070 + --quiet # Silence non-primary command output
1071 + --no-pager # Disable the pager
1072 + --config-toml: string # Additional configuration options (can be repeated)
1073 + --help(-h) # Print help (see more with '--help')
1076 + # Compare file contents between two revisions
1077 + export extern "jj diff" [
1078 + --revision(-r): string # Show changes in this revision, compared to its parent(s)
1079 + --from: string # Show changes from this revision
1080 + --to: string # Show changes to this revision
1081 + ...paths: string # Restrict the diff to these paths
1082 + --summary(-s) # For each path, show only whether it was modified, added, or deleted
1083 + --stat # Show a histogram of the changes
1084 + --types # For each path, show only its type before and after
1085 + --name-only # For each path, show only its path
1086 + --git # Show a Git-format diff
1087 + --color-words # Show a word-level diff with changes indicated only by color
1088 + --tool: string # Generate diff by external command
1089 + --context: string # Number of lines of context to show
1090 + --repository(-R): string # Path to repository to operate on
1091 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1092 + --ignore-immutable # Allow rewriting immutable commits
1093 + --at-operation: string # Operation to load the repo at
1094 + --at-op: string # Operation to load the repo at
1095 + --debug # Enable debug logging
1096 + --color: string # When to colorize output (always, never, debug, auto)
1097 + --quiet # Silence non-primary command output
1098 + --no-pager # Disable the pager
1099 + --config-toml: string # Additional configuration options (can be repeated)
1100 + --help(-h) # Print help (see more with '--help')
1103 + # Touch up the content changes in a revision with a diff editor
1104 + export extern "jj diffedit" [
1105 + --revision(-r): string # The revision to touch up
1106 + --from: string # Show changes from this revision
1107 + --to: string # Edit changes in this revision
1108 + --tool: string # Specify diff editor to be used
1109 + --restore-descendants # Preserve the content (not the diff) when rebasing descendants
1110 + --repository(-R): string # Path to repository to operate on
1111 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1112 + --ignore-immutable # Allow rewriting immutable commits
1113 + --at-operation: string # Operation to load the repo at
1114 + --at-op: string # Operation to load the repo at
1115 + --debug # Enable debug logging
1116 + --color: string # When to colorize output (always, never, debug, auto)
1117 + --quiet # Silence non-primary command output
1118 + --no-pager # Disable the pager
1119 + --config-toml: string # Additional configuration options (can be repeated)
1120 + --help(-h) # Print help (see more with '--help')
1123 + # Create a new change with the same content as an existing one
1124 + export extern "jj duplicate" [
1125 + ...revisions: string # The revision(s) to duplicate
1126 + -r # Ignored (but lets you pass `-r` for consistency with other commands)
1127 + --repository(-R): string # Path to repository to operate on
1128 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1129 + --ignore-immutable # Allow rewriting immutable commits
1130 + --at-operation: string # Operation to load the repo at
1131 + --at-op: string # Operation to load the repo at
1132 + --debug # Enable debug logging
1133 + --color: string # When to colorize output (always, never, debug, auto)
1134 + --quiet # Silence non-primary command output
1135 + --no-pager # Disable the pager
1136 + --config-toml: string # Additional configuration options (can be repeated)
1137 + --help(-h) # Print help (see more with '--help')
1140 + # Sets the specified revision as the working-copy revision
1141 + export extern "jj edit" [
1142 + revision: string # The commit to edit
1143 + -r # Ignored (but lets you pass `-r` for consistency with other commands)
1144 + --repository(-R): string # Path to repository to operate on
1145 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1146 + --ignore-immutable # Allow rewriting immutable commits
1147 + --at-operation: string # Operation to load the repo at
1148 + --at-op: string # Operation to load the repo at
1149 + --debug # Enable debug logging
1150 + --color: string # When to colorize output (always, never, debug, auto)
1151 + --quiet # Silence non-primary command output
1152 + --no-pager # Disable the pager
1153 + --config-toml: string # Additional configuration options (can be repeated)
1154 + --help(-h) # Print help (see more with '--help')
1157 + # Show how a change has evolved over time
1158 + export extern "jj evolog" [
1159 + --revision(-r): string
1160 + --limit(-n): string # Limit number of revisions to show
1161 + -l: string
1162 + --no-graph # Don't show the graph, show a flat list of revisions
1163 + --template(-T): string # Render each revision using the given template
1164 + --patch(-p) # Show patch compared to the previous version of this change
1165 + --summary(-s) # For each path, show only whether it was modified, added, or deleted
1166 + --stat # Show a histogram of the changes
1167 + --types # For each path, show only its type before and after
1168 + --name-only # For each path, show only its path
1169 + --git # Show a Git-format diff
1170 + --color-words # Show a word-level diff with changes indicated only by color
1171 + --tool: string # Generate diff by external command
1172 + --context: string # Number of lines of context to show
1173 + --repository(-R): string # Path to repository to operate on
1174 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1175 + --ignore-immutable # Allow rewriting immutable commits
1176 + --at-operation: string # Operation to load the repo at
1177 + --at-op: string # Operation to load the repo at
1178 + --debug # Enable debug logging
1179 + --color: string # When to colorize output (always, never, debug, auto)
1180 + --quiet # Silence non-primary command output
1181 + --no-pager # Disable the pager
1182 + --config-toml: string # Additional configuration options (can be repeated)
1183 + --help(-h) # Print help (see more with '--help')
1186 + # File operations
1187 + export extern "jj file" [
1188 + --repository(-R): string # Path to repository to operate on
1189 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1190 + --ignore-immutable # Allow rewriting immutable commits
1191 + --at-operation: string # Operation to load the repo at
1192 + --at-op: string # Operation to load the repo at
1193 + --debug # Enable debug logging
1194 + --color: string # When to colorize output (always, never, debug, auto)
1195 + --quiet # Silence non-primary command output
1196 + --no-pager # Disable the pager
1197 + --config-toml: string # Additional configuration options (can be repeated)
1198 + --help(-h) # Print help (see more with '--help')
1201 + def "nu-complete jj file chmod mode" [] {
1202 + [ "n" "x" ]
1205 + # Sets or removes the executable bit for paths in the repo
1206 + export extern "jj file chmod" [
1207 + mode: string@"nu-complete jj file chmod mode"
1208 + --revision(-r): string # The revision to update
1209 + ...paths: string # Paths to change the executable bit for
1210 + --repository(-R): string # Path to repository to operate on
1211 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1212 + --ignore-immutable # Allow rewriting immutable commits
1213 + --at-operation: string # Operation to load the repo at
1214 + --at-op: string # Operation to load the repo at
1215 + --debug # Enable debug logging
1216 + --color: string # When to colorize output (always, never, debug, auto)
1217 + --quiet # Silence non-primary command output
1218 + --no-pager # Disable the pager
1219 + --config-toml: string # Additional configuration options (can be repeated)
1220 + --help(-h) # Print help (see more with '--help')
1223 + # List files in a revision
1224 + export extern "jj file list" [
1225 + --revision(-r): string # The revision to list files in
1226 + ...paths: string # Only list files matching these prefixes (instead of all files)
1227 + --repository(-R): string # Path to repository to operate on
1228 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1229 + --ignore-immutable # Allow rewriting immutable commits
1230 + --at-operation: string # Operation to load the repo at
1231 + --at-op: string # Operation to load the repo at
1232 + --debug # Enable debug logging
1233 + --color: string # When to colorize output (always, never, debug, auto)
1234 + --quiet # Silence non-primary command output
1235 + --no-pager # Disable the pager
1236 + --config-toml: string # Additional configuration options (can be repeated)
1237 + --help(-h) # Print help (see more with '--help')
1240 + # Print contents of files in a revision
1241 + export extern "jj file show" [
1242 + --revision(-r): string # The revision to get the file contents from
1243 + ...paths: string # Paths to print
1244 + --repository(-R): string # Path to repository to operate on
1245 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1246 + --ignore-immutable # Allow rewriting immutable commits
1247 + --at-operation: string # Operation to load the repo at
1248 + --at-op: string # Operation to load the repo at
1249 + --debug # Enable debug logging
1250 + --color: string # When to colorize output (always, never, debug, auto)
1251 + --quiet # Silence non-primary command output
1252 + --no-pager # Disable the pager
1253 + --config-toml: string # Additional configuration options (can be repeated)
1254 + --help(-h) # Print help (see more with '--help')
1257 + # Start tracking specified paths in the working copy
1258 + export extern "jj file track" [
1259 + ...paths: string # Paths to track
1260 + --repository(-R): string # Path to repository to operate on
1261 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1262 + --ignore-immutable # Allow rewriting immutable commits
1263 + --at-operation: string # Operation to load the repo at
1264 + --at-op: string # Operation to load the repo at
1265 + --debug # Enable debug logging
1266 + --color: string # When to colorize output (always, never, debug, auto)
1267 + --quiet # Silence non-primary command output
1268 + --no-pager # Disable the pager
1269 + --config-toml: string # Additional configuration options (can be repeated)
1270 + --help(-h) # Print help (see more with '--help')
1273 + # Stop tracking specified paths in the working copy
1274 + export extern "jj file untrack" [
1275 + ...paths: string # Paths to untrack. They must already be ignored
1276 + --repository(-R): string # Path to repository to operate on
1277 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1278 + --ignore-immutable # Allow rewriting immutable commits
1279 + --at-operation: string # Operation to load the repo at
1280 + --at-op: string # Operation to load the repo at
1281 + --debug # Enable debug logging
1282 + --color: string # When to colorize output (always, never, debug, auto)
1283 + --quiet # Silence non-primary command output
1284 + --no-pager # Disable the pager
1285 + --config-toml: string # Additional configuration options (can be repeated)
1286 + --help(-h) # Print help (see more with '--help')
1289 + # Print this message or the help of the given subcommand(s)
1290 + export extern "jj file help" [
1293 + # Sets or removes the executable bit for paths in the repo
1294 + export extern "jj file help chmod" [
1297 + # List files in a revision
1298 + export extern "jj file help list" [
1301 + # Print contents of files in a revision
1302 + export extern "jj file help show" [
1305 + # Start tracking specified paths in the working copy
1306 + export extern "jj file help track" [
1309 + # Stop tracking specified paths in the working copy
1310 + export extern "jj file help untrack" [
1313 + # Print this message or the help of the given subcommand(s)
1314 + export extern "jj file help help" [
1317 + # List files in a revision (DEPRECATED use `jj file list`)
1318 + export extern "jj files" [
1319 + --revision(-r): string # The revision to list files in
1320 + ...paths: string # Only list files matching these prefixes (instead of all files)
1321 + --repository(-R): string # Path to repository to operate on
1322 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1323 + --ignore-immutable # Allow rewriting immutable commits
1324 + --at-operation: string # Operation to load the repo at
1325 + --at-op: string # Operation to load the repo at
1326 + --debug # Enable debug logging
1327 + --color: string # When to colorize output (always, never, debug, auto)
1328 + --quiet # Silence non-primary command output
1329 + --no-pager # Disable the pager
1330 + --config-toml: string # Additional configuration options (can be repeated)
1331 + --help(-h) # Print help (see more with '--help')
1334 + # Update files with formatting fixes or other changes
1335 + export extern "jj fix" [
1336 + --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
1337 + ...paths: string # Fix only these paths
1338 + --include-unchanged-files # Fix unchanged files in addition to changed ones. If no paths are specified, all files in the repo will be fixed
1339 + --repository(-R): string # Path to repository to operate on
1340 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1341 + --ignore-immutable # Allow rewriting immutable commits
1342 + --at-operation: string # Operation to load the repo at
1343 + --at-op: string # Operation to load the repo at
1344 + --debug # Enable debug logging
1345 + --color: string # When to colorize output (always, never, debug, auto)
1346 + --quiet # Silence non-primary command output
1347 + --no-pager # Disable the pager
1348 + --config-toml: string # Additional configuration options (can be repeated)
1349 + --help(-h) # Print help (see more with '--help')
1352 + # Commands for working with Git remotes and the underlying Git repo
1353 + export extern "jj git" [
1354 + --repository(-R): string # Path to repository to operate on
1355 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1356 + --ignore-immutable # Allow rewriting immutable commits
1357 + --at-operation: string # Operation to load the repo at
1358 + --at-op: string # Operation to load the repo at
1359 + --debug # Enable debug logging
1360 + --color: string # When to colorize output (always, never, debug, auto)
1361 + --quiet # Silence non-primary command output
1362 + --no-pager # Disable the pager
1363 + --config-toml: string # Additional configuration options (can be repeated)
1364 + --help(-h) # Print help (see more with '--help')
1367 + # Create a new repo backed by a clone of a Git repo
1368 + export extern "jj git clone" [
1369 + source: string # URL or path of the Git repo to clone
1370 + 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
1371 + --remote: string # Name of the newly created remote
1372 + --colocate # Whether or not to colocate the Jujutsu repo with the git repo
1373 + --repository(-R): string # Path to repository to operate on
1374 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1375 + --ignore-immutable # Allow rewriting immutable commits
1376 + --at-operation: string # Operation to load the repo at
1377 + --at-op: string # Operation to load the repo at
1378 + --debug # Enable debug logging
1379 + --color: string # When to colorize output (always, never, debug, auto)
1380 + --quiet # Silence non-primary command output
1381 + --no-pager # Disable the pager
1382 + --config-toml: string # Additional configuration options (can be repeated)
1383 + --help(-h) # Print help (see more with '--help')
1386 + # Update the underlying Git repo with changes made in the repo
1387 + export extern "jj git export" [
1388 + --repository(-R): string # Path to repository to operate on
1389 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1390 + --ignore-immutable # Allow rewriting immutable commits
1391 + --at-operation: string # Operation to load the repo at
1392 + --at-op: string # Operation to load the repo at
1393 + --debug # Enable debug logging
1394 + --color: string # When to colorize output (always, never, debug, auto)
1395 + --quiet # Silence non-primary command output
1396 + --no-pager # Disable the pager
1397 + --config-toml: string # Additional configuration options (can be repeated)
1398 + --help(-h) # Print help (see more with '--help')
1401 + # Fetch from a Git remote
1402 + export extern "jj git fetch" [
1403 + --branch(-b): string # Fetch only some of the branches
1404 + --remote: string # The remote to fetch from (only named remotes are supported, can be repeated)
1405 + --all-remotes # Fetch from all remotes
1406 + --repository(-R): string # Path to repository to operate on
1407 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1408 + --ignore-immutable # Allow rewriting immutable commits
1409 + --at-operation: string # Operation to load the repo at
1410 + --at-op: string # Operation to load the repo at
1411 + --debug # Enable debug logging
1412 + --color: string # When to colorize output (always, never, debug, auto)
1413 + --quiet # Silence non-primary command output
1414 + --no-pager # Disable the pager
1415 + --config-toml: string # Additional configuration options (can be repeated)
1416 + --help(-h) # Print help (see more with '--help')
1419 + # Update repo with changes made in the underlying Git repo
1420 + export extern "jj git import" [
1421 + --repository(-R): string # Path to repository to operate on
1422 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1423 + --ignore-immutable # Allow rewriting immutable commits
1424 + --at-operation: string # Operation to load the repo at
1425 + --at-op: string # Operation to load the repo at
1426 + --debug # Enable debug logging
1427 + --color: string # When to colorize output (always, never, debug, auto)
1428 + --quiet # Silence non-primary command output
1429 + --no-pager # Disable the pager
1430 + --config-toml: string # Additional configuration options (can be repeated)
1431 + --help(-h) # Print help (see more with '--help')
1434 + # Create a new Git backed repo
1435 + export extern "jj git init" [
1436 + 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
1437 + --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
1438 + --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
1439 + --repository(-R): string # Path to repository to operate on
1440 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1441 + --ignore-immutable # Allow rewriting immutable commits
1442 + --at-operation: string # Operation to load the repo at
1443 + --at-op: string # Operation to load the repo at
1444 + --debug # Enable debug logging
1445 + --color: string # When to colorize output (always, never, debug, auto)
1446 + --quiet # Silence non-primary command output
1447 + --no-pager # Disable the pager
1448 + --config-toml: string # Additional configuration options (can be repeated)
1449 + --help(-h) # Print help (see more with '--help')
1452 + # Push to a Git remote
1453 + export extern "jj git push" [
1454 + --remote: string # The remote to push to (only named remotes are supported)
1455 + --bookmark(-b): string # Push only this bookmark, or bookmarks matching a pattern (can be repeated)
1456 + --all # Push all bookmarks (including deleted bookmarks)
1457 + --tracked # Push all tracked bookmarks (including deleted bookmarks)
1458 + --deleted # Push all deleted bookmarks
1459 + --allow-empty-description # Allow pushing commits with empty descriptions
1460 + --allow-private # Allow pushing commits that are private
1461 + --revisions(-r): string # Push bookmarks pointing to these commits (can be repeated)
1462 + --change(-c): string # Push this commit by creating a bookmark based on its change ID (can be repeated)
1463 + --dry-run # Only display what will change on the remote
1464 + --repository(-R): string # Path to repository to operate on
1465 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1466 + --ignore-immutable # Allow rewriting immutable commits
1467 + --at-operation: string # Operation to load the repo at
1468 + --at-op: string # Operation to load the repo at
1469 + --debug # Enable debug logging
1470 + --color: string # When to colorize output (always, never, debug, auto)
1471 + --quiet # Silence non-primary command output
1472 + --no-pager # Disable the pager
1473 + --config-toml: string # Additional configuration options (can be repeated)
1474 + --help(-h) # Print help (see more with '--help')
1477 + # Manage Git remotes
1478 + export extern "jj git remote" [
1479 + --repository(-R): string # Path to repository to operate on
1480 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1481 + --ignore-immutable # Allow rewriting immutable commits
1482 + --at-operation: string # Operation to load the repo at
1483 + --at-op: string # Operation to load the repo at
1484 + --debug # Enable debug logging
1485 + --color: string # When to colorize output (always, never, debug, auto)
1486 + --quiet # Silence non-primary command output
1487 + --no-pager # Disable the pager
1488 + --config-toml: string # Additional configuration options (can be repeated)
1489 + --help(-h) # Print help (see more with '--help')
1492 + # Add a Git remote
1493 + export extern "jj git remote add" [
1494 + remote: string # The remote's name
1495 + url: string # The remote's URL
1496 + --repository(-R): string # Path to repository to operate on
1497 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1498 + --ignore-immutable # Allow rewriting immutable commits
1499 + --at-operation: string # Operation to load the repo at
1500 + --at-op: string # Operation to load the repo at
1501 + --debug # Enable debug logging
1502 + --color: string # When to colorize output (always, never, debug, auto)
1503 + --quiet # Silence non-primary command output
1504 + --no-pager # Disable the pager
1505 + --config-toml: string # Additional configuration options (can be repeated)
1506 + --help(-h) # Print help (see more with '--help')
1509 + # List Git remotes
1510 + export extern "jj git remote list" [
1511 + --repository(-R): string # Path to repository to operate on
1512 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1513 + --ignore-immutable # Allow rewriting immutable commits
1514 + --at-operation: string # Operation to load the repo at
1515 + --at-op: string # Operation to load the repo at
1516 + --debug # Enable debug logging
1517 + --color: string # When to colorize output (always, never, debug, auto)
1518 + --quiet # Silence non-primary command output
1519 + --no-pager # Disable the pager
1520 + --config-toml: string # Additional configuration options (can be repeated)
1521 + --help(-h) # Print help (see more with '--help')
1524 + # Remove a Git remote and forget its bookmarks
1525 + export extern "jj git remote remove" [
1526 + remote: string # The remote's name
1527 + --repository(-R): string # Path to repository to operate on
1528 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1529 + --ignore-immutable # Allow rewriting immutable commits
1530 + --at-operation: string # Operation to load the repo at
1531 + --at-op: string # Operation to load the repo at
1532 + --debug # Enable debug logging
1533 + --color: string # When to colorize output (always, never, debug, auto)
1534 + --quiet # Silence non-primary command output
1535 + --no-pager # Disable the pager
1536 + --config-toml: string # Additional configuration options (can be repeated)
1537 + --help(-h) # Print help (see more with '--help')
1540 + # Rename a Git remote
1541 + export extern "jj git remote rename" [
1542 + old: string # The name of an existing remote
1543 + new: string # The desired name for `old`
1544 + --repository(-R): string # Path to repository to operate on
1545 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1546 + --ignore-immutable # Allow rewriting immutable commits
1547 + --at-operation: string # Operation to load the repo at
1548 + --at-op: string # Operation to load the repo at
1549 + --debug # Enable debug logging
1550 + --color: string # When to colorize output (always, never, debug, auto)
1551 + --quiet # Silence non-primary command output
1552 + --no-pager # Disable the pager
1553 + --config-toml: string # Additional configuration options (can be repeated)
1554 + --help(-h) # Print help (see more with '--help')
1557 + # Set the URL of a Git remote
1558 + export extern "jj git remote set-url" [
1559 + remote: string # The remote's name
1560 + url: string # The desired url for `remote`
1561 + --repository(-R): string # Path to repository to operate on
1562 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1563 + --ignore-immutable # Allow rewriting immutable commits
1564 + --at-operation: string # Operation to load the repo at
1565 + --at-op: string # Operation to load the repo at
1566 + --debug # Enable debug logging
1567 + --color: string # When to colorize output (always, never, debug, auto)
1568 + --quiet # Silence non-primary command output
1569 + --no-pager # Disable the pager
1570 + --config-toml: string # Additional configuration options (can be repeated)
1571 + --help(-h) # Print help (see more with '--help')
1574 + # Print this message or the help of the given subcommand(s)
1575 + export extern "jj git remote help" [
1578 + # Add a Git remote
1579 + export extern "jj git remote help add" [
1582 + # List Git remotes
1583 + export extern "jj git remote help list" [
1586 + # Remove a Git remote and forget its bookmarks
1587 + export extern "jj git remote help remove" [
1590 + # Rename a Git remote
1591 + export extern "jj git remote help rename" [
1594 + # Set the URL of a Git remote
1595 + export extern "jj git remote help set-url" [
1598 + # Print this message or the help of the given subcommand(s)
1599 + export extern "jj git remote help help" [
1602 + # FOR INTERNAL USE ONLY Interact with git submodules
1603 + export extern "jj git submodule" [
1604 + --repository(-R): string # Path to repository to operate on
1605 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1606 + --ignore-immutable # Allow rewriting immutable commits
1607 + --at-operation: string # Operation to load the repo at
1608 + --at-op: string # Operation to load the repo at
1609 + --debug # Enable debug logging
1610 + --color: string # When to colorize output (always, never, debug, auto)
1611 + --quiet # Silence non-primary command output
1612 + --no-pager # Disable the pager
1613 + --config-toml: string # Additional configuration options (can be repeated)
1614 + --help(-h) # Print help (see more with '--help')
1617 + # Print the relevant contents from .gitmodules. For debugging purposes only
1618 + export extern "jj git submodule print-gitmodules" [
1619 + --revisions(-r): string # Read .gitmodules from the given revision
1620 + --repository(-R): string # Path to repository to operate on
1621 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1622 + --ignore-immutable # Allow rewriting immutable commits
1623 + --at-operation: string # Operation to load the repo at
1624 + --at-op: string # Operation to load the repo at
1625 + --debug # Enable debug logging
1626 + --color: string # When to colorize output (always, never, debug, auto)
1627 + --quiet # Silence non-primary command output
1628 + --no-pager # Disable the pager
1629 + --config-toml: string # Additional configuration options (can be repeated)
1630 + --help(-h) # Print help (see more with '--help')
1633 + # Print this message or the help of the given subcommand(s)
1634 + export extern "jj git submodule help" [
1637 + # Print the relevant contents from .gitmodules. For debugging purposes only
1638 + export extern "jj git submodule help print-gitmodules" [
1641 + # Print this message or the help of the given subcommand(s)
1642 + export extern "jj git submodule help help" [
1645 + # Print this message or the help of the given subcommand(s)
1646 + export extern "jj git help" [
1649 + # Create a new repo backed by a clone of a Git repo
1650 + export extern "jj git help clone" [
1653 + # Update the underlying Git repo with changes made in the repo
1654 + export extern "jj git help export" [
1657 + # Fetch from a Git remote
1658 + export extern "jj git help fetch" [
1661 + # Update repo with changes made in the underlying Git repo
1662 + export extern "jj git help import" [
1665 + # Create a new Git backed repo
1666 + export extern "jj git help init" [
1669 + # Push to a Git remote
1670 + export extern "jj git help push" [
1673 + # Manage Git remotes
1674 + export extern "jj git help remote" [
1677 + # Add a Git remote
1678 + export extern "jj git help remote add" [
1681 + # List Git remotes
1682 + export extern "jj git help remote list" [
1685 + # Remove a Git remote and forget its bookmarks
1686 + export extern "jj git help remote remove" [
1689 + # Rename a Git remote
1690 + export extern "jj git help remote rename" [
1693 + # Set the URL of a Git remote
1694 + export extern "jj git help remote set-url" [
1697 + # FOR INTERNAL USE ONLY Interact with git submodules
1698 + export extern "jj git help submodule" [
1701 + # Print the relevant contents from .gitmodules. For debugging purposes only
1702 + export extern "jj git help submodule print-gitmodules" [
1705 + # Print this message or the help of the given subcommand(s)
1706 + export extern "jj git help help" [
1709 + # Create a new repo in the given directory
1710 + export extern "jj init" [
1711 + destination?: string # The destination directory
1712 + --git # DEPRECATED: Use `jj git init` Use the Git backend, creating a jj repo backed by a Git repo
1713 + --git-repo: string # DEPRECATED: Use `jj git init` Path to a git repo the jj repo will be backed by
1714 + --repository(-R): string # Path to repository to operate on
1715 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1716 + --ignore-immutable # Allow rewriting immutable commits
1717 + --at-operation: string # Operation to load the repo at
1718 + --at-op: string # Operation to load the repo at
1719 + --debug # Enable debug logging
1720 + --color: string # When to colorize output (always, never, debug, auto)
1721 + --quiet # Silence non-primary command output
1722 + --no-pager # Disable the pager
1723 + --config-toml: string # Additional configuration options (can be repeated)
1724 + --help(-h) # Print help (see more with '--help')
1727 + # Compare the changes of two commits
1728 + export extern "jj interdiff" [
1729 + --from: string # Show changes from this revision
1730 + --to: string # Show changes to this revision
1731 + ...paths: string # Restrict the diff to these paths
1732 + --summary(-s) # For each path, show only whether it was modified, added, or deleted
1733 + --stat # Show a histogram of the changes
1734 + --types # For each path, show only its type before and after
1735 + --name-only # For each path, show only its path
1736 + --git # Show a Git-format diff
1737 + --color-words # Show a word-level diff with changes indicated only by color
1738 + --tool: string # Generate diff by external command
1739 + --context: string # Number of lines of context to show
1740 + --repository(-R): string # Path to repository to operate on
1741 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1742 + --ignore-immutable # Allow rewriting immutable commits
1743 + --at-operation: string # Operation to load the repo at
1744 + --at-op: string # Operation to load the repo at
1745 + --debug # Enable debug logging
1746 + --color: string # When to colorize output (always, never, debug, auto)
1747 + --quiet # Silence non-primary command output
1748 + --no-pager # Disable the pager
1749 + --config-toml: string # Additional configuration options (can be repeated)
1750 + --help(-h) # Print help (see more with '--help')
1753 + # Show revision history
1754 + export extern "jj log" [
1755 + --revisions(-r): string # Which revisions to show
1756 + ...paths: string # Show revisions modifying the given paths
1757 + --reversed # Show revisions in the opposite order (older revisions first)
1758 + --limit(-n): string # Limit number of revisions to show
1759 + -l: string
1760 + --no-graph # Don't show the graph, show a flat list of revisions
1761 + --template(-T): string # Render each revision using the given template
1762 + --patch(-p) # Show patch
1763 + --summary(-s) # For each path, show only whether it was modified, added, or deleted
1764 + --stat # Show a histogram of the changes
1765 + --types # For each path, show only its type before and after
1766 + --name-only # For each path, show only its path
1767 + --git # Show a Git-format diff
1768 + --color-words # Show a word-level diff with changes indicated only by color
1769 + --tool: string # Generate diff by external command
1770 + --context: string # Number of lines of context to show
1771 + --repository(-R): string # Path to repository to operate on
1772 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1773 + --ignore-immutable # Allow rewriting immutable commits
1774 + --at-operation: string # Operation to load the repo at
1775 + --at-op: string # Operation to load the repo at
1776 + --debug # Enable debug logging
1777 + --color: string # When to colorize output (always, never, debug, auto)
1778 + --quiet # Silence non-primary command output
1779 + --no-pager # Disable the pager
1780 + --config-toml: string # Additional configuration options (can be repeated)
1781 + --help(-h) # Print help (see more with '--help')
1784 + # Merge work from multiple bookmarks (DEPRECATED, use `jj new`)
1785 + export extern "jj merge" [
1786 + ...revisions: string # Parent(s) of the new change
1787 + -r # Ignored (but lets you pass `-r` for consistency with other commands)
1788 + --message(-m): string # The change description to use
1789 + --no-edit # Do not edit the newly created change
1790 + --edit # No-op flag to pair with --no-edit
1791 + --insert-after(-A): string # Insert the new change after the given commit(s)
1792 + --after: string # Insert the new change after the given commit(s)
1793 + --insert-before(-B): string # Insert the new change before the given commit(s)
1794 + --before: string # Insert the new change before the given commit(s)
1795 + --repository(-R): string # Path to repository to operate on
1796 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1797 + --ignore-immutable # Allow rewriting immutable commits
1798 + --at-operation: string # Operation to load the repo at
1799 + --at-op: string # Operation to load the repo at
1800 + --debug # Enable debug logging
1801 + --color: string # When to colorize output (always, never, debug, auto)
1802 + --quiet # Silence non-primary command output
1803 + --no-pager # Disable the pager
1804 + --config-toml: string # Additional configuration options (can be repeated)
1805 + --help(-h) # Print help (see more with '--help')
1808 + # Move changes from one revision into another (DEPRECATED, use `jj squash`)
1809 + export extern "jj move" [
1810 + --from(-f): string # Move part of this change into the destination
1811 + --to(-t): string # Move part of the source into this change
1812 + --interactive(-i) # Interactively choose which parts to move
1813 + --tool: string # Specify diff editor to be used (implies --interactive)
1814 + ...paths: string # Move only changes to these paths (instead of all paths)
1815 + --repository(-R): string # Path to repository to operate on
1816 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1817 + --ignore-immutable # Allow rewriting immutable commits
1818 + --at-operation: string # Operation to load the repo at
1819 + --at-op: string # Operation to load the repo at
1820 + --debug # Enable debug logging
1821 + --color: string # When to colorize output (always, never, debug, auto)
1822 + --quiet # Silence non-primary command output
1823 + --no-pager # Disable the pager
1824 + --config-toml: string # Additional configuration options (can be repeated)
1825 + --help(-h) # Print help (see more with '--help')
1828 + # Create a new, empty change and (by default) edit it in the working copy
1829 + export extern "jj new" [
1830 + ...revisions: string # Parent(s) of the new change
1831 + -r # Ignored (but lets you pass `-r` for consistency with other commands)
1832 + --message(-m): string # The change description to use
1833 + --no-edit # Do not edit the newly created change
1834 + --edit # No-op flag to pair with --no-edit
1835 + --insert-after(-A): string # Insert the new change after the given commit(s)
1836 + --after: string # Insert the new change after the given commit(s)
1837 + --insert-before(-B): string # Insert the new change before the given commit(s)
1838 + --before: string # Insert the new change before the given commit(s)
1839 + --repository(-R): string # Path to repository to operate on
1840 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1841 + --ignore-immutable # Allow rewriting immutable commits
1842 + --at-operation: string # Operation to load the repo at
1843 + --at-op: string # Operation to load the repo at
1844 + --debug # Enable debug logging
1845 + --color: string # When to colorize output (always, never, debug, auto)
1846 + --quiet # Silence non-primary command output
1847 + --no-pager # Disable the pager
1848 + --config-toml: string # Additional configuration options (can be repeated)
1849 + --help(-h) # Print help (see more with '--help')
1852 + # Move the working-copy commit to the child revision
1853 + export extern "jj next" [
1854 + offset?: string # How many revisions to move forward. Advances to the next child by default
1855 + --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`)
1856 + --no-edit(-n) # The inverse of `--edit`
1857 + --conflict # Jump to the next conflicted descendant
1858 + --repository(-R): string # Path to repository to operate on
1859 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1860 + --ignore-immutable # Allow rewriting immutable commits
1861 + --at-operation: string # Operation to load the repo at
1862 + --at-op: string # Operation to load the repo at
1863 + --debug # Enable debug logging
1864 + --color: string # When to colorize output (always, never, debug, auto)
1865 + --quiet # Silence non-primary command output
1866 + --no-pager # Disable the pager
1867 + --config-toml: string # Additional configuration options (can be repeated)
1868 + --help(-h) # Print help (see more with '--help')
1871 + # Commands for working with the operation log
1872 + export extern "jj operation" [
1873 + --repository(-R): string # Path to repository to operate on
1874 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1875 + --ignore-immutable # Allow rewriting immutable commits
1876 + --at-operation: string # Operation to load the repo at
1877 + --at-op: string # Operation to load the repo at
1878 + --debug # Enable debug logging
1879 + --color: string # When to colorize output (always, never, debug, auto)
1880 + --quiet # Silence non-primary command output
1881 + --no-pager # Disable the pager
1882 + --config-toml: string # Additional configuration options (can be repeated)
1883 + --help(-h) # Print help (see more with '--help')
1886 + # Abandon operation history
1887 + export extern "jj operation abandon" [
1888 + operation: string # The operation or operation range to abandon
1889 + --repository(-R): string # Path to repository to operate on
1890 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1891 + --ignore-immutable # Allow rewriting immutable commits
1892 + --at-operation: string # Operation to load the repo at
1893 + --at-op: string # Operation to load the repo at
1894 + --debug # Enable debug logging
1895 + --color: string # When to colorize output (always, never, debug, auto)
1896 + --quiet # Silence non-primary command output
1897 + --no-pager # Disable the pager
1898 + --config-toml: string # Additional configuration options (can be repeated)
1899 + --help(-h) # Print help (see more with '--help')
1902 + # Compare changes to the repository between two operations
1903 + export extern "jj operation diff" [
1904 + --operation: string # Show repository changes in this operation, compared to its parent
1905 + --op: string # Show repository changes in this operation, compared to its parent
1906 + --from: string # Show repository changes from this operation
1907 + --to: string # Show repository changes to this operation
1908 + --no-graph # Don't show the graph, show a flat list of modified changes
1909 + --patch(-p) # Show patch of modifications to changes
1910 + --summary(-s) # For each path, show only whether it was modified, added, or deleted
1911 + --stat # Show a histogram of the changes
1912 + --types # For each path, show only its type before and after
1913 + --name-only # For each path, show only its path
1914 + --git # Show a Git-format diff
1915 + --color-words # Show a word-level diff with changes indicated only by color
1916 + --tool: string # Generate diff by external command
1917 + --context: string # Number of lines of context to show
1918 + --repository(-R): string # Path to repository to operate on
1919 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1920 + --ignore-immutable # Allow rewriting immutable commits
1921 + --at-operation: string # Operation to load the repo at
1922 + --at-op: string # Operation to load the repo at
1923 + --debug # Enable debug logging
1924 + --color: string # When to colorize output (always, never, debug, auto)
1925 + --quiet # Silence non-primary command output
1926 + --no-pager # Disable the pager
1927 + --config-toml: string # Additional configuration options (can be repeated)
1928 + --help(-h) # Print help (see more with '--help')
1931 + # Show the operation log
1932 + export extern "jj operation log" [
1933 + --limit(-n): string # Limit number of operations to show
1934 + -l: string
1935 + --no-graph # Don't show the graph, show a flat list of operations
1936 + --template(-T): string # Render each operation using the given template
1937 + --op-diff # Show changes to the repository at each operation
1938 + --patch(-p) # Show patch of modifications to changes (implies --op-diff)
1939 + --summary(-s) # For each path, show only whether it was modified, added, or deleted
1940 + --stat # Show a histogram of the changes
1941 + --types # For each path, show only its type before and after
1942 + --name-only # For each path, show only its path
1943 + --git # Show a Git-format diff
1944 + --color-words # Show a word-level diff with changes indicated only by color
1945 + --tool: string # Generate diff by external command
1946 + --context: string # Number of lines of context to show
1947 + --repository(-R): string # Path to repository to operate on
1948 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1949 + --ignore-immutable # Allow rewriting immutable commits
1950 + --at-operation: string # Operation to load the repo at
1951 + --at-op: string # Operation to load the repo at
1952 + --debug # Enable debug logging
1953 + --color: string # When to colorize output (always, never, debug, auto)
1954 + --quiet # Silence non-primary command output
1955 + --no-pager # Disable the pager
1956 + --config-toml: string # Additional configuration options (can be repeated)
1957 + --help(-h) # Print help (see more with '--help')
1960 + def "nu-complete jj operation restore what" [] {
1961 + [ "repo" "remote-tracking" ]
1964 + # Create a new operation that restores the repo to an earlier state
1965 + export extern "jj operation restore" [
1966 + operation: string # The operation to restore to
1967 + --what: string@"nu-complete jj operation restore what" # What portions of the local state to restore (can be repeated)
1968 + --repository(-R): string # Path to repository to operate on
1969 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1970 + --ignore-immutable # Allow rewriting immutable commits
1971 + --at-operation: string # Operation to load the repo at
1972 + --at-op: string # Operation to load the repo at
1973 + --debug # Enable debug logging
1974 + --color: string # When to colorize output (always, never, debug, auto)
1975 + --quiet # Silence non-primary command output
1976 + --no-pager # Disable the pager
1977 + --config-toml: string # Additional configuration options (can be repeated)
1978 + --help(-h) # Print help (see more with '--help')
1981 + # Show changes to the repository in an operation
1982 + export extern "jj operation show" [
1983 + operation?: string # Show repository changes in this operation, compared to its parent(s)
1984 + --no-graph # Don't show the graph, show a flat list of modified changes
1985 + --patch(-p) # Show patch of modifications to changes
1986 + --summary(-s) # For each path, show only whether it was modified, added, or deleted
1987 + --stat # Show a histogram of the changes
1988 + --types # For each path, show only its type before and after
1989 + --name-only # For each path, show only its path
1990 + --git # Show a Git-format diff
1991 + --color-words # Show a word-level diff with changes indicated only by color
1992 + --tool: string # Generate diff by external command
1993 + --context: string # Number of lines of context to show
1994 + --repository(-R): string # Path to repository to operate on
1995 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
1996 + --ignore-immutable # Allow rewriting immutable commits
1997 + --at-operation: string # Operation to load the repo at
1998 + --at-op: string # Operation to load the repo at
1999 + --debug # Enable debug logging
2000 + --color: string # When to colorize output (always, never, debug, auto)
2001 + --quiet # Silence non-primary command output
2002 + --no-pager # Disable the pager
2003 + --config-toml: string # Additional configuration options (can be repeated)
2004 + --help(-h) # Print help (see more with '--help')
2007 + def "nu-complete jj operation undo what" [] {
2008 + [ "repo" "remote-tracking" ]
2011 + # Create a new operation that undoes an earlier operation
2012 + export extern "jj operation undo" [
2013 + operation?: string # The operation to undo
2014 + --what: string@"nu-complete jj operation undo what" # What portions of the local state to restore (can be repeated)
2015 + --repository(-R): string # Path to repository to operate on
2016 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2017 + --ignore-immutable # Allow rewriting immutable commits
2018 + --at-operation: string # Operation to load the repo at
2019 + --at-op: string # Operation to load the repo at
2020 + --debug # Enable debug logging
2021 + --color: string # When to colorize output (always, never, debug, auto)
2022 + --quiet # Silence non-primary command output
2023 + --no-pager # Disable the pager
2024 + --config-toml: string # Additional configuration options (can be repeated)
2025 + --help(-h) # Print help (see more with '--help')
2028 + # Print this message or the help of the given subcommand(s)
2029 + export extern "jj operation help" [
2032 + # Abandon operation history
2033 + export extern "jj operation help abandon" [
2036 + # Compare changes to the repository between two operations
2037 + export extern "jj operation help diff" [
2040 + # Show the operation log
2041 + export extern "jj operation help log" [
2044 + # Create a new operation that restores the repo to an earlier state
2045 + export extern "jj operation help restore" [
2048 + # Show changes to the repository in an operation
2049 + export extern "jj operation help show" [
2052 + # Create a new operation that undoes an earlier operation
2053 + export extern "jj operation help undo" [
2056 + # Print this message or the help of the given subcommand(s)
2057 + export extern "jj operation help help" [
2060 + # Parallelize revisions by making them siblings
2061 + export extern "jj parallelize" [
2062 + ...revisions: string # Revisions to parallelize
2063 + --repository(-R): string # Path to repository to operate on
2064 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2065 + --ignore-immutable # Allow rewriting immutable commits
2066 + --at-operation: string # Operation to load the repo at
2067 + --at-op: string # Operation to load the repo at
2068 + --debug # Enable debug logging
2069 + --color: string # When to colorize output (always, never, debug, auto)
2070 + --quiet # Silence non-primary command output
2071 + --no-pager # Disable the pager
2072 + --config-toml: string # Additional configuration options (can be repeated)
2073 + --help(-h) # Print help (see more with '--help')
2076 + # Change the working copy revision relative to the parent revision
2077 + export extern "jj prev" [
2078 + offset?: string # How many revisions to move backward. Moves to the parent by default
2079 + --edit(-e) # Edit the parent directly, instead of moving the working-copy commit
2080 + --no-edit(-n) # The inverse of `--edit`
2081 + --conflict # Jump to the previous conflicted ancestor
2082 + --repository(-R): string # Path to repository to operate on
2083 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2084 + --ignore-immutable # Allow rewriting immutable commits
2085 + --at-operation: string # Operation to load the repo at
2086 + --at-op: string # Operation to load the repo at
2087 + --debug # Enable debug logging
2088 + --color: string # When to colorize output (always, never, debug, auto)
2089 + --quiet # Silence non-primary command output
2090 + --no-pager # Disable the pager
2091 + --config-toml: string # Additional configuration options (can be repeated)
2092 + --help(-h) # Print help (see more with '--help')
2095 + # Move revisions to different parent(s)
2096 + export extern "jj rebase" [
2097 + --branch(-b): string # Rebase the whole branch relative to destination's ancestors (can be repeated)
2098 + --source(-s): string # Rebase specified revision(s) together with their trees of descendants (can be repeated)
2099 + --revisions(-r): string # Rebase the given revisions, rebasing descendants onto this revision's parent(s)
2100 + --destination(-d): string # The revision(s) to rebase onto (can be repeated to create a merge commit)
2101 + --insert-after(-A): string # The revision(s) to insert after (can be repeated to create a merge commit)
2102 + --after: string # The revision(s) to insert after (can be repeated to create a merge commit)
2103 + --insert-before(-B): string # The revision(s) to insert before (can be repeated to create a merge commit)
2104 + --before: string # The revision(s) to insert before (can be repeated to create a merge commit)
2105 + --skip-empty # Deprecated. Use --skip-emptied instead
2106 + --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
2107 + --repository(-R): string # Path to repository to operate on
2108 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2109 + --ignore-immutable # Allow rewriting immutable commits
2110 + --at-operation: string # Operation to load the repo at
2111 + --at-op: string # Operation to load the repo at
2112 + --debug # Enable debug logging
2113 + --color: string # When to colorize output (always, never, debug, auto)
2114 + --quiet # Silence non-primary command output
2115 + --no-pager # Disable the pager
2116 + --config-toml: string # Additional configuration options (can be repeated)
2117 + --help(-h) # Print help (see more with '--help')
2120 + # Resolve a conflicted file with an external merge tool
2121 + export extern "jj resolve" [
2122 + --revision(-r): string
2123 + --list(-l) # Instead of resolving one conflict, list all the conflicts
2124 + --tool: string # Specify 3-way merge tool to be used
2125 + ...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
2126 + --repository(-R): string # Path to repository to operate on
2127 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2128 + --ignore-immutable # Allow rewriting immutable commits
2129 + --at-operation: string # Operation to load the repo at
2130 + --at-op: string # Operation to load the repo at
2131 + --debug # Enable debug logging
2132 + --color: string # When to colorize output (always, never, debug, auto)
2133 + --quiet # Silence non-primary command output
2134 + --no-pager # Disable the pager
2135 + --config-toml: string # Additional configuration options (can be repeated)
2136 + --help(-h) # Print help (see more with '--help')
2139 + # Restore paths from another revision
2140 + export extern "jj restore" [
2141 + ...paths: string # Restore only these paths (instead of all paths)
2142 + --from: string # Revision to restore from (source)
2143 + --to: string # Revision to restore into (destination)
2144 + --changes-in(-c): string # Undo the changes in a revision as compared to the merge of its parents
2145 + --revision(-r): string # Prints an error. DO NOT USE
2146 + --restore-descendants # Preserve the content (not the diff) when rebasing descendants
2147 + --repository(-R): string # Path to repository to operate on
2148 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2149 + --ignore-immutable # Allow rewriting immutable commits
2150 + --at-operation: string # Operation to load the repo at
2151 + --at-op: string # Operation to load the repo at
2152 + --debug # Enable debug logging
2153 + --color: string # When to colorize output (always, never, debug, auto)
2154 + --quiet # Silence non-primary command output
2155 + --no-pager # Disable the pager
2156 + --config-toml: string # Additional configuration options (can be repeated)
2157 + --help(-h) # Print help (see more with '--help')
2160 + # A dummy command that accepts any arguments
2161 + export extern "jj revert" [
2162 + ..._args: string
2163 + --repository(-R): string # Path to repository to operate on
2164 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2165 + --ignore-immutable # Allow rewriting immutable commits
2166 + --at-operation: string # Operation to load the repo at
2167 + --at-op: string # Operation to load the repo at
2168 + --debug # Enable debug logging
2169 + --color: string # When to colorize output (always, never, debug, auto)
2170 + --quiet # Silence non-primary command output
2171 + --no-pager # Disable the pager
2172 + --config-toml: string # Additional configuration options (can be repeated)
2173 + --help(-h) # Print help (see more with '--help')
2176 + # Show the current workspace root directory
2177 + export extern "jj root" [
2178 + --repository(-R): string # Path to repository to operate on
2179 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2180 + --ignore-immutable # Allow rewriting immutable commits
2181 + --at-operation: string # Operation to load the repo at
2182 + --at-op: string # Operation to load the repo at
2183 + --debug # Enable debug logging
2184 + --color: string # When to colorize output (always, never, debug, auto)
2185 + --quiet # Silence non-primary command output
2186 + --no-pager # Disable the pager
2187 + --config-toml: string # Additional configuration options (can be repeated)
2188 + --help(-h) # Print help (see more with '--help')
2191 + # (**Stub**, does not work yet) Run a command across a set of revisions.
2192 + export extern "jj run" [
2193 + shell_command: string # The command to run across all selected revisions
2194 + --revisions(-r): string # The revisions to change
2195 + -x # A no-op option to match the interface of `git rebase -x`
2196 + --jobs(-j): string # How many processes should run in parallel, uses by default all cores
2197 + --repository(-R): string # Path to repository to operate on
2198 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2199 + --ignore-immutable # Allow rewriting immutable commits
2200 + --at-operation: string # Operation to load the repo at
2201 + --at-op: string # Operation to load the repo at
2202 + --debug # Enable debug logging
2203 + --color: string # When to colorize output (always, never, debug, auto)
2204 + --quiet # Silence non-primary command output
2205 + --no-pager # Disable the pager
2206 + --config-toml: string # Additional configuration options (can be repeated)
2207 + --help(-h) # Print help (see more with '--help')
2210 + # Show commit description and changes in a revision
2211 + export extern "jj show" [
2212 + revision?: string # Show changes in this revision, compared to its parent(s)
2213 + -r # Ignored (but lets you pass `-r` for consistency with other commands)
2214 + --template(-T): string # Render a revision using the given template
2215 + --summary(-s) # For each path, show only whether it was modified, added, or deleted
2216 + --stat # Show a histogram of the changes
2217 + --types # For each path, show only its type before and after
2218 + --name-only # For each path, show only its path
2219 + --git # Show a Git-format diff
2220 + --color-words # Show a word-level diff with changes indicated only by color
2221 + --tool: string # Generate diff by external command
2222 + --context: string # Number of lines of context to show
2223 + --repository(-R): string # Path to repository to operate on
2224 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2225 + --ignore-immutable # Allow rewriting immutable commits
2226 + --at-operation: string # Operation to load the repo at
2227 + --at-op: string # Operation to load the repo at
2228 + --debug # Enable debug logging
2229 + --color: string # When to colorize output (always, never, debug, auto)
2230 + --quiet # Silence non-primary command output
2231 + --no-pager # Disable the pager
2232 + --config-toml: string # Additional configuration options (can be repeated)
2233 + --help(-h) # Print help (see more with '--help')
2236 + # Manage which paths from the working-copy commit are present in the working copy
2237 + export extern "jj sparse" [
2238 + --repository(-R): string # Path to repository to operate on
2239 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2240 + --ignore-immutable # Allow rewriting immutable commits
2241 + --at-operation: string # Operation to load the repo at
2242 + --at-op: string # Operation to load the repo at
2243 + --debug # Enable debug logging
2244 + --color: string # When to colorize output (always, never, debug, auto)
2245 + --quiet # Silence non-primary command output
2246 + --no-pager # Disable the pager
2247 + --config-toml: string # Additional configuration options (can be repeated)
2248 + --help(-h) # Print help (see more with '--help')
2251 + # Start an editor to update the patterns that are present in the working copy
2252 + export extern "jj sparse edit" [
2253 + --repository(-R): string # Path to repository to operate on
2254 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2255 + --ignore-immutable # Allow rewriting immutable commits
2256 + --at-operation: string # Operation to load the repo at
2257 + --at-op: string # Operation to load the repo at
2258 + --debug # Enable debug logging
2259 + --color: string # When to colorize output (always, never, debug, auto)
2260 + --quiet # Silence non-primary command output
2261 + --no-pager # Disable the pager
2262 + --config-toml: string # Additional configuration options (can be repeated)
2263 + --help(-h) # Print help (see more with '--help')
2266 + # List the patterns that are currently present in the working copy
2267 + export extern "jj sparse list" [
2268 + --repository(-R): string # Path to repository to operate on
2269 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2270 + --ignore-immutable # Allow rewriting immutable commits
2271 + --at-operation: string # Operation to load the repo at
2272 + --at-op: string # Operation to load the repo at
2273 + --debug # Enable debug logging
2274 + --color: string # When to colorize output (always, never, debug, auto)
2275 + --quiet # Silence non-primary command output
2276 + --no-pager # Disable the pager
2277 + --config-toml: string # Additional configuration options (can be repeated)
2278 + --help(-h) # Print help (see more with '--help')
2281 + # Reset the patterns to include all files in the working copy
2282 + export extern "jj sparse reset" [
2283 + --repository(-R): string # Path to repository to operate on
2284 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2285 + --ignore-immutable # Allow rewriting immutable commits
2286 + --at-operation: string # Operation to load the repo at
2287 + --at-op: string # Operation to load the repo at
2288 + --debug # Enable debug logging
2289 + --color: string # When to colorize output (always, never, debug, auto)
2290 + --quiet # Silence non-primary command output
2291 + --no-pager # Disable the pager
2292 + --config-toml: string # Additional configuration options (can be repeated)
2293 + --help(-h) # Print help (see more with '--help')
2296 + # Update the patterns that are present in the working copy
2297 + export extern "jj sparse set" [
2298 + --add: string # Patterns to add to the working copy
2299 + --remove: string # Patterns to remove from the working copy
2300 + --clear # Include no files in the working copy (combine with --add)
2301 + --repository(-R): string # Path to repository to operate on
2302 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2303 + --ignore-immutable # Allow rewriting immutable commits
2304 + --at-operation: string # Operation to load the repo at
2305 + --at-op: string # Operation to load the repo at
2306 + --debug # Enable debug logging
2307 + --color: string # When to colorize output (always, never, debug, auto)
2308 + --quiet # Silence non-primary command output
2309 + --no-pager # Disable the pager
2310 + --config-toml: string # Additional configuration options (can be repeated)
2311 + --help(-h) # Print help (see more with '--help')
2314 + # Print this message or the help of the given subcommand(s)
2315 + export extern "jj sparse help" [
2318 + # Start an editor to update the patterns that are present in the working copy
2319 + export extern "jj sparse help edit" [
2322 + # List the patterns that are currently present in the working copy
2323 + export extern "jj sparse help list" [
2326 + # Reset the patterns to include all files in the working copy
2327 + export extern "jj sparse help reset" [
2330 + # Update the patterns that are present in the working copy
2331 + export extern "jj sparse help set" [
2334 + # Print this message or the help of the given subcommand(s)
2335 + export extern "jj sparse help help" [
2338 + # Split a revision in two
2339 + export extern "jj split" [
2340 + --interactive(-i) # Interactively choose which parts to split. This is the default if no paths are provided
2341 + --tool: string # Specify diff editor to be used (implies --interactive)
2342 + --revision(-r): string # The revision to split
2343 + --parallel(-p) # Split the revision into two parallel revisions instead of a parent and child
2344 + ...paths: string # Put these paths in the first commit
2345 + --repository(-R): string # Path to repository to operate on
2346 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2347 + --ignore-immutable # Allow rewriting immutable commits
2348 + --at-operation: string # Operation to load the repo at
2349 + --at-op: string # Operation to load the repo at
2350 + --debug # Enable debug logging
2351 + --color: string # When to colorize output (always, never, debug, auto)
2352 + --quiet # Silence non-primary command output
2353 + --no-pager # Disable the pager
2354 + --config-toml: string # Additional configuration options (can be repeated)
2355 + --help(-h) # Print help (see more with '--help')
2358 + # Move changes from a revision into another revision
2359 + export extern "jj squash" [
2360 + --revision(-r): string # Revision to squash into its parent (default: @)
2361 + --from: string # Revision(s) to squash from (default: @)
2362 + --into: string # Revision to squash into (default: @)
2363 + --to: string # Revision to squash into (default: @)
2364 + --message(-m): string # The description to use for squashed revision (don't open editor)
2365 + --use-destination-message(-u) # Use the description of the destination revision and discard the description(s) of the source revision(s)
2366 + --interactive(-i) # Interactively choose which parts to squash
2367 + --tool: string # Specify diff editor to be used (implies --interactive)
2368 + ...paths: string # Move only changes to these paths (instead of all paths)
2369 + --keep-emptied(-k) # The source revision will not be abandoned
2370 + --repository(-R): string # Path to repository to operate on
2371 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2372 + --ignore-immutable # Allow rewriting immutable commits
2373 + --at-operation: string # Operation to load the repo at
2374 + --at-op: string # Operation to load the repo at
2375 + --debug # Enable debug logging
2376 + --color: string # When to colorize output (always, never, debug, auto)
2377 + --quiet # Silence non-primary command output
2378 + --no-pager # Disable the pager
2379 + --config-toml: string # Additional configuration options (can be repeated)
2380 + --help(-h) # Print help (see more with '--help')
2383 + # Show high-level repo status
2384 + export extern "jj status" [
2385 + ...paths: string # Restrict the status display to these paths
2386 + --repository(-R): string # Path to repository to operate on
2387 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2388 + --ignore-immutable # Allow rewriting immutable commits
2389 + --at-operation: string # Operation to load the repo at
2390 + --at-op: string # Operation to load the repo at
2391 + --debug # Enable debug logging
2392 + --color: string # When to colorize output (always, never, debug, auto)
2393 + --quiet # Silence non-primary command output
2394 + --no-pager # Disable the pager
2395 + --config-toml: string # Additional configuration options (can be repeated)
2396 + --help(-h) # Print help (see more with '--help')
2399 + # Manage tags
2400 + export extern "jj tag" [
2401 + --repository(-R): string # Path to repository to operate on
2402 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2403 + --ignore-immutable # Allow rewriting immutable commits
2404 + --at-operation: string # Operation to load the repo at
2405 + --at-op: string # Operation to load the repo at
2406 + --debug # Enable debug logging
2407 + --color: string # When to colorize output (always, never, debug, auto)
2408 + --quiet # Silence non-primary command output
2409 + --no-pager # Disable the pager
2410 + --config-toml: string # Additional configuration options (can be repeated)
2411 + --help(-h) # Print help (see more with '--help')
2414 + # List tags
2415 + export extern "jj tag list" [
2416 + ...names: string # Show tags whose local name matches
2417 + --template(-T): string # Render each tag using the given template
2418 + --repository(-R): string # Path to repository to operate on
2419 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2420 + --ignore-immutable # Allow rewriting immutable commits
2421 + --at-operation: string # Operation to load the repo at
2422 + --at-op: string # Operation to load the repo at
2423 + --debug # Enable debug logging
2424 + --color: string # When to colorize output (always, never, debug, auto)
2425 + --quiet # Silence non-primary command output
2426 + --no-pager # Disable the pager
2427 + --config-toml: string # Additional configuration options (can be repeated)
2428 + --help(-h) # Print help (see more with '--help')
2431 + # Print this message or the help of the given subcommand(s)
2432 + export extern "jj tag help" [
2435 + # List tags
2436 + export extern "jj tag help list" [
2439 + # Print this message or the help of the given subcommand(s)
2440 + export extern "jj tag help help" [
2443 + # Infrequently used commands such as for generating shell completions
2444 + export extern "jj util" [
2445 + --repository(-R): string # Path to repository to operate on
2446 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2447 + --ignore-immutable # Allow rewriting immutable commits
2448 + --at-operation: string # Operation to load the repo at
2449 + --at-op: string # Operation to load the repo at
2450 + --debug # Enable debug logging
2451 + --color: string # When to colorize output (always, never, debug, auto)
2452 + --quiet # Silence non-primary command output
2453 + --no-pager # Disable the pager
2454 + --config-toml: string # Additional configuration options (can be repeated)
2455 + --help(-h) # Print help (see more with '--help')
2458 + def "nu-complete jj util completion shell" [] {
2459 + [ "bash" "elvish" "fish" "nushell" "power-shell" "zsh" ]
2462 + # Print a command-line-completion script
2463 + export extern "jj util completion" [
2464 + shell?: string@"nu-complete jj util completion shell"
2465 + --bash # Deprecated. Use the SHELL positional argument instead
2466 + --fish # Deprecated. Use the SHELL positional argument instead
2467 + --zsh # Deprecated. Use the SHELL positional argument instead
2468 + --repository(-R): string # Path to repository to operate on
2469 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2470 + --ignore-immutable # Allow rewriting immutable commits
2471 + --at-operation: string # Operation to load the repo at
2472 + --at-op: string # Operation to load the repo at
2473 + --debug # Enable debug logging
2474 + --color: string # When to colorize output (always, never, debug, auto)
2475 + --quiet # Silence non-primary command output
2476 + --no-pager # Disable the pager
2477 + --config-toml: string # Additional configuration options (can be repeated)
2478 + --help(-h) # Print help (see more with '--help')
2481 + # Run backend-dependent garbage collection
2482 + export extern "jj util gc" [
2483 + --expire: string # Time threshold
2484 + --repository(-R): string # Path to repository to operate on
2485 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2486 + --ignore-immutable # Allow rewriting immutable commits
2487 + --at-operation: string # Operation to load the repo at
2488 + --at-op: string # Operation to load the repo at
2489 + --debug # Enable debug logging
2490 + --color: string # When to colorize output (always, never, debug, auto)
2491 + --quiet # Silence non-primary command output
2492 + --no-pager # Disable the pager
2493 + --config-toml: string # Additional configuration options (can be repeated)
2494 + --help(-h) # Print help (see more with '--help')
2497 + # Print a ROFF (manpage)
2498 + export extern "jj util mangen" [
2499 + --repository(-R): string # Path to repository to operate on
2500 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2501 + --ignore-immutable # Allow rewriting immutable commits
2502 + --at-operation: string # Operation to load the repo at
2503 + --at-op: string # Operation to load the repo at
2504 + --debug # Enable debug logging
2505 + --color: string # When to colorize output (always, never, debug, auto)
2506 + --quiet # Silence non-primary command output
2507 + --no-pager # Disable the pager
2508 + --config-toml: string # Additional configuration options (can be repeated)
2509 + --help(-h) # Print help (see more with '--help')
2512 + # Print the CLI help for all subcommands in Markdown
2513 + export extern "jj util markdown-help" [
2514 + --repository(-R): string # Path to repository to operate on
2515 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2516 + --ignore-immutable # Allow rewriting immutable commits
2517 + --at-operation: string # Operation to load the repo at
2518 + --at-op: string # Operation to load the repo at
2519 + --debug # Enable debug logging
2520 + --color: string # When to colorize output (always, never, debug, auto)
2521 + --quiet # Silence non-primary command output
2522 + --no-pager # Disable the pager
2523 + --config-toml: string # Additional configuration options (can be repeated)
2524 + --help(-h) # Print help (see more with '--help')
2527 + # Print the JSON schema for the jj TOML config format
2528 + export extern "jj util config-schema" [
2529 + --repository(-R): string # Path to repository to operate on
2530 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2531 + --ignore-immutable # Allow rewriting immutable commits
2532 + --at-operation: string # Operation to load the repo at
2533 + --at-op: string # Operation to load the repo at
2534 + --debug # Enable debug logging
2535 + --color: string # When to colorize output (always, never, debug, auto)
2536 + --quiet # Silence non-primary command output
2537 + --no-pager # Disable the pager
2538 + --config-toml: string # Additional configuration options (can be repeated)
2539 + --help(-h) # Print help (see more with '--help')
2542 + # Print this message or the help of the given subcommand(s)
2543 + export extern "jj util help" [
2546 + # Print a command-line-completion script
2547 + export extern "jj util help completion" [
2550 + # Run backend-dependent garbage collection
2551 + export extern "jj util help gc" [
2554 + # Print a ROFF (manpage)
2555 + export extern "jj util help mangen" [
2558 + # Print the CLI help for all subcommands in Markdown
2559 + export extern "jj util help markdown-help" [
2562 + # Print the JSON schema for the jj TOML config format
2563 + export extern "jj util help config-schema" [
2566 + # Print this message or the help of the given subcommand(s)
2567 + export extern "jj util help help" [
2570 + def "nu-complete jj undo what" [] {
2571 + [ "repo" "remote-tracking" ]
2574 + # Undo an operation (shortcut for `jj op undo`)
2575 + export extern "jj undo" [
2576 + operation?: string # The operation to undo
2577 + --what: string@"nu-complete jj undo what" # What portions of the local state to restore (can be repeated)
2578 + --repository(-R): string # Path to repository to operate on
2579 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2580 + --ignore-immutable # Allow rewriting immutable commits
2581 + --at-operation: string # Operation to load the repo at
2582 + --at-op: string # Operation to load the repo at
2583 + --debug # Enable debug logging
2584 + --color: string # When to colorize output (always, never, debug, auto)
2585 + --quiet # Silence non-primary command output
2586 + --no-pager # Disable the pager
2587 + --config-toml: string # Additional configuration options (can be repeated)
2588 + --help(-h) # Print help (see more with '--help')
2591 + # Move changes from a revision's parent into the revision
2592 + export extern "jj unsquash" [
2593 + --revision(-r): string
2594 + --interactive(-i) # Interactively choose which parts to unsquash
2595 + --tool: string # Specify diff editor to be used (implies --interactive)
2596 + --repository(-R): string # Path to repository to operate on
2597 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2598 + --ignore-immutable # Allow rewriting immutable commits
2599 + --at-operation: string # Operation to load the repo at
2600 + --at-op: string # Operation to load the repo at
2601 + --debug # Enable debug logging
2602 + --color: string # When to colorize output (always, never, debug, auto)
2603 + --quiet # Silence non-primary command output
2604 + --no-pager # Disable the pager
2605 + --config-toml: string # Additional configuration options (can be repeated)
2606 + --help(-h) # Print help (see more with '--help')
2609 + # Stop tracking specified paths in the working copy
2610 + export extern "jj untrack" [
2611 + ...paths: string # Paths to untrack. They must already be ignored
2612 + --repository(-R): string # Path to repository to operate on
2613 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2614 + --ignore-immutable # Allow rewriting immutable commits
2615 + --at-operation: string # Operation to load the repo at
2616 + --at-op: string # Operation to load the repo at
2617 + --debug # Enable debug logging
2618 + --color: string # When to colorize output (always, never, debug, auto)
2619 + --quiet # Silence non-primary command output
2620 + --no-pager # Disable the pager
2621 + --config-toml: string # Additional configuration options (can be repeated)
2622 + --help(-h) # Print help (see more with '--help')
2625 + # Display version information
2626 + export extern "jj version" [
2627 + --repository(-R): string # Path to repository to operate on
2628 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2629 + --ignore-immutable # Allow rewriting immutable commits
2630 + --at-operation: string # Operation to load the repo at
2631 + --at-op: string # Operation to load the repo at
2632 + --debug # Enable debug logging
2633 + --color: string # When to colorize output (always, never, debug, auto)
2634 + --quiet # Silence non-primary command output
2635 + --no-pager # Disable the pager
2636 + --config-toml: string # Additional configuration options (can be repeated)
2637 + --help(-h) # Print help (see more with '--help')
2640 + # Commands for working with workspaces
2641 + export extern "jj workspace" [
2642 + --repository(-R): string # Path to repository to operate on
2643 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2644 + --ignore-immutable # Allow rewriting immutable commits
2645 + --at-operation: string # Operation to load the repo at
2646 + --at-op: string # Operation to load the repo at
2647 + --debug # Enable debug logging
2648 + --color: string # When to colorize output (always, never, debug, auto)
2649 + --quiet # Silence non-primary command output
2650 + --no-pager # Disable the pager
2651 + --config-toml: string # Additional configuration options (can be repeated)
2652 + --help(-h) # Print help (see more with '--help')
2655 + def "nu-complete jj workspace add sparse_patterns" [] {
2656 + [ "copy" "full" "empty" ]
2659 + # Add a workspace
2660 + export extern "jj workspace add" [
2661 + destination: string # Where to create the new workspace
2662 + --name: string # A name for the workspace
2663 + --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
2664 + --sparse-patterns: string@"nu-complete jj workspace add sparse_patterns" # How to handle sparse patterns when creating a new workspace
2665 + --repository(-R): string # Path to repository to operate on
2666 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2667 + --ignore-immutable # Allow rewriting immutable commits
2668 + --at-operation: string # Operation to load the repo at
2669 + --at-op: string # Operation to load the repo at
2670 + --debug # Enable debug logging
2671 + --color: string # When to colorize output (always, never, debug, auto)
2672 + --quiet # Silence non-primary command output
2673 + --no-pager # Disable the pager
2674 + --config-toml: string # Additional configuration options (can be repeated)
2675 + --help(-h) # Print help (see more with '--help')
2678 + # Stop tracking a workspace's working-copy commit in the repo
2679 + export extern "jj workspace forget" [
2680 + ...workspaces: string # Names of the workspaces to forget. By default, forgets only the current workspace
2681 + --repository(-R): string # Path to repository to operate on
2682 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2683 + --ignore-immutable # Allow rewriting immutable commits
2684 + --at-operation: string # Operation to load the repo at
2685 + --at-op: string # Operation to load the repo at
2686 + --debug # Enable debug logging
2687 + --color: string # When to colorize output (always, never, debug, auto)
2688 + --quiet # Silence non-primary command output
2689 + --no-pager # Disable the pager
2690 + --config-toml: string # Additional configuration options (can be repeated)
2691 + --help(-h) # Print help (see more with '--help')
2694 + # List workspaces
2695 + export extern "jj workspace list" [
2696 + --repository(-R): string # Path to repository to operate on
2697 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2698 + --ignore-immutable # Allow rewriting immutable commits
2699 + --at-operation: string # Operation to load the repo at
2700 + --at-op: string # Operation to load the repo at
2701 + --debug # Enable debug logging
2702 + --color: string # When to colorize output (always, never, debug, auto)
2703 + --quiet # Silence non-primary command output
2704 + --no-pager # Disable the pager
2705 + --config-toml: string # Additional configuration options (can be repeated)
2706 + --help(-h) # Print help (see more with '--help')
2709 + # Renames the current workspace
2710 + export extern "jj workspace rename" [
2711 + new_workspace_name: string # The name of the workspace to update to
2712 + --repository(-R): string # Path to repository to operate on
2713 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2714 + --ignore-immutable # Allow rewriting immutable commits
2715 + --at-operation: string # Operation to load the repo at
2716 + --at-op: string # Operation to load the repo at
2717 + --debug # Enable debug logging
2718 + --color: string # When to colorize output (always, never, debug, auto)
2719 + --quiet # Silence non-primary command output
2720 + --no-pager # Disable the pager
2721 + --config-toml: string # Additional configuration options (can be repeated)
2722 + --help(-h) # Print help (see more with '--help')
2725 + # Show the current workspace root directory
2726 + export extern "jj workspace root" [
2727 + --repository(-R): string # Path to repository to operate on
2728 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2729 + --ignore-immutable # Allow rewriting immutable commits
2730 + --at-operation: string # Operation to load the repo at
2731 + --at-op: string # Operation to load the repo at
2732 + --debug # Enable debug logging
2733 + --color: string # When to colorize output (always, never, debug, auto)
2734 + --quiet # Silence non-primary command output
2735 + --no-pager # Disable the pager
2736 + --config-toml: string # Additional configuration options (can be repeated)
2737 + --help(-h) # Print help (see more with '--help')
2740 + # Update a workspace that has become stale
2741 + export extern "jj workspace update-stale" [
2742 + --repository(-R): string # Path to repository to operate on
2743 + --ignore-working-copy # Don't snapshot the working copy, and don't update it
2744 + --ignore-immutable # Allow rewriting immutable commits
2745 + --at-operation: string # Operation to load the repo at
2746 + --at-op: string # Operation to load the repo at
2747 + --debug # Enable debug logging
2748 + --color: string # When to colorize output (always, never, debug, auto)
2749 + --quiet # Silence non-primary command output
2750 + --no-pager # Disable the pager
2751 + --config-toml: string # Additional configuration options (can be repeated)
2752 + --help(-h) # Print help (see more with '--help')
2755 + # Print this message or the help of the given subcommand(s)
2756 + export extern "jj workspace help" [
2759 + # Add a workspace
2760 + export extern "jj workspace help add" [
2763 + # Stop tracking a workspace's working-copy commit in the repo
2764 + export extern "jj workspace help forget" [
2767 + # List workspaces
2768 + export extern "jj workspace help list" [
2771 + # Renames the current workspace
2772 + export extern "jj workspace help rename" [
2775 + # Show the current workspace root directory
2776 + export extern "jj workspace help root" [
2779 + # Update a workspace that has become stale
2780 + export extern "jj workspace help update-stale" [
2783 + # Print this message or the help of the given subcommand(s)
2784 + export extern "jj workspace help help" [
2787 + # Print this message or the help of the given subcommand(s)
2788 + export extern "jj help" [
2791 + # Abandon a revision
2792 + export extern "jj help abandon" [
2795 + # Apply the reverse of a revision on top of another revision
2796 + export extern "jj help backout" [
2799 + # Manage bookmarks
2800 + export extern "jj help bookmark" [
2803 + # Create a new bookmark
2804 + export extern "jj help bookmark create" [
2807 + # Delete an existing bookmark and propagate the deletion to remotes on the next push
2808 + export extern "jj help bookmark delete" [
2811 + # Forget everything about a bookmark, including its local and remote targets
2812 + export extern "jj help bookmark forget" [
2815 + # List bookmarks and their targets
2816 + export extern "jj help bookmark list" [
2819 + # Move existing bookmarks to target revision
2820 + export extern "jj help bookmark move" [
2823 + # Rename `old` bookmark name to `new` bookmark name
2824 + export extern "jj help bookmark rename" [
2827 + # Create or update a bookmark to point to a certain commit
2828 + export extern "jj help bookmark set" [
2831 + # Start tracking given remote bookmarks
2832 + export extern "jj help bookmark track" [
2835 + # Stop tracking given remote bookmarks
2836 + export extern "jj help bookmark untrack" [
2839 + # Manage bookmarks
2840 + export extern "jj help branch" [
2843 + # Create a new bookmark
2844 + export extern "jj help branch create" [
2847 + # Delete an existing bookmark and propagate the deletion to remotes on the next push
2848 + export extern "jj help branch delete" [
2851 + # Forget everything about a bookmark, including its local and remote targets
2852 + export extern "jj help branch forget" [
2855 + # List bookmarks and their targets
2856 + export extern "jj help branch list" [
2859 + # Move existing bookmarks to target revision
2860 + export extern "jj help branch move" [
2863 + # Rename `old` bookmark name to `new` bookmark name
2864 + export extern "jj help branch rename" [
2867 + # Create or update a bookmark to point to a certain commit
2868 + export extern "jj help branch set" [
2871 + # Start tracking given remote bookmarks
2872 + export extern "jj help branch track" [
2875 + # Stop tracking given remote bookmarks
2876 + export extern "jj help branch untrack" [
2879 + # Print contents of files in a revision
2880 + export extern "jj help cat" [
2883 + # Create a new, empty change and edit it in the working copy (DEPRECATED, use `jj new`)
2884 + export extern "jj help checkout" [
2887 + # Sets or removes the executable bit for paths in the repo
2888 + export extern "jj help chmod" [
2891 + # Update the description and create a new change on top
2892 + export extern "jj help commit" [
2895 + # Manage config options
2896 + export extern "jj help config" [
2899 + # Start an editor on a jj config file
2900 + export extern "jj help config edit" [
2903 + # Get the value of a given config option.
2904 + export extern "jj help config get" [
2907 + # List variables set in config file, along with their values
2908 + export extern "jj help config list" [
2911 + # Print the path to the config file
2912 + export extern "jj help config path" [
2915 + # Update config file to set the given option to a given value
2916 + export extern "jj help config set" [
2919 + # Low-level commands not intended for users
2920 + export extern "jj help debug" [
2923 + # Rebuild commit index
2924 + export extern "jj help debug copy-detection" [
2927 + # Parse fileset expression
2928 + export extern "jj help debug fileset" [
2931 + # Show commit index stats
2932 + export extern "jj help debug index" [
2935 + # Show information about the local working copy state
2936 + export extern "jj help debug local-working-copy" [
2939 + # Show information about an operation and its view
2940 + export extern "jj help debug operation" [
2943 + # Rebuild commit index
2944 + export extern "jj help debug reindex" [
2947 + # Evaluate revset to full commit IDs
2948 + export extern "jj help debug revset" [
2951 + # Trigger a snapshot in the op log
2952 + export extern "jj help debug snapshot" [
2955 + # Parse a template
2956 + export extern "jj help debug template" [
2959 + # List the recursive entries of a tree
2960 + export extern "jj help debug tree" [
2963 + export extern "jj help debug watchman" [
2966 + # Check whether `watchman` is enabled and whether it's correctly installed
2967 + export extern "jj help debug watchman status" [
2970 + export extern "jj help debug watchman query-clock" [
2973 + export extern "jj help debug watchman query-changed-files" [
2976 + export extern "jj help debug watchman reset-clock" [
2979 + # Show information about the working copy state
2980 + export extern "jj help debug working-copy" [
2983 + # Update the change description or other metadata
2984 + export extern "jj help describe" [
2987 + # Compare file contents between two revisions
2988 + export extern "jj help diff" [
2991 + # Touch up the content changes in a revision with a diff editor
2992 + export extern "jj help diffedit" [
2995 + # Create a new change with the same content as an existing one
2996 + export extern "jj help duplicate" [
2999 + # Sets the specified revision as the working-copy revision
3000 + export extern "jj help edit" [
3003 + # Show how a change has evolved over time
3004 + export extern "jj help evolog" [
3007 + # File operations
3008 + export extern "jj help file" [
3011 + # Sets or removes the executable bit for paths in the repo
3012 + export extern "jj help file chmod" [
3015 + # List files in a revision
3016 + export extern "jj help file list" [
3019 + # Print contents of files in a revision
3020 + export extern "jj help file show" [
3023 + # Start tracking specified paths in the working copy
3024 + export extern "jj help file track" [
3027 + # Stop tracking specified paths in the working copy
3028 + export extern "jj help file untrack" [
3031 + # List files in a revision (DEPRECATED use `jj file list`)
3032 + export extern "jj help files" [
3035 + # Update files with formatting fixes or other changes
3036 + export extern "jj help fix" [
3039 + # Commands for working with Git remotes and the underlying Git repo
3040 + export extern "jj help git" [
3043 + # Create a new repo backed by a clone of a Git repo
3044 + export extern "jj help git clone" [
3047 + # Update the underlying Git repo with changes made in the repo
3048 + export extern "jj help git export" [
3051 + # Fetch from a Git remote
3052 + export extern "jj help git fetch" [
3055 + # Update repo with changes made in the underlying Git repo
3056 + export extern "jj help git import" [
3059 + # Create a new Git backed repo
3060 + export extern "jj help git init" [
3063 + # Push to a Git remote
3064 + export extern "jj help git push" [
3067 + # Manage Git remotes
3068 + export extern "jj help git remote" [
3071 + # Add a Git remote
3072 + export extern "jj help git remote add" [
3075 + # List Git remotes
3076 + export extern "jj help git remote list" [
3079 + # Remove a Git remote and forget its bookmarks
3080 + export extern "jj help git remote remove" [
3083 + # Rename a Git remote
3084 + export extern "jj help git remote rename" [
3087 + # Set the URL of a Git remote
3088 + export extern "jj help git remote set-url" [
3091 + # FOR INTERNAL USE ONLY Interact with git submodules
3092 + export extern "jj help git submodule" [
3095 + # Print the relevant contents from .gitmodules. For debugging purposes only
3096 + export extern "jj help git submodule print-gitmodules" [
3099 + # Create a new repo in the given directory
3100 + export extern "jj help init" [
3103 + # Compare the changes of two commits
3104 + export extern "jj help interdiff" [
3107 + # Show revision history
3108 + export extern "jj help log" [
3111 + # Merge work from multiple bookmarks (DEPRECATED, use `jj new`)
3112 + export extern "jj help merge" [
3115 + # Move changes from one revision into another (DEPRECATED, use `jj squash`)
3116 + export extern "jj help move" [
3119 + # Create a new, empty change and (by default) edit it in the working copy
3120 + export extern "jj help new" [
3123 + # Move the working-copy commit to the child revision
3124 + export extern "jj help next" [
3127 + # Commands for working with the operation log
3128 + export extern "jj help operation" [
3131 + # Abandon operation history
3132 + export extern "jj help operation abandon" [
3135 + # Compare changes to the repository between two operations
3136 + export extern "jj help operation diff" [
3139 + # Show the operation log
3140 + export extern "jj help operation log" [
3143 + # Create a new operation that restores the repo to an earlier state
3144 + export extern "jj help operation restore" [
3147 + # Show changes to the repository in an operation
3148 + export extern "jj help operation show" [
3151 + # Create a new operation that undoes an earlier operation
3152 + export extern "jj help operation undo" [
3155 + # Parallelize revisions by making them siblings
3156 + export extern "jj help parallelize" [
3159 + # Change the working copy revision relative to the parent revision
3160 + export extern "jj help prev" [
3163 + # Move revisions to different parent(s)
3164 + export extern "jj help rebase" [
3167 + # Resolve a conflicted file with an external merge tool
3168 + export extern "jj help resolve" [
3171 + # Restore paths from another revision
3172 + export extern "jj help restore" [
3175 + # A dummy command that accepts any arguments
3176 + export extern "jj help revert" [
3179 + # Show the current workspace root directory
3180 + export extern "jj help root" [
3183 + # (**Stub**, does not work yet) Run a command across a set of revisions.
3184 + export extern "jj help run" [
3187 + # Show commit description and changes in a revision
3188 + export extern "jj help show" [
3191 + # Manage which paths from the working-copy commit are present in the working copy
3192 + export extern "jj help sparse" [
3195 + # Start an editor to update the patterns that are present in the working copy
3196 + export extern "jj help sparse edit" [
3199 + # List the patterns that are currently present in the working copy
3200 + export extern "jj help sparse list" [
3203 + # Reset the patterns to include all files in the working copy
3204 + export extern "jj help sparse reset" [
3207 + # Update the patterns that are present in the working copy
3208 + export extern "jj help sparse set" [
3211 + # Split a revision in two
3212 + export extern "jj help split" [
3215 + # Move changes from a revision into another revision
3216 + export extern "jj help squash" [
3219 + # Show high-level repo status
3220 + export extern "jj help status" [
3223 + # Manage tags
3224 + export extern "jj help tag" [
3227 + # List tags
3228 + export extern "jj help tag list" [
3231 + # Infrequently used commands such as for generating shell completions
3232 + export extern "jj help util" [
3235 + # Print a command-line-completion script
3236 + export extern "jj help util completion" [
3239 + # Run backend-dependent garbage collection
3240 + export extern "jj help util gc" [
3243 + # Print a ROFF (manpage)
3244 + export extern "jj help util mangen" [
3247 + # Print the CLI help for all subcommands in Markdown
3248 + export extern "jj help util markdown-help" [
3251 + # Print the JSON schema for the jj TOML config format
3252 + export extern "jj help util config-schema" [
3255 + # Undo an operation (shortcut for `jj op undo`)
3256 + export extern "jj help undo" [
3259 + # Move changes from a revision's parent into the revision
3260 + export extern "jj help unsquash" [
3263 + # Stop tracking specified paths in the working copy
3264 + export extern "jj help untrack" [
3267 + # Display version information
3268 + export extern "jj help version" [
3271 + # Commands for working with workspaces
3272 + export extern "jj help workspace" [
3275 + # Add a workspace
3276 + export extern "jj help workspace add" [
3279 + # Stop tracking a workspace's working-copy commit in the repo
3280 + export extern "jj help workspace forget" [
3283 + # List workspaces
3284 + export extern "jj help workspace list" [
3287 + # Renames the current workspace
3288 + export extern "jj help workspace rename" [
3291 + # Show the current workspace root directory
3292 + export extern "jj help workspace root" [
3295 + # Update a workspace that has become stale
3296 + export extern "jj help workspace update-stale" [
3299 + # Print this message or the help of the given subcommand(s)
3300 + export extern "jj help help" [
3305 +export use completions *

nushell/completions/pueue-completions.nu

Added
new file mode 100644
1 +module completions {
3 + def "nu-complete pueue color" [] {
4 + [ "auto" "never" "always" ]
5 + }
7 + # Interact with the Pueue daemon
8 + export extern pueue [
9 + --verbose(-v) # Verbose mode (-v, -vv, -vvv)
10 + --color: string@"nu-complete pueue color" # Colorize the output; auto enables color output when connected to a tty
11 + --config(-c): string # If provided, Pueue only uses this config file. This path can also be set via the "PUEUE_CONFIG_PATH" environment variable. The commandline option overwrites the environment variable!
12 + --profile(-p): string # The name of the profile that should be loaded from your config file
13 + --help(-h) # Print help
14 + --version(-V) # Print version
15 + ]
17 + # Enqueue a task for execution. There're many different options when scheduling a task. Check the individual option help texts for more information. Furthermore, please remember that scheduled commands are executed via your system shell. This means that the command needs proper shell escaping. The safest way to preserve shell escaping is to surround your command with quotes, for example: pueue add 'ls $HOME && echo "Some string"'
18 + export extern "pueue add" [
19 + ...command: string # The command to be added
20 + --working-directory(-w): string # Specify current working directory
21 + --escape(-e) # Escape any special shell characters (" ", "&", "!", etc.). Beware: This implicitly disables nearly all shell specific syntax ("&&", "&>")
22 + --immediate(-i) # Immediately start the task
23 + --stashed(-s) # Create the task in Stashed state. Useful to avoid immediate execution if the queue is empty
24 + --delay(-d): string # Prevents the task from being enqueued until 'delay' elapses. See "enqueue" for accepted formats
25 + --group(-g): string # Assign the task to a group. Groups kind of act as separate queues. I.e. all groups run in parallel and you can specify the amount of parallel tasks for each group. If no group is specified, the default group will be used
26 + --after(-a): string # Start the task once all specified tasks have successfully finished. As soon as one of the dependencies fails, this task will fail as well
27 + --priority(-o): string # Start this task with a higher priority. The higher the number, the faster it will be processed
28 + --label(-l): string # Add some information for yourself. This string will be shown in the "status" table. There's no additional logic connected to it
29 + --print-task-id(-p) # Only return the task id instead of a text. This is useful when working with dependencies
30 + --help(-h) # Print help
31 + ]
33 + # Remove tasks from the list. Running or paused tasks need to be killed first
34 + export extern "pueue remove" [
35 + ...task_ids: string # The task ids to be removed
36 + --help(-h) # Print help
37 + ]
39 + # Switches the queue position of two commands. Only works on queued and stashed commands
40 + export extern "pueue switch" [
41 + task_id_1: string # The first task id
42 + task_id_2: string # The second task id
43 + --help(-h) # Print help
44 + ]
46 + # Stashed tasks won't be automatically started. You have to enqueue them or start them by hand
47 + export extern "pueue stash" [
48 + ...task_ids: string # Stash these specific tasks
49 + --help(-h) # Print help
50 + ]
52 + # Enqueue stashed tasks. They'll be handled normally afterwards
53 + export extern "pueue enqueue" [
54 + ...task_ids: string # Enqueue these specific tasks
55 + --delay(-d): string # Delay enqueuing these tasks until 'delay' elapses. See DELAY FORMAT below
56 + --help(-h) # Print help
57 + ]
59 + # Resume operation of specific tasks or groups of tasks. By default, this resumes the default group and all its tasks. Can also be used force-start specific tasks.
60 + export extern "pueue start" [
61 + ...task_ids: string # Start these specific tasks. Paused tasks will resumed. Queued or Stashed tasks will be force-started
62 + --group(-g): string # Resume a specific group and all paused tasks in it. The group will be set to running and its paused tasks will be resumed
63 + --all(-a) # Resume all groups! All groups will be set to running and paused tasks will be resumed
64 + --children(-c) # Deprecated: this switch no longer has any effect
65 + --help(-h) # Print help
66 + ]
68 + # Restart failed or successful task(s). By default, identical tasks will be created and enqueued, but it's possible to restart in-place. You can also edit a few properties, such as the path and the command, before restarting.
69 + export extern "pueue restart" [
70 + ...task_ids: string # Restart these specific tasks
71 + --all-failed(-a) # Restart all failed tasks across all groups. Nice to use in combination with `-i/--in-place`
72 + --failed-in-group(-g): string # Like `--all-failed`, but only restart tasks failed tasks of a specific group. The group will be set to running and its paused tasks will be resumed
73 + --start-immediately(-k) # Immediately start the tasks, no matter how many open slots there are. This will ignore any dependencies tasks may have
74 + --stashed(-s) # Set the restarted task to a "Stashed" state. Useful to avoid immediate execution
75 + --in-place(-i) # Restart the task by reusing the already existing tasks. This will overwrite any previous logs of the restarted tasks
76 + --not-in-place # Restart the task by creating a new identical tasks. Only applies, if you have the restart_in_place configuration set to true
77 + --edit(-e) # Edit the tasks' commands before restarting
78 + --edit-path(-p) # Edit the tasks' paths before restarting
79 + --edit-label(-l) # Edit the tasks' labels before restarting
80 + --edit-priority(-o) # Edit the tasks' priorities before restarting
81 + --help(-h) # Print help
82 + ]
84 + # Either pause running tasks or specific groups of tasks. By default, pauses the default group and all its tasks. A paused queue (group) won't start any new tasks.
85 + export extern "pueue pause" [
86 + ...task_ids: string # Pause these specific tasks. Does not affect the default group, groups or any other tasks
87 + --group(-g): string # Pause a specific group
88 + --all(-a) # Pause all groups!
89 + --wait(-w) # Only pause the specified group and let already running tasks finish by themselves
90 + --children(-c) # Deprecated: this switch no longer has any effect
91 + --help(-h) # Print help
92 + ]
94 + # Kill specific running tasks or whole task groups.. Kills all tasks of the default group when no ids or a specific group are provided.
95 + export extern "pueue kill" [
96 + ...task_ids: string # Kill these specific tasks
97 + --group(-g): string # Kill all running tasks in a group. This also pauses the group
98 + --all(-a) # Kill all running tasks across ALL groups. This also pauses all groups
99 + --children(-c) # Deprecated: this switch no longer has any effect
100 + --signal(-s): string # Send a UNIX signal instead of simply killing the process. DISCLAIMER: This bypasses Pueue's process handling logic! You might enter weird invalid states, use at your own descretion
101 + --help(-h) # Print help
104 + # Send something to a task. Useful for sending confirmations such as 'y\n'
105 + export extern "pueue send" [
106 + task_id: string # The id of the task
107 + input: string # The input that should be sent to the process
108 + --help(-h) # Print help
111 + # Edit the command, path, label, or priority of a stashed or queued task. By default only the command is edited. Multiple properties can be added in one go.
112 + export extern "pueue edit" [
113 + task_id: string # The task's id
114 + --command(-c) # Edit the task's command
115 + --path(-p) # Edit the task's path
116 + --label(-l) # Edit the task's label
117 + --priority(-o) # Edit the task's priority
118 + --help(-h) # Print help
121 + # Use this to add or remove groups. By default, this will simply display all known groups.
122 + export extern "pueue group" [
123 + --json(-j) # Print the list of groups as json
124 + --help(-h) # Print help
127 + # Add a group by name
128 + export extern "pueue group add" [
129 + name: string
130 + --parallel(-p): string # Set the amount of parallel tasks this group can have. Setting this to 0 means an unlimited amount of parallel tasks
131 + --help(-h) # Print help
134 + # Remove a group by name. This will move all tasks in this group to the default group!
135 + export extern "pueue group remove" [
136 + name: string
137 + --help(-h) # Print help
140 + # Print this message or the help of the given subcommand(s)
141 + export extern "pueue group help" [
144 + # Add a group by name
145 + export extern "pueue group help add" [
148 + # Remove a group by name. This will move all tasks in this group to the default group!
149 + export extern "pueue group help remove" [
152 + # Print this message or the help of the given subcommand(s)
153 + export extern "pueue group help help" [
156 + # Display the current status of all tasks
157 + export extern "pueue status" [
158 + ...query: string # Users can specify a custom query to filter for specific values, order by a column or limit the amount of tasks listed. Use `--help` for the full syntax definition
159 + --json(-j) # Print the current state as json to stdout. This does not include the output of tasks. Use `log -j` if you want everything
160 + --group(-g): string # Only show tasks of a specific group
161 + --help(-h) # Print help (see more with '--help')
164 + # Accept a list or map of JSON pueue tasks via stdin and display it just like "pueue status". A simple example might look like this: pueue status --json | jq -c '.tasks' | pueue format-status
165 + export extern "pueue format-status" [
166 + --group(-g): string # Only show tasks of a specific group
167 + --help(-h) # Print help
170 + # Display the log output of finished tasks. Only the last few lines will be shown by default. If you want to follow the output of a task, please use the "follow" subcommand.
171 + export extern "pueue log" [
172 + ...task_ids: string # View the task output of these specific tasks
173 + --json(-j) # Print the resulting tasks and output as json. By default only the last lines will be returned unless --full is provided. Take care, as the json cannot be streamed! If your logs are really huge, using --full can use all of your machine's RAM
174 + --lines(-l): string # Only print the last X lines of each task's output. This is done by default if you're looking at multiple tasks
175 + --full(-f) # Show the whole output
176 + --help(-h) # Print help
179 + # Follow the output of a currently running task. This command works like "tail -f"
180 + export extern "pueue follow" [
181 + task_id?: string # The id of the task you want to watch. If no or multiple tasks are running, you have to specify the id. If only a single task is running, you can omit the id
182 + --lines(-l): string # Only print the last X lines of the output before following
183 + --help(-h) # Print help
186 + # Wait until tasks are finished. By default, this will wait for all tasks in the default group to finish. Note: This will also wait for all tasks that aren't somehow 'Done'. Includes: [Paused, Stashed, Locked, Queued, ...]
187 + export extern "pueue wait" [
188 + ...task_ids: string # This allows you to wait for specific tasks to finish
189 + --group(-g): string # Wait for all tasks in a specific group
190 + --all(-a) # Wait for all tasks across all groups and the default group
191 + --quiet(-q) # Don't show any log output while waiting
192 + --status(-s): string # Wait for tasks to reach a specific task status
193 + --help(-h) # Print help
196 + # Remove all finished tasks from the list
197 + export extern "pueue clean" [
198 + --successful-only(-s) # Only clean tasks that finished successfully
199 + --group(-g): string # Only clean tasks of a specific group
200 + --help(-h) # Print help
203 + # Kill all tasks, clean up afterwards and reset EVERYTHING!
204 + export extern "pueue reset" [
205 + --children(-c) # Deprecated: this switch no longer has any effect
206 + --force(-f) # Don't ask for any confirmation
207 + --help(-h) # Print help
210 + # Remotely shut down the daemon. Should only be used if the daemon isn't started by a service manager
211 + export extern "pueue shutdown" [
212 + --help(-h) # Print help
215 + # Set the amount of allowed parallel tasks By default, adjusts the amount of the default group. No tasks will be stopped, if this is lowered. This limit is only considered when tasks are scheduled.
216 + export extern "pueue parallel" [
217 + parallel_tasks?: string # The amount of allowed parallel tasks. Setting this to 0 means an unlimited amount of parallel tasks
218 + --group(-g): string # Set the amount for a specific group
219 + --help(-h) # Print help
222 + def "nu-complete pueue completions shell" [] {
223 + [ "bash" "elvish" "fish" "power-shell" "zsh" "nushell" ]
226 + # Generates shell completion files. This can be ignored during normal operations
227 + export extern "pueue completions" [
228 + shell: string@"nu-complete pueue completions shell" # The target shell
229 + output_directory?: string # The output directory to which the file should be written
230 + --help(-h) # Print help
233 + # Print this message or the help of the given subcommand(s)
234 + export extern "pueue help" [
237 + # Enqueue a task for execution. There're many different options when scheduling a task. Check the individual option help texts for more information. Furthermore, please remember that scheduled commands are executed via your system shell. This means that the command needs proper shell escaping. The safest way to preserve shell escaping is to surround your command with quotes, for example: pueue add 'ls $HOME && echo "Some string"'
238 + export extern "pueue help add" [
241 + # Remove tasks from the list. Running or paused tasks need to be killed first
242 + export extern "pueue help remove" [
245 + # Switches the queue position of two commands. Only works on queued and stashed commands
246 + export extern "pueue help switch" [
249 + # Stashed tasks won't be automatically started. You have to enqueue them or start them by hand
250 + export extern "pueue help stash" [
253 + # Enqueue stashed tasks. They'll be handled normally afterwards
254 + export extern "pueue help enqueue" [
257 + # Resume operation of specific tasks or groups of tasks. By default, this resumes the default group and all its tasks. Can also be used force-start specific tasks.
258 + export extern "pueue help start" [
261 + # Restart failed or successful task(s). By default, identical tasks will be created and enqueued, but it's possible to restart in-place. You can also edit a few properties, such as the path and the command, before restarting.
262 + export extern "pueue help restart" [
265 + # Either pause running tasks or specific groups of tasks. By default, pauses the default group and all its tasks. A paused queue (group) won't start any new tasks.
266 + export extern "pueue help pause" [
269 + # Kill specific running tasks or whole task groups.. Kills all tasks of the default group when no ids or a specific group are provided.
270 + export extern "pueue help kill" [
273 + # Send something to a task. Useful for sending confirmations such as 'y\n'
274 + export extern "pueue help send" [
277 + # Edit the command, path, label, or priority of a stashed or queued task. By default only the command is edited. Multiple properties can be added in one go.
278 + export extern "pueue help edit" [
281 + # Use this to add or remove groups. By default, this will simply display all known groups.
282 + export extern "pueue help group" [
285 + # Add a group by name
286 + export extern "pueue help group add" [
289 + # Remove a group by name. This will move all tasks in this group to the default group!
290 + export extern "pueue help group remove" [
293 + # Display the current status of all tasks
294 + export extern "pueue help status" [
297 + # Accept a list or map of JSON pueue tasks via stdin and display it just like "pueue status". A simple example might look like this: pueue status --json | jq -c '.tasks' | pueue format-status
298 + export extern "pueue help format-status" [
301 + # Display the log output of finished tasks. Only the last few lines will be shown by default. If you want to follow the output of a task, please use the "follow" subcommand.
302 + export extern "pueue help log" [
305 + # Follow the output of a currently running task. This command works like "tail -f"
306 + export extern "pueue help follow" [
309 + # Wait until tasks are finished. By default, this will wait for all tasks in the default group to finish. Note: This will also wait for all tasks that aren't somehow 'Done'. Includes: [Paused, Stashed, Locked, Queued, ...]
310 + export extern "pueue help wait" [
313 + # Remove all finished tasks from the list
314 + export extern "pueue help clean" [
317 + # Kill all tasks, clean up afterwards and reset EVERYTHING!
318 + export extern "pueue help reset" [
321 + # Remotely shut down the daemon. Should only be used if the daemon isn't started by a service manager
322 + export extern "pueue help shutdown" [
325 + # Set the amount of allowed parallel tasks By default, adjusts the amount of the default group. No tasks will be stopped, if this is lowered. This limit is only considered when tasks are scheduled.
326 + export extern "pueue help parallel" [
329 + # Generates shell completion files. This can be ignored during normal operations
330 + export extern "pueue help completions" [
333 + # Print this message or the help of the given subcommand(s)
334 + export extern "pueue help help" [
339 +export use completions *

nushell/config.nu

Modified
1 +def expand-home [] {
2 + let p = $in
3 + if ( $p =~ '~') {
4 + return ($p | path expand)
5 + }
6 + return $p
7 +}
9 +def direnv [] {
10 + [
11 + {
12 + condition: {|before, after| ($before != $after) and ($after | path join '.env' | path exists) }
13 + code: r#'
14 + open .env
15 + | lines
16 + | parse --regex '\s*(?P<key>.+?)\s*=\s*?(?P<value>.+)?\s*'
17 + | reduce --fold {} { | entry, acc|
18 + $acc | upsert $entry.key ( $entry.value | str trim | expand-home )
19 + }
20 + | load-env'#
21 + }
22 + ]
1 25 $env.config = {
2 26 show_banner: false
3 27 table: {
20 44 file_format: "sqlite"
21 45 isolation: true
47 + hooks: {
48 + env_change: {
49 + PWD: (direnv)
50 + }
51 + }

nushell/env.nu

Modified
87 87 '' | save -f $zoxide_config_path
90 +let jj_completions_path = $nu.default-config-dir | path join 'completions' | path join 'jj-completions.nu'
91 +if not (which jj | is-empty) {
92 + jj util completion nushell | save --force $jj_completions_path
93 +} else {
94 + '' | save -f $jj_completions_path
97 +let pueue_completions_path = $nu.default-config-dir | path join 'completions' | path join 'pueue-completions.nu'
98 +if not (which pueue | is-empty) {
99 + pueue completions nushell | save --force $pueue_completions_path
100 +} else {
101 + '' | save -f $pueue_completions_path
90 104 # TODO: figure out sensible bridges
91 105 $env.CARAPACE_BRIDGES = 'zsh,fish,bash,inshellisense'
92 106 let carapace_config_path = $nu.default-config-dir | path join 'carapace.nu'

nushell/login.nu

Modified
12 12 use packages.nu
13 13 use fedora_bootstrip.nu
14 14 use notes.nu
15 -use direnv.nu
17 16 use svn-completions.nu *
17 +source ($nu.default-config-dir | path join 'completions' | path join 'jj-completions.nu')
18 +source ($nu.default-config-dir | path join 'completions' | path join 'pueue-completions.nu')
19 20 if $env.WIN32 {
20 21 use refreshenv.nu *
28 29 todo commands
29 30 print (char nl)
30 31 todo

nushell/scripts/notes.nu

Modified
3 3 ### bugabingas custom note taking and organizing system
5 5 ### notes are grouped into contexts (folders), so that i can distinguish between
6 6 ### personal and work related notes.
8 +#TODO: subbcommands:
9 +# - search
10 +# - graph
10 12 def validate_context [
11 13 context: string
59 +def edit [ ...rest ] {
60 + mut editor = if ( $env.EDITOR == null ) { 'vi' } else { $env.EDITOR }
61 + $editor = if ( $env.VISUAL == null ) { $editor } else { $env.VISUAL }
62 + run-external $editor ...$rest
65 +def notes_directory [
66 + context: string # which context do the notes belong to
67 +] {
68 + $env.NOTES | path join $context
57 71 export def new [
58 72 title?: string # title of new node
59 73 --tags: list<string> # some optional tags for the note
70 84 let note_content = new_note $title $author $date $tags $context
71 85 let note_file_name = $"(new_note_id)-($title | str kebab-case).md"
72 - let note_file = [ $env.NOTES $context $note_file_name] | path join
86 + let note_file = [ (notes_directory $context) $note_file_name] | path join
74 88 if ($note_file | path exists) {
75 89 error make {
76 90 msg: "the note you are trying to create exists already"
80 93 $note_content | save --raw $note_file
94 + edit $note_file
82 - let editor = if ( $env.EDITOR == null ) { 'vi' } else { $env.EDITOR }
83 - let editor = if ( $env.VISUAL == null ) { $editor } else { $env.VISUAL }
84 - run-external $editor $note_file
97 +export def open [
98 + query: string = "" # intial search term
99 + --context: string = "bugabinga" # which context do the notes belong to
100 +] {
101 + let note = ls --short-names --threads ( notes_directory $context) |
102 + sort-by --reverse modified |
103 + get name |
104 + to text |
105 + ^sk --query $query --bind $"f1:execute\(inlyne (notes_directory $context)/{}\)" --preview $"mdcat (notes_directory $context)/{}" --header "F1: GUI Preview"
107 + edit ( notes_directory $context | path join $note)

tools/tools.csv

Modified
1 1 name;bin;cargo_args
2 2 asm-cli-rust; asm-cli-rust; --git https://github.com/cch123/asm-cli-rust
4 +bk
4 5 bartib
5 6 bottom; btm
6 -broot
7 7 cargo-cache
8 8 cargo-update;cargo-install-update
9 -choose
10 -czkawka_cli
11 9 carl
12 10 calendar-rs;calendar
13 11 du-dust; dust
14 12 dotenv-linter
15 -dupimg
13 +diskonaut
17 15 emplace
18 16 eza; eza; --features vendored-openssl,vendored-libgit2
21 19 git-delta;delta
22 20 gitu;gitu; --locked
23 21 gitoxide;gix
24 -handlr; handlr; --locked
25 -hck
26 -httm
27 22 hexyl
28 23 hyperfine
29 24 inlyne
30 25 jj-cli; jj; --locked --bin jj
31 -jaq;jaq; --locked
32 26 just
33 -lemmeknow
35 -# needs a platform key
36 -#lurk-cli; lurk
28 +lurk-cli; lurk
37 29 lychee;lychee; --locked --no-default-features --features rustls-tls,email-check
38 -mask
39 30 macchina
40 -markdown-oxide; markdown-oxide; --locked --git https://github.com/Feel-ix-343/markdown-oxide.git
41 31 mdbook
42 32 mdcat
43 -mdsh
44 33 monolith
45 34 names
46 -# netscanner
35 +netscanner
47 36 neovide;neovide; --git https://github.com/neovide/neovide
48 37 nu;nu; --locked
49 -neovide; neovide; --git https://github.com/neovide/neovide
50 38 nu_plugin_audio_hook; nu_plugin_audio_hook; --git https://github.com/FMotalleb/nu_plugin_audio_hook.git --features all-decoders
51 -nu_plugin_skim
52 -nu_plugin_desktop_notifications
53 39 ouch
54 40 pastel
55 41 presenterm
56 42 pueue;pueue;--locked
57 43 ripgrep;rg
59 -rust-parallel
60 -rversions
61 -sd
62 45 skim;sk
63 46 sbyte
64 -# sniffnet
65 -selene;selene; --no-default-features
66 -starship
67 -stylua;stylua; --features lua52
47 +sniffnet
68 48 taplo-cli;taplo; --locked --features lsp
69 49 tealdeer;tldr
70 50 tokei
71 51 topgrade
72 -tre
73 52 tsdl
74 53 ttyper
75 54 unison-fsmonitor
76 -# ugdb
77 -viu
55 +ugdb
78 56 vivid
79 57 wthrr
80 58 yazi-cli;ya; --locked
81 59 yazi-fm;yazi; --locked
82 60 zoxide

wezterm/bugabinga/nugu/palette_dark.lua

Modified
1 1 return
2 -{palette = {debug = "#ff00ff", error = "#6f1d3a", warning = "#967653", info = "#5f7796", content = {normal = "#d4d4d4", backdrop = "#121212", accent = "#750b75", minor = "#4f4f4f", focus = "#51818c", unfocus = "#28454b", important_local = "#483a7b", important_global = "#6d5bb1"}, ui = {normal = "#e6e6e6", backdrop = "#000000", accent = "#230723", minor = "#242424", focus = "#3d474a", unfocus = "#0c1010", important_local = "#2a2638", important_global = "#514a6c"}}}
2 +{palette = {debug = "#ff00ff", error = "#6f1d3a", warning = "#967653", info = "#5f7796", content = {normal = "#d4d4d4", backdrop = "#121212", accent = "#750b75", minor = "#4f4f4f", focus = "#51818c", unfocus = "#28454b", important_local = "#483a7b", important_global = "#6d5bb1"}, ui = {normal = "#e6e6e6", backdrop = "#000000", accent = "#5a265a", minor = "#242424", focus = "#3d474a", unfocus = "#0c1010", important_local = "#2a2638", important_global = "#514a6c"}}}

wezterm/bugabinga/nugu/palette_light.lua

Modified
1 1 return
2 -{palette = {debug = "#ff00ff", error = "#d6638b", warning = "#d9cbbb", info = "#c7d0db", content = {normal = "#2b2b2b", backdrop = "#ededed", accent = "#750b75", minor = "#787878", focus = "#267b8e", unfocus = "#929292", important_local = "#8169c3", important_global = "#553d98"}, ui = {normal = "#1a1a1a", backdrop = "#ffffff", accent = "#b225b2", minor = "#a3a3a3", focus = "#53a5b7", unfocus = "#bdbdbd", important_local = "#bab1d1", important_global = "#897bb1"}}}
2 +{palette = {debug = "#ff00ff", error = "#d6638b", warning = "#d9cbbb", info = "#c7d0db", content = {normal = "#2b2b2b", backdrop = "#ededed", accent = "#750b75", minor = "#787878", focus = "#267b8e", unfocus = "#929292", important_local = "#8169c3", important_global = "#553d98"}, ui = {normal = "#1a1a1a", backdrop = "#ffffff", accent = "#5a265a", minor = "#a3a3a3", focus = "#53a5b7", unfocus = "#bdbdbd", important_local = "#bab1d1", important_global = "#897bb1"}}}

wezterm/wezterm.lua

Modified
9 9 require 'bugabinga.window' ( cfg )
10 10 require 'bugabinga.startup' ( cfg )
11 11 require 'bugabinga.status' ( cfg )
12 -require 'bugabinga.titles' ( cfg )
12 +-- require 'bugabinga.titles' ( cfg )
13 13 require 'bugabinga.launch' ( cfg )
14 14 require 'bugabinga.neovim_zen_mode' (cfg)
15 15 require 'bugabinga.hosts' ( cfg )
17 17 -- logs key presses
18 18 -- cfg.debug_key_events = true,
19 19 return cfg