repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk

769368fa90b102bfe870b52983d47fbef7e1bad2

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (4)

+1230 / −508 text lines

Diff layout

environment.d/path.conf

Modified

+1 / −1 text lines

11CARGO_HOME = /home/oli/.cargo
22GO_HOME = /home/oli/go
33LTEX_HOME = /home/oli/Tools/ltex-ls-16.0.0
4PATH = $CARGO_HOME/bin:$GO_HOME/bin:$LTEX_HOME/bin:$PATH
4PATH = $CARGO_HOME/bin:$GO_HOME/bin:$LTEX_HOME/bin:$HOME/.local/bin:$PATH

helix/themes/nugu-dark.toml

Modified

+18 / −18 text lines

121121[palette]
123normal = "#d4d4d4"
123normal = "#ededed"
124124backdrop = "#121212"
125accent = "#750b75"
126important_local = "#483a7b"
127important_global = "#6d5bb1"
128minor = "#4f4f4f"
129focus = "#51818c"
130unfocus = "#28454b"
131ui_normal = "#e6e6e6"
132ui_backdrop = "#000000"
133ui_accent = "#5a265a"
134ui_important_global = "#514a6c"
135ui_important_local = "#2a2638"
136ui_minor = "#242424"
137ui_focus = "#3d474a"
138ui_unfocus = "#0c1010"
139error = "#6f1d3a"
140warning = "#967653"
141info = "#5f7796"
125accent = "#e808e8"
126important_local = "#9b66f0"
127important_global = "#b086f3"
128minor = "#686868"
129focus = "#7d9e9b"
130unfocus = "#284c4a"
131ui_normal = "#fefefe"
132ui_backdrop = "#010101"
133ui_accent = "#b63ab6"
134ui_important_global = "#9c6cea"
135ui_important_local = "#884de6"
136ui_minor = "#565656"
137ui_focus = "#738584"
138ui_unfocus = "#1f3231"
139error = "#ec1274"
140warning = "#f89f89"
141info = "#9c9bf5"
142142debug = "#ff00ff"

neovim/puk.plugins.nuon

Modified

+3 / −3 text lines

294294 [
295295 profile,
296296 github,
297 "nvim-lua/plenary.nvim",
297 "stevearc/profile.nvim",
298298 master,
299 "2d9b06177a975543726ce5c73fca176cedbffe9d",
299 "d57df512bdade4c7a04a1bb6c89c8b54c5dce52a",
300300 null
301301 ],
302302 [
312312 github,
313313 "rachartier/tiny-inline-diagnostic.nvim",
314314 main,
315 "66d9166520a0cb3392a5ef68946fd3980d57383f",
315 "90610e55f438d833c052867d022ff11f27647210",
316316 null
317317 ],
318318 [

nushell/completions/jj-completions.nu

Modified

+1208 / −486 text lines

11module completions {
3 def "nu-complete jj color" [] {
4 [ "always" "never" "debug" "auto" ]
5 }
6
37 # Jujutsu (An experimental VCS)
48 export extern jj [
5 --repository(-R): string # Path to repository to operate on
9 --repository(-R): path # Path to repository to operate on
610 --ignore-working-copy # Don't snapshot the working copy, and don't update it
711 --ignore-immutable # Allow rewriting immutable commits
812 --at-operation: string # Operation to load the repo at
913 --at-op: string # Operation to load the repo at
1014 --debug # Enable debug logging
11 --color: string # When to colorize output (always, never, debug, auto)
15 --color: string@"nu-complete jj color" # When to colorize output
1216 --quiet # Silence non-primary command output
1317 --no-pager # Disable the pager
14 --config-toml: string # Additional configuration options (can be repeated)
18 --config: string # Additional configuration options (can be repeated)
19 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
20 --config-file: path # Additional configuration files (can be repeated)
1521 --help(-h) # Print help (see more with '--help')
1622 --version(-V) # Print version
1723 ]
25 def "nu-complete jj abandon color" [] {
26 [ "always" "never" "debug" "auto" ]
27 }
1929 # Abandon a revision
2030 export extern "jj abandon" [
21 ...revisions: string # The revision(s) to abandon
31 ...revisions_pos: string # The revision(s) to abandon (default: @)
32 -r: string
2233 --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)
34 --retain-bookmarks # Do not delete bookmarks pointing to the revisions to abandon
2435 --restore-descendants # Do not modify the content of the children of the abandoned commits
25 --repository(-R): string # Path to repository to operate on
36 --repository(-R): path # Path to repository to operate on
2637 --ignore-working-copy # Don't snapshot the working copy, and don't update it
2738 --ignore-immutable # Allow rewriting immutable commits
2839 --at-operation: string # Operation to load the repo at
2940 --at-op: string # Operation to load the repo at
3041 --debug # Enable debug logging
31 --color: string # When to colorize output (always, never, debug, auto)
42 --color: string@"nu-complete jj abandon color" # When to colorize output
3243 --quiet # Silence non-primary command output
3344 --no-pager # Disable the pager
34 --config-toml: string # Additional configuration options (can be repeated)
45 --config: string # Additional configuration options (can be repeated)
46 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
47 --config-file: path # Additional configuration files (can be repeated)
3548 --help(-h) # Print help (see more with '--help')
3649 ]
51 def "nu-complete jj absorb color" [] {
52 [ "always" "never" "debug" "auto" ]
53 }
3855 # Move changes from a revision into the stack of mutable revisions
3956 export extern "jj absorb" [
4057 --from(-f): string # Source revision to absorb from
4158 --into(-t): string # Destination revisions to absorb into
4259 --to: string # Destination revisions to absorb into
43 ...paths: string # Move only changes to these paths (instead of all paths)
44 --repository(-R): string # Path to repository to operate on
60 ...paths: path # Move only changes to these paths (instead of all paths)
61 --repository(-R): path # Path to repository to operate on
4562 --ignore-working-copy # Don't snapshot the working copy, and don't update it
4663 --ignore-immutable # Allow rewriting immutable commits
4764 --at-operation: string # Operation to load the repo at
4865 --at-op: string # Operation to load the repo at
4966 --debug # Enable debug logging
50 --color: string # When to colorize output (always, never, debug, auto)
67 --color: string@"nu-complete jj absorb color" # When to colorize output
5168 --quiet # Silence non-primary command output
5269 --no-pager # Disable the pager
53 --config-toml: string # Additional configuration options (can be repeated)
70 --config: string # Additional configuration options (can be repeated)
71 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
72 --config-file: path # Additional configuration files (can be repeated)
5473 --help(-h) # Print help (see more with '--help')
5574 ]
76 def "nu-complete jj backout color" [] {
77 [ "always" "never" "debug" "auto" ]
78 }
5780 # Apply the reverse of a revision on top of another revision
5881 export extern "jj backout" [
5982 --revisions(-r): string # The revision(s) to apply the reverse of
6083 --destination(-d): string # The revision to apply the reverse changes on top of
61 --repository(-R): string # Path to repository to operate on
84 --repository(-R): path # Path to repository to operate on
6285 --ignore-working-copy # Don't snapshot the working copy, and don't update it
6386 --ignore-immutable # Allow rewriting immutable commits
6487 --at-operation: string # Operation to load the repo at
6588 --at-op: string # Operation to load the repo at
6689 --debug # Enable debug logging
67 --color: string # When to colorize output (always, never, debug, auto)
90 --color: string@"nu-complete jj backout color" # When to colorize output
6891 --quiet # Silence non-primary command output
6992 --no-pager # Disable the pager
70 --config-toml: string # Additional configuration options (can be repeated)
93 --config: string # Additional configuration options (can be repeated)
94 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
95 --config-file: path # Additional configuration files (can be repeated)
7196 --help(-h) # Print help (see more with '--help')
7297 ]
99 def "nu-complete jj bookmark color" [] {
100 [ "always" "never" "debug" "auto" ]
101 }
74103 # Manage bookmarks [default alias: b]
75104 export extern "jj bookmark" [
76 --repository(-R): string # Path to repository to operate on
105 --repository(-R): path # Path to repository to operate on
77106 --ignore-working-copy # Don't snapshot the working copy, and don't update it
78107 --ignore-immutable # Allow rewriting immutable commits
79108 --at-operation: string # Operation to load the repo at
80109 --at-op: string # Operation to load the repo at
81110 --debug # Enable debug logging
82 --color: string # When to colorize output (always, never, debug, auto)
111 --color: string@"nu-complete jj bookmark color" # When to colorize output
83112 --quiet # Silence non-primary command output
84113 --no-pager # Disable the pager
85 --config-toml: string # Additional configuration options (can be repeated)
114 --config: string # Additional configuration options (can be repeated)
115 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
116 --config-file: path # Additional configuration files (can be repeated)
86117 --help(-h) # Print help (see more with '--help')
87118 ]
120 def "nu-complete jj bookmark create color" [] {
121 [ "always" "never" "debug" "auto" ]
122 }
89124 # Create a new bookmark
90125 export extern "jj bookmark create" [
91126 --revision(-r): string # The bookmark's target revision
92127 --to: string # The bookmark's target revision
93128 ...names: string # The bookmarks to create
94 --repository(-R): string # Path to repository to operate on
129 --repository(-R): path # Path to repository to operate on
95130 --ignore-working-copy # Don't snapshot the working copy, and don't update it
96131 --ignore-immutable # Allow rewriting immutable commits
97132 --at-operation: string # Operation to load the repo at
98133 --at-op: string # Operation to load the repo at
99134 --debug # Enable debug logging
100 --color: string # When to colorize output (always, never, debug, auto)
135 --color: string@"nu-complete jj bookmark create color" # When to colorize output
101136 --quiet # Silence non-primary command output
102137 --no-pager # Disable the pager
103 --config-toml: string # Additional configuration options (can be repeated)
138 --config: string # Additional configuration options (can be repeated)
139 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
140 --config-file: path # Additional configuration files (can be repeated)
104141 --help(-h) # Print help (see more with '--help')
105142 ]
144 def "nu-complete jj bookmark delete color" [] {
145 [ "always" "never" "debug" "auto" ]
146 }
107148 # Delete an existing bookmark and propagate the deletion to remotes on the next push
108149 export extern "jj bookmark delete" [
109150 ...names: string # The bookmarks to delete
110 --repository(-R): string # Path to repository to operate on
151 --repository(-R): path # Path to repository to operate on
111152 --ignore-working-copy # Don't snapshot the working copy, and don't update it
112153 --ignore-immutable # Allow rewriting immutable commits
113154 --at-operation: string # Operation to load the repo at
114155 --at-op: string # Operation to load the repo at
115156 --debug # Enable debug logging
116 --color: string # When to colorize output (always, never, debug, auto)
157 --color: string@"nu-complete jj bookmark delete color" # When to colorize output
117158 --quiet # Silence non-primary command output
118159 --no-pager # Disable the pager
119 --config-toml: string # Additional configuration options (can be repeated)
160 --config: string # Additional configuration options (can be repeated)
161 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
162 --config-file: path # Additional configuration files (can be repeated)
120163 --help(-h) # Print help (see more with '--help')
121164 ]
166 def "nu-complete jj bookmark forget color" [] {
167 [ "always" "never" "debug" "auto" ]
168 }
123170 # Forget everything about a bookmark, including its local and remote targets
124171 export extern "jj bookmark forget" [
125172 ...names: string # The bookmarks to forget
126 --repository(-R): string # Path to repository to operate on
173 --repository(-R): path # Path to repository to operate on
127174 --ignore-working-copy # Don't snapshot the working copy, and don't update it
128175 --ignore-immutable # Allow rewriting immutable commits
129176 --at-operation: string # Operation to load the repo at
130177 --at-op: string # Operation to load the repo at
131178 --debug # Enable debug logging
132 --color: string # When to colorize output (always, never, debug, auto)
179 --color: string@"nu-complete jj bookmark forget color" # When to colorize output
133180 --quiet # Silence non-primary command output
134181 --no-pager # Disable the pager
135 --config-toml: string # Additional configuration options (can be repeated)
182 --config: string # Additional configuration options (can be repeated)
183 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
184 --config-file: path # Additional configuration files (can be repeated)
136185 --help(-h) # Print help (see more with '--help')
137186 ]
188 def "nu-complete jj bookmark list color" [] {
189 [ "always" "never" "debug" "auto" ]
190 }
139192 # List bookmarks and their targets
140193 export extern "jj bookmark list" [
141194 --all-remotes(-a) # Show all tracking and non-tracking remote bookmarks including the ones whose targets are synchronized with the local bookmarks
145198 ...names: string # Show bookmarks whose local name matches
146199 --revisions(-r): string # Show bookmarks whose local targets are in the given revisions
147200 --template(-T): string # Render each bookmark using the given template
148 --repository(-R): string # Path to repository to operate on
201 --repository(-R): path # Path to repository to operate on
149202 --ignore-working-copy # Don't snapshot the working copy, and don't update it
150203 --ignore-immutable # Allow rewriting immutable commits
151204 --at-operation: string # Operation to load the repo at
152205 --at-op: string # Operation to load the repo at
153206 --debug # Enable debug logging
154 --color: string # When to colorize output (always, never, debug, auto)
207 --color: string@"nu-complete jj bookmark list color" # When to colorize output
155208 --quiet # Silence non-primary command output
156209 --no-pager # Disable the pager
157 --config-toml: string # Additional configuration options (can be repeated)
210 --config: string # Additional configuration options (can be repeated)
211 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
212 --config-file: path # Additional configuration files (can be repeated)
158213 --help(-h) # Print help (see more with '--help')
159214 ]
216 def "nu-complete jj bookmark move color" [] {
217 [ "always" "never" "debug" "auto" ]
218 }
161220 # Move existing bookmarks to target revision
162221 export extern "jj bookmark move" [
163222 --from: string # Move bookmarks from the given revisions
164223 --to: string # Move bookmarks to this revision
165224 --allow-backwards(-B) # Allow moving bookmarks backwards or sideways
166225 ...names: string # Move bookmarks matching the given name patterns
167 --repository(-R): string # Path to repository to operate on
226 --repository(-R): path # Path to repository to operate on
168227 --ignore-working-copy # Don't snapshot the working copy, and don't update it
169228 --ignore-immutable # Allow rewriting immutable commits
170229 --at-operation: string # Operation to load the repo at
171230 --at-op: string # Operation to load the repo at
172231 --debug # Enable debug logging
173 --color: string # When to colorize output (always, never, debug, auto)
232 --color: string@"nu-complete jj bookmark move color" # When to colorize output
174233 --quiet # Silence non-primary command output
175234 --no-pager # Disable the pager
176 --config-toml: string # Additional configuration options (can be repeated)
235 --config: string # Additional configuration options (can be repeated)
236 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
237 --config-file: path # Additional configuration files (can be repeated)
177238 --help(-h) # Print help (see more with '--help')
178239 ]
241 def "nu-complete jj bookmark rename color" [] {
242 [ "always" "never" "debug" "auto" ]
243 }
180245 # Rename `old` bookmark name to `new` bookmark name
181246 export extern "jj bookmark rename" [
182247 old: string # The old name of the bookmark
183248 new: string # The new name of the bookmark
184 --repository(-R): string # Path to repository to operate on
249 --repository(-R): path # Path to repository to operate on
185250 --ignore-working-copy # Don't snapshot the working copy, and don't update it
186251 --ignore-immutable # Allow rewriting immutable commits
187252 --at-operation: string # Operation to load the repo at
188253 --at-op: string # Operation to load the repo at
189254 --debug # Enable debug logging
190 --color: string # When to colorize output (always, never, debug, auto)
255 --color: string@"nu-complete jj bookmark rename color" # When to colorize output
191256 --quiet # Silence non-primary command output
192257 --no-pager # Disable the pager
193 --config-toml: string # Additional configuration options (can be repeated)
258 --config: string # Additional configuration options (can be repeated)
259 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
260 --config-file: path # Additional configuration files (can be repeated)
194261 --help(-h) # Print help (see more with '--help')
195262 ]
264 def "nu-complete jj bookmark set color" [] {
265 [ "always" "never" "debug" "auto" ]
266 }
197268 # Create or update a bookmark to point to a certain commit
198269 export extern "jj bookmark set" [
199270 --revision(-r): string # The bookmark's target revision
200271 --to: string # The bookmark's target revision
201272 --allow-backwards(-B) # Allow moving the bookmark backwards or sideways
202273 ...names: string # The bookmarks to update
203 --repository(-R): string # Path to repository to operate on
274 --repository(-R): path # Path to repository to operate on
204275 --ignore-working-copy # Don't snapshot the working copy, and don't update it
205276 --ignore-immutable # Allow rewriting immutable commits
206277 --at-operation: string # Operation to load the repo at
207278 --at-op: string # Operation to load the repo at
208279 --debug # Enable debug logging
209 --color: string # When to colorize output (always, never, debug, auto)
280 --color: string@"nu-complete jj bookmark set color" # When to colorize output
210281 --quiet # Silence non-primary command output
211282 --no-pager # Disable the pager
212 --config-toml: string # Additional configuration options (can be repeated)
283 --config: string # Additional configuration options (can be repeated)
284 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
285 --config-file: path # Additional configuration files (can be repeated)
213286 --help(-h) # Print help (see more with '--help')
214287 ]
289 def "nu-complete jj bookmark track color" [] {
290 [ "always" "never" "debug" "auto" ]
291 }
216293 # Start tracking given remote bookmarks
217294 export extern "jj bookmark track" [
218295 ...names: string # Remote bookmarks to track
219 --repository(-R): string # Path to repository to operate on
296 --repository(-R): path # Path to repository to operate on
220297 --ignore-working-copy # Don't snapshot the working copy, and don't update it
221298 --ignore-immutable # Allow rewriting immutable commits
222299 --at-operation: string # Operation to load the repo at
223300 --at-op: string # Operation to load the repo at
224301 --debug # Enable debug logging
225 --color: string # When to colorize output (always, never, debug, auto)
302 --color: string@"nu-complete jj bookmark track color" # When to colorize output
226303 --quiet # Silence non-primary command output
227304 --no-pager # Disable the pager
228 --config-toml: string # Additional configuration options (can be repeated)
305 --config: string # Additional configuration options (can be repeated)
306 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
307 --config-file: path # Additional configuration files (can be repeated)
229308 --help(-h) # Print help (see more with '--help')
230309 ]
311 def "nu-complete jj bookmark untrack color" [] {
312 [ "always" "never" "debug" "auto" ]
313 }
232315 # Stop tracking given remote bookmarks
233316 export extern "jj bookmark untrack" [
234317 ...names: string # Remote bookmarks to untrack
235 --repository(-R): string # Path to repository to operate on
318 --repository(-R): path # Path to repository to operate on
236319 --ignore-working-copy # Don't snapshot the working copy, and don't update it
237320 --ignore-immutable # Allow rewriting immutable commits
238321 --at-operation: string # Operation to load the repo at
239322 --at-op: string # Operation to load the repo at
240323 --debug # Enable debug logging
241 --color: string # When to colorize output (always, never, debug, auto)
324 --color: string@"nu-complete jj bookmark untrack color" # When to colorize output
242325 --quiet # Silence non-primary command output
243326 --no-pager # Disable the pager
244 --config-toml: string # Additional configuration options (can be repeated)
327 --config: string # Additional configuration options (can be repeated)
328 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
329 --config-file: path # Additional configuration files (can be repeated)
245330 --help(-h) # Print help (see more with '--help')
246331 ]
333 def "nu-complete jj branch color" [] {
334 [ "always" "never" "debug" "auto" ]
335 }
248337 # Manage bookmarks [default alias: b]
249338 export extern "jj branch" [
250 --repository(-R): string # Path to repository to operate on
339 --repository(-R): path # Path to repository to operate on
251340 --ignore-working-copy # Don't snapshot the working copy, and don't update it
252341 --ignore-immutable # Allow rewriting immutable commits
253342 --at-operation: string # Operation to load the repo at
254343 --at-op: string # Operation to load the repo at
255344 --debug # Enable debug logging
256 --color: string # When to colorize output (always, never, debug, auto)
345 --color: string@"nu-complete jj branch color" # When to colorize output
257346 --quiet # Silence non-primary command output
258347 --no-pager # Disable the pager
259 --config-toml: string # Additional configuration options (can be repeated)
348 --config: string # Additional configuration options (can be repeated)
349 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
350 --config-file: path # Additional configuration files (can be repeated)
260351 --help(-h) # Print help (see more with '--help')
261352 ]
354 def "nu-complete jj branch create color" [] {
355 [ "always" "never" "debug" "auto" ]
356 }
263358 # Create a new bookmark
264359 export extern "jj branch create" [
265360 --revision(-r): string # The bookmark's target revision
266361 --to: string # The bookmark's target revision
267362 ...names: string # The bookmarks to create
268 --repository(-R): string # Path to repository to operate on
363 --repository(-R): path # Path to repository to operate on
269364 --ignore-working-copy # Don't snapshot the working copy, and don't update it
270365 --ignore-immutable # Allow rewriting immutable commits
271366 --at-operation: string # Operation to load the repo at
272367 --at-op: string # Operation to load the repo at
273368 --debug # Enable debug logging
274 --color: string # When to colorize output (always, never, debug, auto)
369 --color: string@"nu-complete jj branch create color" # When to colorize output
275370 --quiet # Silence non-primary command output
276371 --no-pager # Disable the pager
277 --config-toml: string # Additional configuration options (can be repeated)
372 --config: string # Additional configuration options (can be repeated)
373 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
374 --config-file: path # Additional configuration files (can be repeated)
278375 --help(-h) # Print help (see more with '--help')
279376 ]
378 def "nu-complete jj branch delete color" [] {
379 [ "always" "never" "debug" "auto" ]
380 }
281382 # Delete an existing bookmark and propagate the deletion to remotes on the next push
282383 export extern "jj branch delete" [
283384 ...names: string # The bookmarks to delete
284 --repository(-R): string # Path to repository to operate on
385 --repository(-R): path # Path to repository to operate on
285386 --ignore-working-copy # Don't snapshot the working copy, and don't update it
286387 --ignore-immutable # Allow rewriting immutable commits
287388 --at-operation: string # Operation to load the repo at
288389 --at-op: string # Operation to load the repo at
289390 --debug # Enable debug logging
290 --color: string # When to colorize output (always, never, debug, auto)
391 --color: string@"nu-complete jj branch delete color" # When to colorize output
291392 --quiet # Silence non-primary command output
292393 --no-pager # Disable the pager
293 --config-toml: string # Additional configuration options (can be repeated)
394 --config: string # Additional configuration options (can be repeated)
395 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
396 --config-file: path # Additional configuration files (can be repeated)
294397 --help(-h) # Print help (see more with '--help')
295398 ]
400 def "nu-complete jj branch forget color" [] {
401 [ "always" "never" "debug" "auto" ]
402 }
297404 # Forget everything about a bookmark, including its local and remote targets
298405 export extern "jj branch forget" [
299406 ...names: string # The bookmarks to forget
300 --repository(-R): string # Path to repository to operate on
407 --repository(-R): path # Path to repository to operate on
301408 --ignore-working-copy # Don't snapshot the working copy, and don't update it
302409 --ignore-immutable # Allow rewriting immutable commits
303410 --at-operation: string # Operation to load the repo at
304411 --at-op: string # Operation to load the repo at
305412 --debug # Enable debug logging
306 --color: string # When to colorize output (always, never, debug, auto)
413 --color: string@"nu-complete jj branch forget color" # When to colorize output
307414 --quiet # Silence non-primary command output
308415 --no-pager # Disable the pager
309 --config-toml: string # Additional configuration options (can be repeated)
416 --config: string # Additional configuration options (can be repeated)
417 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
418 --config-file: path # Additional configuration files (can be repeated)
310419 --help(-h) # Print help (see more with '--help')
311420 ]
422 def "nu-complete jj branch list color" [] {
423 [ "always" "never" "debug" "auto" ]
424 }
313426 # List bookmarks and their targets
314427 export extern "jj branch list" [
315428 --all-remotes(-a) # Show all tracking and non-tracking remote bookmarks including the ones whose targets are synchronized with the local bookmarks
319432 ...names: string # Show bookmarks whose local name matches
320433 --revisions(-r): string # Show bookmarks whose local targets are in the given revisions
321434 --template(-T): string # Render each bookmark using the given template
322 --repository(-R): string # Path to repository to operate on
435 --repository(-R): path # Path to repository to operate on
323436 --ignore-working-copy # Don't snapshot the working copy, and don't update it
324437 --ignore-immutable # Allow rewriting immutable commits
325438 --at-operation: string # Operation to load the repo at
326439 --at-op: string # Operation to load the repo at
327440 --debug # Enable debug logging
328 --color: string # When to colorize output (always, never, debug, auto)
441 --color: string@"nu-complete jj branch list color" # When to colorize output
329442 --quiet # Silence non-primary command output
330443 --no-pager # Disable the pager
331 --config-toml: string # Additional configuration options (can be repeated)
444 --config: string # Additional configuration options (can be repeated)
445 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
446 --config-file: path # Additional configuration files (can be repeated)
332447 --help(-h) # Print help (see more with '--help')
333448 ]
450 def "nu-complete jj branch move color" [] {
451 [ "always" "never" "debug" "auto" ]
452 }
335454 # Move existing bookmarks to target revision
336455 export extern "jj branch move" [
337456 --from: string # Move bookmarks from the given revisions
338457 --to: string # Move bookmarks to this revision
339458 --allow-backwards(-B) # Allow moving bookmarks backwards or sideways
340459 ...names: string # Move bookmarks matching the given name patterns
341 --repository(-R): string # Path to repository to operate on
460 --repository(-R): path # Path to repository to operate on
342461 --ignore-working-copy # Don't snapshot the working copy, and don't update it
343462 --ignore-immutable # Allow rewriting immutable commits
344463 --at-operation: string # Operation to load the repo at
345464 --at-op: string # Operation to load the repo at
346465 --debug # Enable debug logging
347 --color: string # When to colorize output (always, never, debug, auto)
466 --color: string@"nu-complete jj branch move color" # When to colorize output
348467 --quiet # Silence non-primary command output
349468 --no-pager # Disable the pager
350 --config-toml: string # Additional configuration options (can be repeated)
469 --config: string # Additional configuration options (can be repeated)
470 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
471 --config-file: path # Additional configuration files (can be repeated)
351472 --help(-h) # Print help (see more with '--help')
352473 ]
475 def "nu-complete jj branch rename color" [] {
476 [ "always" "never" "debug" "auto" ]
477 }
354479 # Rename `old` bookmark name to `new` bookmark name
355480 export extern "jj branch rename" [
356481 old: string # The old name of the bookmark
357482 new: string # The new name of the bookmark
358 --repository(-R): string # Path to repository to operate on
483 --repository(-R): path # Path to repository to operate on
359484 --ignore-working-copy # Don't snapshot the working copy, and don't update it
360485 --ignore-immutable # Allow rewriting immutable commits
361486 --at-operation: string # Operation to load the repo at
362487 --at-op: string # Operation to load the repo at
363488 --debug # Enable debug logging
364 --color: string # When to colorize output (always, never, debug, auto)
489 --color: string@"nu-complete jj branch rename color" # When to colorize output
365490 --quiet # Silence non-primary command output
366491 --no-pager # Disable the pager
367 --config-toml: string # Additional configuration options (can be repeated)
492 --config: string # Additional configuration options (can be repeated)
493 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
494 --config-file: path # Additional configuration files (can be repeated)
368495 --help(-h) # Print help (see more with '--help')
369496 ]
498 def "nu-complete jj branch set color" [] {
499 [ "always" "never" "debug" "auto" ]
500 }
371502 # Create or update a bookmark to point to a certain commit
372503 export extern "jj branch set" [
373504 --revision(-r): string # The bookmark's target revision
374505 --to: string # The bookmark's target revision
375506 --allow-backwards(-B) # Allow moving the bookmark backwards or sideways
376507 ...names: string # The bookmarks to update
377 --repository(-R): string # Path to repository to operate on
508 --repository(-R): path # Path to repository to operate on
378509 --ignore-working-copy # Don't snapshot the working copy, and don't update it
379510 --ignore-immutable # Allow rewriting immutable commits
380511 --at-operation: string # Operation to load the repo at
381512 --at-op: string # Operation to load the repo at
382513 --debug # Enable debug logging
383 --color: string # When to colorize output (always, never, debug, auto)
514 --color: string@"nu-complete jj branch set color" # When to colorize output
384515 --quiet # Silence non-primary command output
385516 --no-pager # Disable the pager
386 --config-toml: string # Additional configuration options (can be repeated)
517 --config: string # Additional configuration options (can be repeated)
518 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
519 --config-file: path # Additional configuration files (can be repeated)
387520 --help(-h) # Print help (see more with '--help')
388521 ]
523 def "nu-complete jj branch track color" [] {
524 [ "always" "never" "debug" "auto" ]
525 }
390527 # Start tracking given remote bookmarks
391528 export extern "jj branch track" [
392529 ...names: string # Remote bookmarks to track
393 --repository(-R): string # Path to repository to operate on
530 --repository(-R): path # Path to repository to operate on
394531 --ignore-working-copy # Don't snapshot the working copy, and don't update it
395532 --ignore-immutable # Allow rewriting immutable commits
396533 --at-operation: string # Operation to load the repo at
397534 --at-op: string # Operation to load the repo at
398535 --debug # Enable debug logging
399 --color: string # When to colorize output (always, never, debug, auto)
536 --color: string@"nu-complete jj branch track color" # When to colorize output
400537 --quiet # Silence non-primary command output
401538 --no-pager # Disable the pager
402 --config-toml: string # Additional configuration options (can be repeated)
539 --config: string # Additional configuration options (can be repeated)
540 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
541 --config-file: path # Additional configuration files (can be repeated)
403542 --help(-h) # Print help (see more with '--help')
404543 ]
545 def "nu-complete jj branch untrack color" [] {
546 [ "always" "never" "debug" "auto" ]
547 }
406549 # Stop tracking given remote bookmarks
407550 export extern "jj branch untrack" [
408551 ...names: string # Remote bookmarks to untrack
409 --repository(-R): string # Path to repository to operate on
552 --repository(-R): path # Path to repository to operate on
410553 --ignore-working-copy # Don't snapshot the working copy, and don't update it
411554 --ignore-immutable # Allow rewriting immutable commits
412555 --at-operation: string # Operation to load the repo at
413556 --at-op: string # Operation to load the repo at
414557 --debug # Enable debug logging
415 --color: string # When to colorize output (always, never, debug, auto)
558 --color: string@"nu-complete jj branch untrack color" # When to colorize output
416559 --quiet # Silence non-primary command output
417560 --no-pager # Disable the pager
418 --config-toml: string # Additional configuration options (can be repeated)
561 --config: string # Additional configuration options (can be repeated)
562 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
563 --config-file: path # Additional configuration files (can be repeated)
419564 --help(-h) # Print help (see more with '--help')
420565 ]
422 # Print contents of files in a revision
423 export extern "jj cat" [
424 --revision(-r): string # The revision to get the file contents from
425 ...paths: string # Paths to print
426 --repository(-R): string # Path to repository to operate on
427 --ignore-working-copy # Don't snapshot the working copy, and don't update it
428 --ignore-immutable # Allow rewriting immutable commits
429 --at-operation: string # Operation to load the repo at
430 --at-op: string # Operation to load the repo at
431 --debug # Enable debug logging
432 --color: string # When to colorize output (always, never, debug, auto)
433 --quiet # Silence non-primary command output
434 --no-pager # Disable the pager
435 --config-toml: string # Additional configuration options (can be repeated)
436 --help(-h) # Print help (see more with '--help')
437 ]
439 def "nu-complete jj chmod mode" [] {
440 [ "n" "x" ]
567 def "nu-complete jj commit color" [] {
568 [ "always" "never" "debug" "auto" ]
441569 }
443 # Sets or removes the executable bit for paths in the repo
444 export extern "jj chmod" [
445 mode: string@"nu-complete jj chmod mode"
446 --revision(-r): string # The revision to update
447 ...paths: string # Paths to change the executable bit for
448 --repository(-R): string # Path to repository to operate on
449 --ignore-working-copy # Don't snapshot the working copy, and don't update it
450 --ignore-immutable # Allow rewriting immutable commits
451 --at-operation: string # Operation to load the repo at
452 --at-op: string # Operation to load the repo at
453 --debug # Enable debug logging
454 --color: string # When to colorize output (always, never, debug, auto)
455 --quiet # Silence non-primary command output
456 --no-pager # Disable the pager
457 --config-toml: string # Additional configuration options (can be repeated)
458 --help(-h) # Print help (see more with '--help')
459 ]
461571 # Update the description and create a new change on top
462572 export extern "jj commit" [
463573 --interactive(-i) # Interactively choose which changes to include in the first commit
464574 --tool: string # Specify diff editor to be used (implies --interactive)
465575 --message(-m): string # The change description to use (don't open editor)
466 ...paths: string # Put these paths in the first commit
576 ...paths: path # Put these paths in the first commit
467577 --reset-author # Reset the author to the configured user
468578 --author: string # Set author to the provided string
469 --repository(-R): string # Path to repository to operate on
579 --repository(-R): path # Path to repository to operate on
470580 --ignore-working-copy # Don't snapshot the working copy, and don't update it
471581 --ignore-immutable # Allow rewriting immutable commits
472582 --at-operation: string # Operation to load the repo at
473583 --at-op: string # Operation to load the repo at
474584 --debug # Enable debug logging
475 --color: string # When to colorize output (always, never, debug, auto)
585 --color: string@"nu-complete jj commit color" # When to colorize output
476586 --quiet # Silence non-primary command output
477587 --no-pager # Disable the pager
478 --config-toml: string # Additional configuration options (can be repeated)
588 --config: string # Additional configuration options (can be repeated)
589 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
590 --config-file: path # Additional configuration files (can be repeated)
479591 --help(-h) # Print help (see more with '--help')
480592 ]
594 def "nu-complete jj config color" [] {
595 [ "always" "never" "debug" "auto" ]
596 }
482598 # Manage config options
483599 export extern "jj config" [
484 --repository(-R): string # Path to repository to operate on
600 --repository(-R): path # Path to repository to operate on
485601 --ignore-working-copy # Don't snapshot the working copy, and don't update it
486602 --ignore-immutable # Allow rewriting immutable commits
487603 --at-operation: string # Operation to load the repo at
488604 --at-op: string # Operation to load the repo at
489605 --debug # Enable debug logging
490 --color: string # When to colorize output (always, never, debug, auto)
606 --color: string@"nu-complete jj config color" # When to colorize output
491607 --quiet # Silence non-primary command output
492608 --no-pager # Disable the pager
493 --config-toml: string # Additional configuration options (can be repeated)
609 --config: string # Additional configuration options (can be repeated)
610 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
611 --config-file: path # Additional configuration files (can be repeated)
494612 --help(-h) # Print help (see more with '--help')
495613 ]
615 def "nu-complete jj config edit color" [] {
616 [ "always" "never" "debug" "auto" ]
617 }
497619 # Start an editor on a jj config file
498620 export extern "jj config edit" [
499621 --user # Target the user-level config
500622 --repo # Target the repo-level config
501 --repository(-R): string # Path to repository to operate on
623 --repository(-R): path # Path to repository to operate on
502624 --ignore-working-copy # Don't snapshot the working copy, and don't update it
503625 --ignore-immutable # Allow rewriting immutable commits
504626 --at-operation: string # Operation to load the repo at
505627 --at-op: string # Operation to load the repo at
506628 --debug # Enable debug logging
507 --color: string # When to colorize output (always, never, debug, auto)
629 --color: string@"nu-complete jj config edit color" # When to colorize output
508630 --quiet # Silence non-primary command output
509631 --no-pager # Disable the pager
510 --config-toml: string # Additional configuration options (can be repeated)
632 --config: string # Additional configuration options (can be repeated)
633 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
634 --config-file: path # Additional configuration files (can be repeated)
511635 --help(-h) # Print help (see more with '--help')
512636 ]
638 def "nu-complete jj config get color" [] {
639 [ "always" "never" "debug" "auto" ]
640 }
514642 # Get the value of a given config option.
515643 export extern "jj config get" [
516644 name: string
517 --repository(-R): string # Path to repository to operate on
645 --repository(-R): path # Path to repository to operate on
518646 --ignore-working-copy # Don't snapshot the working copy, and don't update it
519647 --ignore-immutable # Allow rewriting immutable commits
520648 --at-operation: string # Operation to load the repo at
521649 --at-op: string # Operation to load the repo at
522650 --debug # Enable debug logging
523 --color: string # When to colorize output (always, never, debug, auto)
651 --color: string@"nu-complete jj config get color" # When to colorize output
524652 --quiet # Silence non-primary command output
525653 --no-pager # Disable the pager
526 --config-toml: string # Additional configuration options (can be repeated)
654 --config: string # Additional configuration options (can be repeated)
655 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
656 --config-file: path # Additional configuration files (can be repeated)
527657 --help(-h) # Print help (see more with '--help')
528658 ]
660 def "nu-complete jj config list color" [] {
661 [ "always" "never" "debug" "auto" ]
662 }
530664 # List variables set in config file, along with their values
531665 export extern "jj config list" [
532666 name?: string # An optional name of a specific config option to look up
535669 --user # Target the user-level config
536670 --repo # Target the repo-level config
537671 --template(-T): string # Render each variable using the given template
538 --repository(-R): string # Path to repository to operate on
672 --repository(-R): path # Path to repository to operate on
539673 --ignore-working-copy # Don't snapshot the working copy, and don't update it
540674 --ignore-immutable # Allow rewriting immutable commits
541675 --at-operation: string # Operation to load the repo at
542676 --at-op: string # Operation to load the repo at
543677 --debug # Enable debug logging
544 --color: string # When to colorize output (always, never, debug, auto)
678 --color: string@"nu-complete jj config list color" # When to colorize output
545679 --quiet # Silence non-primary command output
546680 --no-pager # Disable the pager
547 --config-toml: string # Additional configuration options (can be repeated)
681 --config: string # Additional configuration options (can be repeated)
682 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
683 --config-file: path # Additional configuration files (can be repeated)
548684 --help(-h) # Print help (see more with '--help')
549685 ]
687 def "nu-complete jj config path color" [] {
688 [ "always" "never" "debug" "auto" ]
689 }
551691 # Print the path to the config file
552692 export extern "jj config path" [
553693 --user # Target the user-level config
554694 --repo # Target the repo-level config
555 --repository(-R): string # Path to repository to operate on
695 --repository(-R): path # Path to repository to operate on
556696 --ignore-working-copy # Don't snapshot the working copy, and don't update it
557697 --ignore-immutable # Allow rewriting immutable commits
558698 --at-operation: string # Operation to load the repo at
559699 --at-op: string # Operation to load the repo at
560700 --debug # Enable debug logging
561 --color: string # When to colorize output (always, never, debug, auto)
701 --color: string@"nu-complete jj config path color" # When to colorize output
562702 --quiet # Silence non-primary command output
563703 --no-pager # Disable the pager
564 --config-toml: string # Additional configuration options (can be repeated)
704 --config: string # Additional configuration options (can be repeated)
705 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
706 --config-file: path # Additional configuration files (can be repeated)
565707 --help(-h) # Print help (see more with '--help')
566708 ]
710 def "nu-complete jj config set color" [] {
711 [ "always" "never" "debug" "auto" ]
712 }
568714 # Update config file to set the given option to a given value
569715 export extern "jj config set" [
570716 name: string
571 value: string
717 value: string # New value to set
572718 --user # Target the user-level config
573719 --repo # Target the repo-level config
574 --repository(-R): string # Path to repository to operate on
720 --repository(-R): path # Path to repository to operate on
575721 --ignore-working-copy # Don't snapshot the working copy, and don't update it
576722 --ignore-immutable # Allow rewriting immutable commits
577723 --at-operation: string # Operation to load the repo at
578724 --at-op: string # Operation to load the repo at
579725 --debug # Enable debug logging
580 --color: string # When to colorize output (always, never, debug, auto)
726 --color: string@"nu-complete jj config set color" # When to colorize output
581727 --quiet # Silence non-primary command output
582728 --no-pager # Disable the pager
583 --config-toml: string # Additional configuration options (can be repeated)
729 --config: string # Additional configuration options (can be repeated)
730 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
731 --config-file: path # Additional configuration files (can be repeated)
584732 --help(-h) # Print help (see more with '--help')
585733 ]
735 def "nu-complete jj config unset color" [] {
736 [ "always" "never" "debug" "auto" ]
737 }
587739 # Update config file to unset the given option
588740 export extern "jj config unset" [
589741 name: string
590742 --user # Target the user-level config
591743 --repo # Target the repo-level config
592 --repository(-R): string # Path to repository to operate on
744 --repository(-R): path # Path to repository to operate on
593745 --ignore-working-copy # Don't snapshot the working copy, and don't update it
594746 --ignore-immutable # Allow rewriting immutable commits
595747 --at-operation: string # Operation to load the repo at
596748 --at-op: string # Operation to load the repo at
597749 --debug # Enable debug logging
598 --color: string # When to colorize output (always, never, debug, auto)
750 --color: string@"nu-complete jj config unset color" # When to colorize output
599751 --quiet # Silence non-primary command output
600752 --no-pager # Disable the pager
601 --config-toml: string # Additional configuration options (can be repeated)
753 --config: string # Additional configuration options (can be repeated)
754 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
755 --config-file: path # Additional configuration files (can be repeated)
602756 --help(-h) # Print help (see more with '--help')
603757 ]
759 def "nu-complete jj debug color" [] {
760 [ "always" "never" "debug" "auto" ]
761 }
605763 # Low-level commands not intended for users
606764 export extern "jj debug" [
607 --repository(-R): string # Path to repository to operate on
765 --repository(-R): path # Path to repository to operate on
608766 --ignore-working-copy # Don't snapshot the working copy, and don't update it
609767 --ignore-immutable # Allow rewriting immutable commits
610768 --at-operation: string # Operation to load the repo at
611769 --at-op: string # Operation to load the repo at
612770 --debug # Enable debug logging
613 --color: string # When to colorize output (always, never, debug, auto)
771 --color: string@"nu-complete jj debug color" # When to colorize output
614772 --quiet # Silence non-primary command output
615773 --no-pager # Disable the pager
616 --config-toml: string # Additional configuration options (can be repeated)
774 --config: string # Additional configuration options (can be repeated)
775 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
776 --config-file: path # Additional configuration files (can be repeated)
617777 --help(-h) # Print help (see more with '--help')
618778 ]
780 def "nu-complete jj debug copy-detection color" [] {
781 [ "always" "never" "debug" "auto" ]
782 }
620784 # Rebuild commit index
621785 export extern "jj debug copy-detection" [
622786 revision?: string # Show changes in this revision, compared to its parent(s)
623 --repository(-R): string # Path to repository to operate on
787 --repository(-R): path # Path to repository to operate on
624788 --ignore-working-copy # Don't snapshot the working copy, and don't update it
625789 --ignore-immutable # Allow rewriting immutable commits
626790 --at-operation: string # Operation to load the repo at
627791 --at-op: string # Operation to load the repo at
628792 --debug # Enable debug logging
629 --color: string # When to colorize output (always, never, debug, auto)
793 --color: string@"nu-complete jj debug copy-detection color" # When to colorize output
630794 --quiet # Silence non-primary command output
631795 --no-pager # Disable the pager
632 --config-toml: string # Additional configuration options (can be repeated)
796 --config: string # Additional configuration options (can be repeated)
797 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
798 --config-file: path # Additional configuration files (can be repeated)
633799 --help(-h) # Print help (see more with '--help')
634800 ]
802 def "nu-complete jj debug fileset color" [] {
803 [ "always" "never" "debug" "auto" ]
804 }
636806 # Parse fileset expression
637807 export extern "jj debug fileset" [
638 path: string
639 --repository(-R): string # Path to repository to operate on
808 path: path
809 --repository(-R): path # Path to repository to operate on
640810 --ignore-working-copy # Don't snapshot the working copy, and don't update it
641811 --ignore-immutable # Allow rewriting immutable commits
642812 --at-operation: string # Operation to load the repo at
643813 --at-op: string # Operation to load the repo at
644814 --debug # Enable debug logging
645 --color: string # When to colorize output (always, never, debug, auto)
815 --color: string@"nu-complete jj debug fileset color" # When to colorize output
646816 --quiet # Silence non-primary command output
647817 --no-pager # Disable the pager
648 --config-toml: string # Additional configuration options (can be repeated)
818 --config: string # Additional configuration options (can be repeated)
819 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
820 --config-file: path # Additional configuration files (can be repeated)
649821 --help(-h) # Print help (see more with '--help')
650822 ]
824 def "nu-complete jj debug index color" [] {
825 [ "always" "never" "debug" "auto" ]
826 }
652828 # Show commit index stats
653829 export extern "jj debug index" [
654 --repository(-R): string # Path to repository to operate on
830 --repository(-R): path # Path to repository to operate on
655831 --ignore-working-copy # Don't snapshot the working copy, and don't update it
656832 --ignore-immutable # Allow rewriting immutable commits
657833 --at-operation: string # Operation to load the repo at
658834 --at-op: string # Operation to load the repo at
659835 --debug # Enable debug logging
660 --color: string # When to colorize output (always, never, debug, auto)
836 --color: string@"nu-complete jj debug index color" # When to colorize output
661837 --quiet # Silence non-primary command output
662838 --no-pager # Disable the pager
663 --config-toml: string # Additional configuration options (can be repeated)
839 --config: string # Additional configuration options (can be repeated)
840 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
841 --config-file: path # Additional configuration files (can be repeated)
664842 --help(-h) # Print help (see more with '--help')
665843 ]
845 def "nu-complete jj debug local-working-copy color" [] {
846 [ "always" "never" "debug" "auto" ]
847 }
667849 # Show information about the local working copy state
668850 export extern "jj debug local-working-copy" [
669 --repository(-R): string # Path to repository to operate on
851 --repository(-R): path # Path to repository to operate on
670852 --ignore-working-copy # Don't snapshot the working copy, and don't update it
671853 --ignore-immutable # Allow rewriting immutable commits
672854 --at-operation: string # Operation to load the repo at
673855 --at-op: string # Operation to load the repo at
674856 --debug # Enable debug logging
675 --color: string # When to colorize output (always, never, debug, auto)
857 --color: string@"nu-complete jj debug local-working-copy color" # When to colorize output
676858 --quiet # Silence non-primary command output
677859 --no-pager # Disable the pager
678 --config-toml: string # Additional configuration options (can be repeated)
860 --config: string # Additional configuration options (can be repeated)
861 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
862 --config-file: path # Additional configuration files (can be repeated)
679863 --help(-h) # Print help (see more with '--help')
680864 ]
683867 [ "operation" "id" "view" "all" ]
684868 }
870 def "nu-complete jj debug operation color" [] {
871 [ "always" "never" "debug" "auto" ]
872 }
686874 # Show information about an operation and its view
687875 export extern "jj debug operation" [
688876 operation?: string
689877 --display: string@"nu-complete jj debug operation display"
690 --repository(-R): string # Path to repository to operate on
878 --repository(-R): path # Path to repository to operate on
691879 --ignore-working-copy # Don't snapshot the working copy, and don't update it
692880 --ignore-immutable # Allow rewriting immutable commits
693881 --at-operation: string # Operation to load the repo at
694882 --at-op: string # Operation to load the repo at
695883 --debug # Enable debug logging
696 --color: string # When to colorize output (always, never, debug, auto)
884 --color: string@"nu-complete jj debug operation color" # When to colorize output
697885 --quiet # Silence non-primary command output
698886 --no-pager # Disable the pager
699 --config-toml: string # Additional configuration options (can be repeated)
887 --config: string # Additional configuration options (can be repeated)
888 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
889 --config-file: path # Additional configuration files (can be repeated)
700890 --help(-h) # Print help (see more with '--help')
701891 ]
893 def "nu-complete jj debug reindex color" [] {
894 [ "always" "never" "debug" "auto" ]
895 }
703897 # Rebuild commit index
704898 export extern "jj debug reindex" [
705 --repository(-R): string # Path to repository to operate on
899 --repository(-R): path # Path to repository to operate on
706900 --ignore-working-copy # Don't snapshot the working copy, and don't update it
707901 --ignore-immutable # Allow rewriting immutable commits
708902 --at-operation: string # Operation to load the repo at
709903 --at-op: string # Operation to load the repo at
710904 --debug # Enable debug logging
711 --color: string # When to colorize output (always, never, debug, auto)
905 --color: string@"nu-complete jj debug reindex color" # When to colorize output
712906 --quiet # Silence non-primary command output
713907 --no-pager # Disable the pager
714 --config-toml: string # Additional configuration options (can be repeated)
908 --config: string # Additional configuration options (can be repeated)
909 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
910 --config-file: path # Additional configuration files (can be repeated)
715911 --help(-h) # Print help (see more with '--help')
716912 ]
914 def "nu-complete jj debug revset color" [] {
915 [ "always" "never" "debug" "auto" ]
916 }
718918 # Evaluate revset to full commit IDs
719919 export extern "jj debug revset" [
720920 revision: string
721 --repository(-R): string # Path to repository to operate on
921 --repository(-R): path # Path to repository to operate on
722922 --ignore-working-copy # Don't snapshot the working copy, and don't update it
723923 --ignore-immutable # Allow rewriting immutable commits
724924 --at-operation: string # Operation to load the repo at
725925 --at-op: string # Operation to load the repo at
726926 --debug # Enable debug logging
727 --color: string # When to colorize output (always, never, debug, auto)
927 --color: string@"nu-complete jj debug revset color" # When to colorize output
728928 --quiet # Silence non-primary command output
729929 --no-pager # Disable the pager
730 --config-toml: string # Additional configuration options (can be repeated)
930 --config: string # Additional configuration options (can be repeated)
931 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
932 --config-file: path # Additional configuration files (can be repeated)
731933 --help(-h) # Print help (see more with '--help')
732934 ]
936 def "nu-complete jj debug snapshot color" [] {
937 [ "always" "never" "debug" "auto" ]
938 }
734940 # Trigger a snapshot in the op log
735941 export extern "jj debug snapshot" [
736 --repository(-R): string # Path to repository to operate on
942 --repository(-R): path # Path to repository to operate on
737943 --ignore-working-copy # Don't snapshot the working copy, and don't update it
738944 --ignore-immutable # Allow rewriting immutable commits
739945 --at-operation: string # Operation to load the repo at
740946 --at-op: string # Operation to load the repo at
741947 --debug # Enable debug logging
742 --color: string # When to colorize output (always, never, debug, auto)
948 --color: string@"nu-complete jj debug snapshot color" # When to colorize output
743949 --quiet # Silence non-primary command output
744950 --no-pager # Disable the pager
745 --config-toml: string # Additional configuration options (can be repeated)
951 --config: string # Additional configuration options (can be repeated)
952 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
953 --config-file: path # Additional configuration files (can be repeated)
746954 --help(-h) # Print help (see more with '--help')
747955 ]
957 def "nu-complete jj debug template color" [] {
958 [ "always" "never" "debug" "auto" ]
959 }
749961 # Parse a template
750962 export extern "jj debug template" [
751963 template: string
752 --repository(-R): string # Path to repository to operate on
964 --repository(-R): path # Path to repository to operate on
753965 --ignore-working-copy # Don't snapshot the working copy, and don't update it
754966 --ignore-immutable # Allow rewriting immutable commits
755967 --at-operation: string # Operation to load the repo at
756968 --at-op: string # Operation to load the repo at
757969 --debug # Enable debug logging
758 --color: string # When to colorize output (always, never, debug, auto)
970 --color: string@"nu-complete jj debug template color" # When to colorize output
759971 --quiet # Silence non-primary command output
760972 --no-pager # Disable the pager
761 --config-toml: string # Additional configuration options (can be repeated)
973 --config: string # Additional configuration options (can be repeated)
974 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
975 --config-file: path # Additional configuration files (can be repeated)
762976 --help(-h) # Print help (see more with '--help')
763977 ]
979 def "nu-complete jj debug tree color" [] {
980 [ "always" "never" "debug" "auto" ]
981 }
765983 # List the recursive entries of a tree
766984 export extern "jj debug tree" [
767985 --revision(-r): string
768986 --id: string
769987 --dir: string
770988 ...paths: string
771 --repository(-R): string # Path to repository to operate on
989 --repository(-R): path # Path to repository to operate on
772990 --ignore-working-copy # Don't snapshot the working copy, and don't update it
773991 --ignore-immutable # Allow rewriting immutable commits
774992 --at-operation: string # Operation to load the repo at
775993 --at-op: string # Operation to load the repo at
776994 --debug # Enable debug logging
777 --color: string # When to colorize output (always, never, debug, auto)
995 --color: string@"nu-complete jj debug tree color" # When to colorize output
778996 --quiet # Silence non-primary command output
779997 --no-pager # Disable the pager
780 --config-toml: string # Additional configuration options (can be repeated)
998 --config: string # Additional configuration options (can be repeated)
999 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1000 --config-file: path # Additional configuration files (can be repeated)
7811001 --help(-h) # Print help (see more with '--help')
1004 def "nu-complete jj debug watchman color" [] {
1005 [ "always" "never" "debug" "auto" ]
1006 }
7841008 export extern "jj debug watchman" [
785 --repository(-R): string # Path to repository to operate on
1009 --repository(-R): path # Path to repository to operate on
7861010 --ignore-working-copy # Don't snapshot the working copy, and don't update it
7871011 --ignore-immutable # Allow rewriting immutable commits
7881012 --at-operation: string # Operation to load the repo at
7891013 --at-op: string # Operation to load the repo at
7901014 --debug # Enable debug logging
791 --color: string # When to colorize output (always, never, debug, auto)
1015 --color: string@"nu-complete jj debug watchman color" # When to colorize output
7921016 --quiet # Silence non-primary command output
7931017 --no-pager # Disable the pager
794 --config-toml: string # Additional configuration options (can be repeated)
1018 --config: string # Additional configuration options (can be repeated)
1019 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1020 --config-file: path # Additional configuration files (can be repeated)
7951021 --help(-h) # Print help (see more with '--help')
1024 def "nu-complete jj debug watchman status color" [] {
1025 [ "always" "never" "debug" "auto" ]
1026 }
7981028 # Check whether `watchman` is enabled and whether it's correctly installed
7991029 export extern "jj debug watchman status" [
800 --repository(-R): string # Path to repository to operate on
1030 --repository(-R): path # Path to repository to operate on
8011031 --ignore-working-copy # Don't snapshot the working copy, and don't update it
8021032 --ignore-immutable # Allow rewriting immutable commits
8031033 --at-operation: string # Operation to load the repo at
8041034 --at-op: string # Operation to load the repo at
8051035 --debug # Enable debug logging
806 --color: string # When to colorize output (always, never, debug, auto)
1036 --color: string@"nu-complete jj debug watchman status color" # When to colorize output
8071037 --quiet # Silence non-primary command output
8081038 --no-pager # Disable the pager
809 --config-toml: string # Additional configuration options (can be repeated)
1039 --config: string # Additional configuration options (can be repeated)
1040 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1041 --config-file: path # Additional configuration files (can be repeated)
8101042 --help(-h) # Print help (see more with '--help')
1045 def "nu-complete jj debug watchman query-clock color" [] {
1046 [ "always" "never" "debug" "auto" ]
1047 }
8131049 export extern "jj debug watchman query-clock" [
814 --repository(-R): string # Path to repository to operate on
1050 --repository(-R): path # Path to repository to operate on
8151051 --ignore-working-copy # Don't snapshot the working copy, and don't update it
8161052 --ignore-immutable # Allow rewriting immutable commits
8171053 --at-operation: string # Operation to load the repo at
8181054 --at-op: string # Operation to load the repo at
8191055 --debug # Enable debug logging
820 --color: string # When to colorize output (always, never, debug, auto)
1056 --color: string@"nu-complete jj debug watchman query-clock color" # When to colorize output
8211057 --quiet # Silence non-primary command output
8221058 --no-pager # Disable the pager
823 --config-toml: string # Additional configuration options (can be repeated)
1059 --config: string # Additional configuration options (can be repeated)
1060 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1061 --config-file: path # Additional configuration files (can be repeated)
8241062 --help(-h) # Print help (see more with '--help')
1065 def "nu-complete jj debug watchman query-changed-files color" [] {
1066 [ "always" "never" "debug" "auto" ]
1067 }
8271069 export extern "jj debug watchman query-changed-files" [
828 --repository(-R): string # Path to repository to operate on
1070 --repository(-R): path # Path to repository to operate on
8291071 --ignore-working-copy # Don't snapshot the working copy, and don't update it
8301072 --ignore-immutable # Allow rewriting immutable commits
8311073 --at-operation: string # Operation to load the repo at
8321074 --at-op: string # Operation to load the repo at
8331075 --debug # Enable debug logging
834 --color: string # When to colorize output (always, never, debug, auto)
1076 --color: string@"nu-complete jj debug watchman query-changed-files color" # When to colorize output
8351077 --quiet # Silence non-primary command output
8361078 --no-pager # Disable the pager
837 --config-toml: string # Additional configuration options (can be repeated)
1079 --config: string # Additional configuration options (can be repeated)
1080 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1081 --config-file: path # Additional configuration files (can be repeated)
8381082 --help(-h) # Print help (see more with '--help')
1085 def "nu-complete jj debug watchman reset-clock color" [] {
1086 [ "always" "never" "debug" "auto" ]
1087 }
8411089 export extern "jj debug watchman reset-clock" [
842 --repository(-R): string # Path to repository to operate on
1090 --repository(-R): path # Path to repository to operate on
8431091 --ignore-working-copy # Don't snapshot the working copy, and don't update it
8441092 --ignore-immutable # Allow rewriting immutable commits
8451093 --at-operation: string # Operation to load the repo at
8461094 --at-op: string # Operation to load the repo at
8471095 --debug # Enable debug logging
848 --color: string # When to colorize output (always, never, debug, auto)
1096 --color: string@"nu-complete jj debug watchman reset-clock color" # When to colorize output
8491097 --quiet # Silence non-primary command output
8501098 --no-pager # Disable the pager
851 --config-toml: string # Additional configuration options (can be repeated)
1099 --config: string # Additional configuration options (can be repeated)
1100 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1101 --config-file: path # Additional configuration files (can be repeated)
8521102 --help(-h) # Print help (see more with '--help')
1105 def "nu-complete jj debug working-copy color" [] {
1106 [ "always" "never" "debug" "auto" ]
1107 }
8551109 # Show information about the working copy state
8561110 export extern "jj debug working-copy" [
857 --repository(-R): string # Path to repository to operate on
1111 --repository(-R): path # Path to repository to operate on
8581112 --ignore-working-copy # Don't snapshot the working copy, and don't update it
8591113 --ignore-immutable # Allow rewriting immutable commits
8601114 --at-operation: string # Operation to load the repo at
8611115 --at-op: string # Operation to load the repo at
8621116 --debug # Enable debug logging
863 --color: string # When to colorize output (always, never, debug, auto)
1117 --color: string@"nu-complete jj debug working-copy color" # When to colorize output
8641118 --quiet # Silence non-primary command output
8651119 --no-pager # Disable the pager
866 --config-toml: string # Additional configuration options (can be repeated)
1120 --config: string # Additional configuration options (can be repeated)
1121 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1122 --config-file: path # Additional configuration files (can be repeated)
8671123 --help(-h) # Print help (see more with '--help')
1126 def "nu-complete jj describe color" [] {
1127 [ "always" "never" "debug" "auto" ]
1128 }
8701130 # Update the change description or other metadata
8711131 export extern "jj describe" [
872 ...revisions: string # The revision(s) whose description to edit
873 -r # Ignored (but lets you pass `-r` for consistency with other commands)
1132 ...revisions_pos: string # The revision(s) whose description to edit (default: @)
1133 -r: string
8741134 --message(-m): string # The change description to use (don't open editor)
8751135 --stdin # Read the change description from stdin
8761136 --no-edit # Don't open an editor
1137 --edit # Open an editor
8771138 --reset-author # Reset the author to the configured user
8781139 --author: string # Set author to the provided string
879 --repository(-R): string # Path to repository to operate on
1140 --repository(-R): path # Path to repository to operate on
8801141 --ignore-working-copy # Don't snapshot the working copy, and don't update it
8811142 --ignore-immutable # Allow rewriting immutable commits
8821143 --at-operation: string # Operation to load the repo at
8831144 --at-op: string # Operation to load the repo at
8841145 --debug # Enable debug logging
885 --color: string # When to colorize output (always, never, debug, auto)
1146 --color: string@"nu-complete jj describe color" # When to colorize output
8861147 --quiet # Silence non-primary command output
8871148 --no-pager # Disable the pager
888 --config-toml: string # Additional configuration options (can be repeated)
1149 --config: string # Additional configuration options (can be repeated)
1150 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1151 --config-file: path # Additional configuration files (can be repeated)
8891152 --help(-h) # Print help (see more with '--help')
1155 def "nu-complete jj diff color" [] {
1156 [ "always" "never" "debug" "auto" ]
1157 }
8921159 # Compare file contents between two revisions
8931160 export extern "jj diff" [
8941161 --revision(-r): string # Show changes in this revision, compared to its parent(s)
8951162 --from(-f): string # Show changes from this revision
8961163 --to(-t): string # Show changes to this revision
897 ...paths: string # Restrict the diff to these paths
1164 ...paths: path # Restrict the diff to these paths
8981165 --summary(-s) # For each path, show only whether it was modified, added, or deleted
8991166 --stat # Show a histogram of the changes
9001167 --types # For each path, show only its type before and after
9051172 --context: string # Number of lines of context to show
9061173 --ignore-all-space(-w) # Ignore whitespace when comparing lines
9071174 --ignore-space-change(-b) # Ignore changes in amount of whitespace when comparing lines
908 --repository(-R): string # Path to repository to operate on
1175 --repository(-R): path # Path to repository to operate on
9091176 --ignore-working-copy # Don't snapshot the working copy, and don't update it
9101177 --ignore-immutable # Allow rewriting immutable commits
9111178 --at-operation: string # Operation to load the repo at
9121179 --at-op: string # Operation to load the repo at
9131180 --debug # Enable debug logging
914 --color: string # When to colorize output (always, never, debug, auto)
1181 --color: string@"nu-complete jj diff color" # When to colorize output
9151182 --quiet # Silence non-primary command output
9161183 --no-pager # Disable the pager
917 --config-toml: string # Additional configuration options (can be repeated)
1184 --config: string # Additional configuration options (can be repeated)
1185 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1186 --config-file: path # Additional configuration files (can be repeated)
9181187 --help(-h) # Print help (see more with '--help')
1190 def "nu-complete jj diffedit color" [] {
1191 [ "always" "never" "debug" "auto" ]
1192 }
9211194 # Touch up the content changes in a revision with a diff editor
9221195 export extern "jj diffedit" [
9231196 --revision(-r): string # The revision to touch up
9251198 --to(-t): string # Edit changes in this revision
9261199 --tool: string # Specify diff editor to be used
9271200 --restore-descendants # Preserve the content (not the diff) when rebasing descendants
928 --repository(-R): string # Path to repository to operate on
1201 --repository(-R): path # Path to repository to operate on
9291202 --ignore-working-copy # Don't snapshot the working copy, and don't update it
9301203 --ignore-immutable # Allow rewriting immutable commits
9311204 --at-operation: string # Operation to load the repo at
9321205 --at-op: string # Operation to load the repo at
9331206 --debug # Enable debug logging
934 --color: string # When to colorize output (always, never, debug, auto)
1207 --color: string@"nu-complete jj diffedit color" # When to colorize output
9351208 --quiet # Silence non-primary command output
9361209 --no-pager # Disable the pager
937 --config-toml: string # Additional configuration options (can be repeated)
1210 --config: string # Additional configuration options (can be repeated)
1211 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1212 --config-file: path # Additional configuration files (can be repeated)
9381213 --help(-h) # Print help (see more with '--help')
1216 def "nu-complete jj duplicate color" [] {
1217 [ "always" "never" "debug" "auto" ]
1218 }
9411220 # Create new changes with the same content as existing ones
9421221 export extern "jj duplicate" [
9431222 ...revisions_pos: string # The revision(s) to duplicate (default: @)
9471226 --after: string # The revision(s) to insert after (can be repeated to create a merge commit)
9481227 --insert-before(-B): string # The revision(s) to insert before (can be repeated to create a merge commit)
9491228 --before: string # The revision(s) to insert before (can be repeated to create a merge commit)
950 --repository(-R): string # Path to repository to operate on
1229 --repository(-R): path # Path to repository to operate on
9511230 --ignore-working-copy # Don't snapshot the working copy, and don't update it
9521231 --ignore-immutable # Allow rewriting immutable commits
9531232 --at-operation: string # Operation to load the repo at
9541233 --at-op: string # Operation to load the repo at
9551234 --debug # Enable debug logging
956 --color: string # When to colorize output (always, never, debug, auto)
1235 --color: string@"nu-complete jj duplicate color" # When to colorize output
9571236 --quiet # Silence non-primary command output
9581237 --no-pager # Disable the pager
959 --config-toml: string # Additional configuration options (can be repeated)
1238 --config: string # Additional configuration options (can be repeated)
1239 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1240 --config-file: path # Additional configuration files (can be repeated)
9601241 --help(-h) # Print help (see more with '--help')
1244 def "nu-complete jj edit color" [] {
1245 [ "always" "never" "debug" "auto" ]
1246 }
9631248 # Sets the specified revision as the working-copy revision
9641249 export extern "jj edit" [
9651250 revision: string # The commit to edit
9661251 -r # Ignored (but lets you pass `-r` for consistency with other commands)
967 --repository(-R): string # Path to repository to operate on
1252 --repository(-R): path # Path to repository to operate on
9681253 --ignore-working-copy # Don't snapshot the working copy, and don't update it
9691254 --ignore-immutable # Allow rewriting immutable commits
9701255 --at-operation: string # Operation to load the repo at
9711256 --at-op: string # Operation to load the repo at
9721257 --debug # Enable debug logging
973 --color: string # When to colorize output (always, never, debug, auto)
1258 --color: string@"nu-complete jj edit color" # When to colorize output
9741259 --quiet # Silence non-primary command output
9751260 --no-pager # Disable the pager
976 --config-toml: string # Additional configuration options (can be repeated)
1261 --config: string # Additional configuration options (can be repeated)
1262 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1263 --config-file: path # Additional configuration files (can be repeated)
9771264 --help(-h) # Print help (see more with '--help')
1267 def "nu-complete jj evolog color" [] {
1268 [ "always" "never" "debug" "auto" ]
1269 }
9801271 # Show how a change has evolved over time
9811272 export extern "jj evolog" [
9821273 --revision(-r): string
9831274 --limit(-n): string # Limit number of revisions to show
984 -l: string
1275 --reversed # Show revisions in the opposite order (older revisions first)
9851276 --no-graph # Don't show the graph, show a flat list of revisions
9861277 --template(-T): string # Render each revision using the given template
9871278 --patch(-p) # Show patch compared to the previous version of this change
9951286 --context: string # Number of lines of context to show
9961287 --ignore-all-space # Ignore whitespace when comparing lines
9971288 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
998 --repository(-R): string # Path to repository to operate on
1289 --repository(-R): path # Path to repository to operate on
9991290 --ignore-working-copy # Don't snapshot the working copy, and don't update it
10001291 --ignore-immutable # Allow rewriting immutable commits
10011292 --at-operation: string # Operation to load the repo at
10021293 --at-op: string # Operation to load the repo at
10031294 --debug # Enable debug logging
1004 --color: string # When to colorize output (always, never, debug, auto)
1295 --color: string@"nu-complete jj evolog color" # When to colorize output
10051296 --quiet # Silence non-primary command output
10061297 --no-pager # Disable the pager
1007 --config-toml: string # Additional configuration options (can be repeated)
1298 --config: string # Additional configuration options (can be repeated)
1299 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1300 --config-file: path # Additional configuration files (can be repeated)
10081301 --help(-h) # Print help (see more with '--help')
1304 def "nu-complete jj file color" [] {
1305 [ "always" "never" "debug" "auto" ]
1306 }
10111308 # File operations
10121309 export extern "jj file" [
1013 --repository(-R): string # Path to repository to operate on
1310 --repository(-R): path # Path to repository to operate on
10141311 --ignore-working-copy # Don't snapshot the working copy, and don't update it
10151312 --ignore-immutable # Allow rewriting immutable commits
10161313 --at-operation: string # Operation to load the repo at
10171314 --at-op: string # Operation to load the repo at
10181315 --debug # Enable debug logging
1019 --color: string # When to colorize output (always, never, debug, auto)
1316 --color: string@"nu-complete jj file color" # When to colorize output
10201317 --quiet # Silence non-primary command output
10211318 --no-pager # Disable the pager
1022 --config-toml: string # Additional configuration options (can be repeated)
1319 --config: string # Additional configuration options (can be repeated)
1320 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1321 --config-file: path # Additional configuration files (can be repeated)
10231322 --help(-h) # Print help (see more with '--help')
1325 def "nu-complete jj file annotate color" [] {
1326 [ "always" "never" "debug" "auto" ]
1327 }
10261329 # Show the source change for each line of the target file
10271330 export extern "jj file annotate" [
1028 path: string # the file to annotate
1331 path: path # the file to annotate
10291332 --revision(-r): string # an optional revision to start at
1030 --repository(-R): string # Path to repository to operate on
1333 --repository(-R): path # Path to repository to operate on
10311334 --ignore-working-copy # Don't snapshot the working copy, and don't update it
10321335 --ignore-immutable # Allow rewriting immutable commits
10331336 --at-operation: string # Operation to load the repo at
10341337 --at-op: string # Operation to load the repo at
10351338 --debug # Enable debug logging
1036 --color: string # When to colorize output (always, never, debug, auto)
1339 --color: string@"nu-complete jj file annotate color" # When to colorize output
10371340 --quiet # Silence non-primary command output
10381341 --no-pager # Disable the pager
1039 --config-toml: string # Additional configuration options (can be repeated)
1342 --config: string # Additional configuration options (can be repeated)
1343 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1344 --config-file: path # Additional configuration files (can be repeated)
10401345 --help(-h) # Print help (see more with '--help')
10441349 [ "n" "x" ]
1352 def "nu-complete jj file chmod color" [] {
1353 [ "always" "never" "debug" "auto" ]
1354 }
10471356 # Sets or removes the executable bit for paths in the repo
10481357 export extern "jj file chmod" [
10491358 mode: string@"nu-complete jj file chmod mode"
10501359 --revision(-r): string # The revision to update
1051 ...paths: string # Paths to change the executable bit for
1052 --repository(-R): string # Path to repository to operate on
1360 ...paths: path # Paths to change the executable bit for
1361 --repository(-R): path # Path to repository to operate on
10531362 --ignore-working-copy # Don't snapshot the working copy, and don't update it
10541363 --ignore-immutable # Allow rewriting immutable commits
10551364 --at-operation: string # Operation to load the repo at
10561365 --at-op: string # Operation to load the repo at
10571366 --debug # Enable debug logging
1058 --color: string # When to colorize output (always, never, debug, auto)
1367 --color: string@"nu-complete jj file chmod color" # When to colorize output
10591368 --quiet # Silence non-primary command output
10601369 --no-pager # Disable the pager
1061 --config-toml: string # Additional configuration options (can be repeated)
1370 --config: string # Additional configuration options (can be repeated)
1371 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1372 --config-file: path # Additional configuration files (can be repeated)
10621373 --help(-h) # Print help (see more with '--help')
1376 def "nu-complete jj file list color" [] {
1377 [ "always" "never" "debug" "auto" ]
1378 }
10651380 # List files in a revision
10661381 export extern "jj file list" [
10671382 --revision(-r): string # The revision to list files in
1068 ...paths: string # Only list files matching these prefixes (instead of all files)
1069 --repository(-R): string # Path to repository to operate on
1383 --template(-T): string # Render each file entry using the given template
1384 ...paths: path # Only list files matching these prefixes (instead of all files)
1385 --repository(-R): path # Path to repository to operate on
10701386 --ignore-working-copy # Don't snapshot the working copy, and don't update it
10711387 --ignore-immutable # Allow rewriting immutable commits
10721388 --at-operation: string # Operation to load the repo at
10731389 --at-op: string # Operation to load the repo at
10741390 --debug # Enable debug logging
1075 --color: string # When to colorize output (always, never, debug, auto)
1391 --color: string@"nu-complete jj file list color" # When to colorize output
10761392 --quiet # Silence non-primary command output
10771393 --no-pager # Disable the pager
1078 --config-toml: string # Additional configuration options (can be repeated)
1394 --config: string # Additional configuration options (can be repeated)
1395 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1396 --config-file: path # Additional configuration files (can be repeated)
10791397 --help(-h) # Print help (see more with '--help')
1400 def "nu-complete jj file show color" [] {
1401 [ "always" "never" "debug" "auto" ]
1402 }
10821404 # Print contents of files in a revision
10831405 export extern "jj file show" [
10841406 --revision(-r): string # The revision to get the file contents from
1085 ...paths: string # Paths to print
1086 --repository(-R): string # Path to repository to operate on
1407 ...paths: path # Paths to print
1408 --repository(-R): path # Path to repository to operate on
10871409 --ignore-working-copy # Don't snapshot the working copy, and don't update it
10881410 --ignore-immutable # Allow rewriting immutable commits
10891411 --at-operation: string # Operation to load the repo at
10901412 --at-op: string # Operation to load the repo at
10911413 --debug # Enable debug logging
1092 --color: string # When to colorize output (always, never, debug, auto)
1414 --color: string@"nu-complete jj file show color" # When to colorize output
10931415 --quiet # Silence non-primary command output
10941416 --no-pager # Disable the pager
1095 --config-toml: string # Additional configuration options (can be repeated)
1417 --config: string # Additional configuration options (can be repeated)
1418 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1419 --config-file: path # Additional configuration files (can be repeated)
10961420 --help(-h) # Print help (see more with '--help')
1423 def "nu-complete jj file track color" [] {
1424 [ "always" "never" "debug" "auto" ]
1425 }
10991427 # Start tracking specified paths in the working copy
11001428 export extern "jj file track" [
1101 ...paths: string # Paths to track
1102 --repository(-R): string # Path to repository to operate on
1429 ...paths: path # Paths to track
1430 --repository(-R): path # Path to repository to operate on
11031431 --ignore-working-copy # Don't snapshot the working copy, and don't update it
11041432 --ignore-immutable # Allow rewriting immutable commits
11051433 --at-operation: string # Operation to load the repo at
11061434 --at-op: string # Operation to load the repo at
11071435 --debug # Enable debug logging
1108 --color: string # When to colorize output (always, never, debug, auto)
1436 --color: string@"nu-complete jj file track color" # When to colorize output
11091437 --quiet # Silence non-primary command output
11101438 --no-pager # Disable the pager
1111 --config-toml: string # Additional configuration options (can be repeated)
1439 --config: string # Additional configuration options (can be repeated)
1440 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1441 --config-file: path # Additional configuration files (can be repeated)
11121442 --help(-h) # Print help (see more with '--help')
1445 def "nu-complete jj file untrack color" [] {
1446 [ "always" "never" "debug" "auto" ]
1447 }
11151449 # Stop tracking specified paths in the working copy
11161450 export extern "jj file untrack" [
1117 ...paths: string # Paths to untrack. They must already be ignored
1118 --repository(-R): string # Path to repository to operate on
1451 ...paths: path # Paths to untrack. They must already be ignored
1452 --repository(-R): path # Path to repository to operate on
11191453 --ignore-working-copy # Don't snapshot the working copy, and don't update it
11201454 --ignore-immutable # Allow rewriting immutable commits
11211455 --at-operation: string # Operation to load the repo at
11221456 --at-op: string # Operation to load the repo at
11231457 --debug # Enable debug logging
1124 --color: string # When to colorize output (always, never, debug, auto)
1458 --color: string@"nu-complete jj file untrack color" # When to colorize output
11251459 --quiet # Silence non-primary command output
11261460 --no-pager # Disable the pager
1127 --config-toml: string # Additional configuration options (can be repeated)
1461 --config: string # Additional configuration options (can be repeated)
1462 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1463 --config-file: path # Additional configuration files (can be repeated)
11281464 --help(-h) # Print help (see more with '--help')
1131 # List files in a revision (DEPRECATED use `jj file list`)
1132 export extern "jj files" [
1133 --revision(-r): string # The revision to list files in
1134 ...paths: string # Only list files matching these prefixes (instead of all files)
1135 --repository(-R): string # Path to repository to operate on
1136 --ignore-working-copy # Don't snapshot the working copy, and don't update it
1137 --ignore-immutable # Allow rewriting immutable commits
1138 --at-operation: string # Operation to load the repo at
1139 --at-op: string # Operation to load the repo at
1140 --debug # Enable debug logging
1141 --color: string # When to colorize output (always, never, debug, auto)
1142 --quiet # Silence non-primary command output
1143 --no-pager # Disable the pager
1144 --config-toml: string # Additional configuration options (can be repeated)
1145 --help(-h) # Print help (see more with '--help')
1146 ]
1467 def "nu-complete jj fix color" [] {
1468 [ "always" "never" "debug" "auto" ]
1469 }
11481471 # Update files with formatting fixes or other changes
11491472 export extern "jj fix" [
11501473 --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
1151 ...paths: string # Fix only these paths
1474 ...paths: path # Fix only these paths
11521475 --include-unchanged-files # Fix unchanged files in addition to changed ones. If no paths are specified, all files in the repo will be fixed
1153 --repository(-R): string # Path to repository to operate on
1476 --repository(-R): path # Path to repository to operate on
11541477 --ignore-working-copy # Don't snapshot the working copy, and don't update it
11551478 --ignore-immutable # Allow rewriting immutable commits
11561479 --at-operation: string # Operation to load the repo at
11571480 --at-op: string # Operation to load the repo at
11581481 --debug # Enable debug logging
1159 --color: string # When to colorize output (always, never, debug, auto)
1482 --color: string@"nu-complete jj fix color" # When to colorize output
11601483 --quiet # Silence non-primary command output
11611484 --no-pager # Disable the pager
1162 --config-toml: string # Additional configuration options (can be repeated)
1485 --config: string # Additional configuration options (can be repeated)
1486 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1487 --config-file: path # Additional configuration files (can be repeated)
11631488 --help(-h) # Print help (see more with '--help')
1491 def "nu-complete jj git color" [] {
1492 [ "always" "never" "debug" "auto" ]
1493 }
11661495 # Commands for working with Git remotes and the underlying Git repo
11671496 export extern "jj git" [
1168 --repository(-R): string # Path to repository to operate on
1497 --repository(-R): path # Path to repository to operate on
11691498 --ignore-working-copy # Don't snapshot the working copy, and don't update it
11701499 --ignore-immutable # Allow rewriting immutable commits
11711500 --at-operation: string # Operation to load the repo at
11721501 --at-op: string # Operation to load the repo at
11731502 --debug # Enable debug logging
1174 --color: string # When to colorize output (always, never, debug, auto)
1503 --color: string@"nu-complete jj git color" # When to colorize output
11751504 --quiet # Silence non-primary command output
11761505 --no-pager # Disable the pager
1177 --config-toml: string # Additional configuration options (can be repeated)
1506 --config: string # Additional configuration options (can be repeated)
1507 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1508 --config-file: path # Additional configuration files (can be repeated)
11781509 --help(-h) # Print help (see more with '--help')
1512 def "nu-complete jj git clone color" [] {
1513 [ "always" "never" "debug" "auto" ]
1514 }
11811516 # Create a new repo backed by a clone of a Git repo
11821517 export extern "jj git clone" [
1183 source: string # URL or path of the Git repo to clone
1184 destination?: string # Specifies the target directory for the Jujutsu repository clone. If not provided, defaults to a directory named after the last component of the source URL. The full directory path will be created if it doesn't exist
1518 source: path # URL or path of the Git repo to clone
1519 destination?: path # Specifies the target directory for the Jujutsu repository clone. If not provided, defaults to a directory named after the last component of the source URL. The full directory path will be created if it doesn't exist
11851520 --remote: string # Name of the newly created remote
11861521 --colocate # Whether or not to colocate the Jujutsu repo with the git repo
11871522 --depth: string # Create a shallow clone of the given depth
1188 --repository(-R): string # Path to repository to operate on
1523 --repository(-R): path # Path to repository to operate on
11891524 --ignore-working-copy # Don't snapshot the working copy, and don't update it
11901525 --ignore-immutable # Allow rewriting immutable commits
11911526 --at-operation: string # Operation to load the repo at
11921527 --at-op: string # Operation to load the repo at
11931528 --debug # Enable debug logging
1194 --color: string # When to colorize output (always, never, debug, auto)
1529 --color: string@"nu-complete jj git clone color" # When to colorize output
11951530 --quiet # Silence non-primary command output
11961531 --no-pager # Disable the pager
1197 --config-toml: string # Additional configuration options (can be repeated)
1532 --config: string # Additional configuration options (can be repeated)
1533 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1534 --config-file: path # Additional configuration files (can be repeated)
11981535 --help(-h) # Print help (see more with '--help')
1538 def "nu-complete jj git export color" [] {
1539 [ "always" "never" "debug" "auto" ]
1540 }
12011542 # Update the underlying Git repo with changes made in the repo
12021543 export extern "jj git export" [
1203 --repository(-R): string # Path to repository to operate on
1544 --repository(-R): path # Path to repository to operate on
12041545 --ignore-working-copy # Don't snapshot the working copy, and don't update it
12051546 --ignore-immutable # Allow rewriting immutable commits
12061547 --at-operation: string # Operation to load the repo at
12071548 --at-op: string # Operation to load the repo at
12081549 --debug # Enable debug logging
1209 --color: string # When to colorize output (always, never, debug, auto)
1550 --color: string@"nu-complete jj git export color" # When to colorize output
12101551 --quiet # Silence non-primary command output
12111552 --no-pager # Disable the pager
1212 --config-toml: string # Additional configuration options (can be repeated)
1553 --config: string # Additional configuration options (can be repeated)
1554 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1555 --config-file: path # Additional configuration files (can be repeated)
12131556 --help(-h) # Print help (see more with '--help')
1559 def "nu-complete jj git fetch color" [] {
1560 [ "always" "never" "debug" "auto" ]
1561 }
12161563 # Fetch from a Git remote
12171564 export extern "jj git fetch" [
12181565 --branch(-b): string # Fetch only some of the branches
12191566 --remote: string # The remote to fetch from (only named remotes are supported, can be repeated)
12201567 --all-remotes # Fetch from all remotes
1221 --repository(-R): string # Path to repository to operate on
1568 --repository(-R): path # Path to repository to operate on
12221569 --ignore-working-copy # Don't snapshot the working copy, and don't update it
12231570 --ignore-immutable # Allow rewriting immutable commits
12241571 --at-operation: string # Operation to load the repo at
12251572 --at-op: string # Operation to load the repo at
12261573 --debug # Enable debug logging
1227 --color: string # When to colorize output (always, never, debug, auto)
1574 --color: string@"nu-complete jj git fetch color" # When to colorize output
12281575 --quiet # Silence non-primary command output
12291576 --no-pager # Disable the pager
1230 --config-toml: string # Additional configuration options (can be repeated)
1577 --config: string # Additional configuration options (can be repeated)
1578 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1579 --config-file: path # Additional configuration files (can be repeated)
12311580 --help(-h) # Print help (see more with '--help')
1583 def "nu-complete jj git import color" [] {
1584 [ "always" "never" "debug" "auto" ]
1585 }
12341587 # Update repo with changes made in the underlying Git repo
12351588 export extern "jj git import" [
1236 --repository(-R): string # Path to repository to operate on
1589 --repository(-R): path # Path to repository to operate on
12371590 --ignore-working-copy # Don't snapshot the working copy, and don't update it
12381591 --ignore-immutable # Allow rewriting immutable commits
12391592 --at-operation: string # Operation to load the repo at
12401593 --at-op: string # Operation to load the repo at
12411594 --debug # Enable debug logging
1242 --color: string # When to colorize output (always, never, debug, auto)
1595 --color: string@"nu-complete jj git import color" # When to colorize output
12431596 --quiet # Silence non-primary command output
12441597 --no-pager # Disable the pager
1245 --config-toml: string # Additional configuration options (can be repeated)
1598 --config: string # Additional configuration options (can be repeated)
1599 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1600 --config-file: path # Additional configuration files (can be repeated)
12461601 --help(-h) # Print help (see more with '--help')
1604 def "nu-complete jj git init color" [] {
1605 [ "always" "never" "debug" "auto" ]
1606 }
12491608 # Create a new Git backed repo
12501609 export extern "jj git init" [
1251 destination?: string # The destination directory where the `jj` repo will be created. If the directory does not exist, it will be created. If no directory is given, the current directory is used
1610 destination?: path # The destination directory where the `jj` repo will be created. If the directory does not exist, it will be created. If no directory is given, the current directory is used
12521611 --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
1253 --git-repo: string # Specifies a path to an **existing** git repository to be used as the backing git repo for the newly created `jj` repo
1254 --repository(-R): string # Path to repository to operate on
1612 --git-repo: path # Specifies a path to an **existing** git repository to be used as the backing git repo for the newly created `jj` repo
1613 --repository(-R): path # Path to repository to operate on
12551614 --ignore-working-copy # Don't snapshot the working copy, and don't update it
12561615 --ignore-immutable # Allow rewriting immutable commits
12571616 --at-operation: string # Operation to load the repo at
12581617 --at-op: string # Operation to load the repo at
12591618 --debug # Enable debug logging
1260 --color: string # When to colorize output (always, never, debug, auto)
1619 --color: string@"nu-complete jj git init color" # When to colorize output
12611620 --quiet # Silence non-primary command output
12621621 --no-pager # Disable the pager
1263 --config-toml: string # Additional configuration options (can be repeated)
1622 --config: string # Additional configuration options (can be repeated)
1623 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1624 --config-file: path # Additional configuration files (can be repeated)
12641625 --help(-h) # Print help (see more with '--help')
1628 def "nu-complete jj git push color" [] {
1629 [ "always" "never" "debug" "auto" ]
1630 }
12671632 # Push to a Git remote
12681633 export extern "jj git push" [
12691634 --remote: string # The remote to push to (only named remotes are supported)
12771642 --revisions(-r): string # Push bookmarks pointing to these commits (can be repeated)
12781643 --change(-c): string # Push this commit by creating a bookmark based on its change ID (can be repeated)
12791644 --dry-run # Only display what will change on the remote
1280 --repository(-R): string # Path to repository to operate on
1645 --repository(-R): path # Path to repository to operate on
12811646 --ignore-working-copy # Don't snapshot the working copy, and don't update it
12821647 --ignore-immutable # Allow rewriting immutable commits
12831648 --at-operation: string # Operation to load the repo at
12841649 --at-op: string # Operation to load the repo at
12851650 --debug # Enable debug logging
1286 --color: string # When to colorize output (always, never, debug, auto)
1651 --color: string@"nu-complete jj git push color" # When to colorize output
12871652 --quiet # Silence non-primary command output
12881653 --no-pager # Disable the pager
1289 --config-toml: string # Additional configuration options (can be repeated)
1654 --config: string # Additional configuration options (can be repeated)
1655 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1656 --config-file: path # Additional configuration files (can be repeated)
12901657 --help(-h) # Print help (see more with '--help')
1660 def "nu-complete jj git remote color" [] {
1661 [ "always" "never" "debug" "auto" ]
1662 }
12931664 # Manage Git remotes
12941665 export extern "jj git remote" [
1295 --repository(-R): string # Path to repository to operate on
1666 --repository(-R): path # Path to repository to operate on
12961667 --ignore-working-copy # Don't snapshot the working copy, and don't update it
12971668 --ignore-immutable # Allow rewriting immutable commits
12981669 --at-operation: string # Operation to load the repo at
12991670 --at-op: string # Operation to load the repo at
13001671 --debug # Enable debug logging
1301 --color: string # When to colorize output (always, never, debug, auto)
1672 --color: string@"nu-complete jj git remote color" # When to colorize output
13021673 --quiet # Silence non-primary command output
13031674 --no-pager # Disable the pager
1304 --config-toml: string # Additional configuration options (can be repeated)
1675 --config: string # Additional configuration options (can be repeated)
1676 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1677 --config-file: path # Additional configuration files (can be repeated)
13051678 --help(-h) # Print help (see more with '--help')
1681 def "nu-complete jj git remote add color" [] {
1682 [ "always" "never" "debug" "auto" ]
1683 }
13081685 # Add a Git remote
13091686 export extern "jj git remote add" [
13101687 remote: string # The remote's name
1311 url: string # The remote's URL
1312 --repository(-R): string # Path to repository to operate on
1688 url: path # The remote's URL or path
1689 --repository(-R): path # Path to repository to operate on
13131690 --ignore-working-copy # Don't snapshot the working copy, and don't update it
13141691 --ignore-immutable # Allow rewriting immutable commits
13151692 --at-operation: string # Operation to load the repo at
13161693 --at-op: string # Operation to load the repo at
13171694 --debug # Enable debug logging
1318 --color: string # When to colorize output (always, never, debug, auto)
1695 --color: string@"nu-complete jj git remote add color" # When to colorize output
13191696 --quiet # Silence non-primary command output
13201697 --no-pager # Disable the pager
1321 --config-toml: string # Additional configuration options (can be repeated)
1698 --config: string # Additional configuration options (can be repeated)
1699 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1700 --config-file: path # Additional configuration files (can be repeated)
13221701 --help(-h) # Print help (see more with '--help')
1704 def "nu-complete jj git remote list color" [] {
1705 [ "always" "never" "debug" "auto" ]
1706 }
13251708 # List Git remotes
13261709 export extern "jj git remote list" [
1327 --repository(-R): string # Path to repository to operate on
1710 --repository(-R): path # Path to repository to operate on
13281711 --ignore-working-copy # Don't snapshot the working copy, and don't update it
13291712 --ignore-immutable # Allow rewriting immutable commits
13301713 --at-operation: string # Operation to load the repo at
13311714 --at-op: string # Operation to load the repo at
13321715 --debug # Enable debug logging
1333 --color: string # When to colorize output (always, never, debug, auto)
1716 --color: string@"nu-complete jj git remote list color" # When to colorize output
13341717 --quiet # Silence non-primary command output
13351718 --no-pager # Disable the pager
1336 --config-toml: string # Additional configuration options (can be repeated)
1719 --config: string # Additional configuration options (can be repeated)
1720 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1721 --config-file: path # Additional configuration files (can be repeated)
13371722 --help(-h) # Print help (see more with '--help')
1725 def "nu-complete jj git remote remove color" [] {
1726 [ "always" "never" "debug" "auto" ]
1727 }
13401729 # Remove a Git remote and forget its bookmarks
13411730 export extern "jj git remote remove" [
13421731 remote: string # The remote's name
1343 --repository(-R): string # Path to repository to operate on
1732 --repository(-R): path # Path to repository to operate on
13441733 --ignore-working-copy # Don't snapshot the working copy, and don't update it
13451734 --ignore-immutable # Allow rewriting immutable commits
13461735 --at-operation: string # Operation to load the repo at
13471736 --at-op: string # Operation to load the repo at
13481737 --debug # Enable debug logging
1349 --color: string # When to colorize output (always, never, debug, auto)
1738 --color: string@"nu-complete jj git remote remove color" # When to colorize output
13501739 --quiet # Silence non-primary command output
13511740 --no-pager # Disable the pager
1352 --config-toml: string # Additional configuration options (can be repeated)
1741 --config: string # Additional configuration options (can be repeated)
1742 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1743 --config-file: path # Additional configuration files (can be repeated)
13531744 --help(-h) # Print help (see more with '--help')
1747 def "nu-complete jj git remote rename color" [] {
1748 [ "always" "never" "debug" "auto" ]
1749 }
13561751 # Rename a Git remote
13571752 export extern "jj git remote rename" [
13581753 old: string # The name of an existing remote
13591754 new: string # The desired name for `old`
1360 --repository(-R): string # Path to repository to operate on
1755 --repository(-R): path # Path to repository to operate on
13611756 --ignore-working-copy # Don't snapshot the working copy, and don't update it
13621757 --ignore-immutable # Allow rewriting immutable commits
13631758 --at-operation: string # Operation to load the repo at
13641759 --at-op: string # Operation to load the repo at
13651760 --debug # Enable debug logging
1366 --color: string # When to colorize output (always, never, debug, auto)
1761 --color: string@"nu-complete jj git remote rename color" # When to colorize output
13671762 --quiet # Silence non-primary command output
13681763 --no-pager # Disable the pager
1369 --config-toml: string # Additional configuration options (can be repeated)
1764 --config: string # Additional configuration options (can be repeated)
1765 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1766 --config-file: path # Additional configuration files (can be repeated)
13701767 --help(-h) # Print help (see more with '--help')
1770 def "nu-complete jj git remote set-url color" [] {
1771 [ "always" "never" "debug" "auto" ]
1772 }
13731774 # Set the URL of a Git remote
13741775 export extern "jj git remote set-url" [
13751776 remote: string # The remote's name
1376 url: string # The desired url for `remote`
1377 --repository(-R): string # Path to repository to operate on
1777 url: path # The desired URL or path for `remote`
1778 --repository(-R): path # Path to repository to operate on
13781779 --ignore-working-copy # Don't snapshot the working copy, and don't update it
13791780 --ignore-immutable # Allow rewriting immutable commits
13801781 --at-operation: string # Operation to load the repo at
13811782 --at-op: string # Operation to load the repo at
13821783 --debug # Enable debug logging
1383 --color: string # When to colorize output (always, never, debug, auto)
1784 --color: string@"nu-complete jj git remote set-url color" # When to colorize output
13841785 --quiet # Silence non-primary command output
13851786 --no-pager # Disable the pager
1386 --config-toml: string # Additional configuration options (can be repeated)
1787 --config: string # Additional configuration options (can be repeated)
1788 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1789 --config-file: path # Additional configuration files (can be repeated)
13871790 --help(-h) # Print help (see more with '--help')
1793 def "nu-complete jj git submodule color" [] {
1794 [ "always" "never" "debug" "auto" ]
1795 }
13901797 # FOR INTERNAL USE ONLY Interact with git submodules
13911798 export extern "jj git submodule" [
1392 --repository(-R): string # Path to repository to operate on
1799 --repository(-R): path # Path to repository to operate on
13931800 --ignore-working-copy # Don't snapshot the working copy, and don't update it
13941801 --ignore-immutable # Allow rewriting immutable commits
13951802 --at-operation: string # Operation to load the repo at
13961803 --at-op: string # Operation to load the repo at
13971804 --debug # Enable debug logging
1398 --color: string # When to colorize output (always, never, debug, auto)
1805 --color: string@"nu-complete jj git submodule color" # When to colorize output
13991806 --quiet # Silence non-primary command output
14001807 --no-pager # Disable the pager
1401 --config-toml: string # Additional configuration options (can be repeated)
1808 --config: string # Additional configuration options (can be repeated)
1809 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1810 --config-file: path # Additional configuration files (can be repeated)
14021811 --help(-h) # Print help (see more with '--help')
1814 def "nu-complete jj git submodule print-gitmodules color" [] {
1815 [ "always" "never" "debug" "auto" ]
1816 }
14051818 # Print the relevant contents from .gitmodules. For debugging purposes only
14061819 export extern "jj git submodule print-gitmodules" [
14071820 --revisions(-r): string # Read .gitmodules from the given revision
1408 --repository(-R): string # Path to repository to operate on
1821 --repository(-R): path # Path to repository to operate on
14091822 --ignore-working-copy # Don't snapshot the working copy, and don't update it
14101823 --ignore-immutable # Allow rewriting immutable commits
14111824 --at-operation: string # Operation to load the repo at
14121825 --at-op: string # Operation to load the repo at
14131826 --debug # Enable debug logging
1414 --color: string # When to colorize output (always, never, debug, auto)
1827 --color: string@"nu-complete jj git submodule print-gitmodules color" # When to colorize output
14151828 --quiet # Silence non-primary command output
14161829 --no-pager # Disable the pager
1417 --config-toml: string # Additional configuration options (can be repeated)
1830 --config: string # Additional configuration options (can be repeated)
1831 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1832 --config-file: path # Additional configuration files (can be repeated)
14181833 --help(-h) # Print help (see more with '--help')
14211836 def "nu-complete jj help keyword" [] {
1422 [ "revsets" "tutorial" ]
1837 [ "bookmarks" "config" "filesets" "glossary" "revsets" "templates" "tutorial" ]
1838 }
1840 def "nu-complete jj help color" [] {
1841 [ "always" "never" "debug" "auto" ]
14251844 # Print this message or the help of the given subcommand(s)
14261845 export extern "jj help" [
14271846 ...command: string # Print help for the subcommand(s)
14281847 --keyword(-k): string@"nu-complete jj help keyword" # Show help for keywords instead of commands
1429 --repository(-R): string # Path to repository to operate on
1848 --repository(-R): path # Path to repository to operate on
14301849 --ignore-working-copy # Don't snapshot the working copy, and don't update it
14311850 --ignore-immutable # Allow rewriting immutable commits
14321851 --at-operation: string # Operation to load the repo at
14331852 --at-op: string # Operation to load the repo at
14341853 --debug # Enable debug logging
1435 --color: string # When to colorize output (always, never, debug, auto)
1854 --color: string@"nu-complete jj help color" # When to colorize output
14361855 --quiet # Silence non-primary command output
14371856 --no-pager # Disable the pager
1438 --config-toml: string # Additional configuration options (can be repeated)
1857 --config: string # Additional configuration options (can be repeated)
1858 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1859 --config-file: path # Additional configuration files (can be repeated)
14391860 --help(-h) # Print help (see more with '--help')
1863 def "nu-complete jj init color" [] {
1864 [ "always" "never" "debug" "auto" ]
1865 }
14421867 # Create a new repo in the given directory
14431868 export extern "jj init" [
1444 destination?: string # The destination directory
1445 --git # DEPRECATED: Use `jj git init` Use the Git backend, creating a jj repo backed by a Git repo
1446 --git-repo: string # DEPRECATED: Use `jj git init` Path to a git repo the jj repo will be backed by
1447 --repository(-R): string # Path to repository to operate on
1869 destination?: path # The destination directory
1870 --repository(-R): path # Path to repository to operate on
14481871 --ignore-working-copy # Don't snapshot the working copy, and don't update it
14491872 --ignore-immutable # Allow rewriting immutable commits
14501873 --at-operation: string # Operation to load the repo at
14511874 --at-op: string # Operation to load the repo at
14521875 --debug # Enable debug logging
1453 --color: string # When to colorize output (always, never, debug, auto)
1876 --color: string@"nu-complete jj init color" # When to colorize output
14541877 --quiet # Silence non-primary command output
14551878 --no-pager # Disable the pager
1456 --config-toml: string # Additional configuration options (can be repeated)
1879 --config: string # Additional configuration options (can be repeated)
1880 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1881 --config-file: path # Additional configuration files (can be repeated)
14571882 --help(-h) # Print help (see more with '--help')
1885 def "nu-complete jj interdiff color" [] {
1886 [ "always" "never" "debug" "auto" ]
1887 }
14601889 # Compare the changes of two commits
14611890 export extern "jj interdiff" [
14621891 --from(-f): string # Show changes from this revision
14631892 --to(-t): string # Show changes to this revision
1464 ...paths: string # Restrict the diff to these paths
1893 ...paths: path # Restrict the diff to these paths
14651894 --summary(-s) # For each path, show only whether it was modified, added, or deleted
14661895 --stat # Show a histogram of the changes
14671896 --types # For each path, show only its type before and after
14721901 --context: string # Number of lines of context to show
14731902 --ignore-all-space(-w) # Ignore whitespace when comparing lines
14741903 --ignore-space-change(-b) # Ignore changes in amount of whitespace when comparing lines
1475 --repository(-R): string # Path to repository to operate on
1904 --repository(-R): path # Path to repository to operate on
14761905 --ignore-working-copy # Don't snapshot the working copy, and don't update it
14771906 --ignore-immutable # Allow rewriting immutable commits
14781907 --at-operation: string # Operation to load the repo at
14791908 --at-op: string # Operation to load the repo at
14801909 --debug # Enable debug logging
1481 --color: string # When to colorize output (always, never, debug, auto)
1910 --color: string@"nu-complete jj interdiff color" # When to colorize output
14821911 --quiet # Silence non-primary command output
14831912 --no-pager # Disable the pager
1484 --config-toml: string # Additional configuration options (can be repeated)
1913 --config: string # Additional configuration options (can be repeated)
1914 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1915 --config-file: path # Additional configuration files (can be repeated)
14851916 --help(-h) # Print help (see more with '--help')
1919 def "nu-complete jj log color" [] {
1920 [ "always" "never" "debug" "auto" ]
1921 }
14881923 # Show revision history
14891924 export extern "jj log" [
14901925 --revisions(-r): string # Which revisions to show
1491 ...paths: string # Show revisions modifying the given paths
1492 --reversed # Show revisions in the opposite order (older revisions first)
1926 ...paths: path # Show revisions modifying the given paths
14931927 --limit(-n): string # Limit number of revisions to show
1494 -l: string
1928 --reversed # Show revisions in the opposite order (older revisions first)
14951929 --no-graph # Don't show the graph, show a flat list of revisions
14961930 --template(-T): string # Render each revision using the given template
14971931 --patch(-p) # Show patch
15051939 --context: string # Number of lines of context to show
15061940 --ignore-all-space # Ignore whitespace when comparing lines
15071941 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1508 --repository(-R): string # Path to repository to operate on
1942 --repository(-R): path # Path to repository to operate on
15091943 --ignore-working-copy # Don't snapshot the working copy, and don't update it
15101944 --ignore-immutable # Allow rewriting immutable commits
15111945 --at-operation: string # Operation to load the repo at
15121946 --at-op: string # Operation to load the repo at
15131947 --debug # Enable debug logging
1514 --color: string # When to colorize output (always, never, debug, auto)
1948 --color: string@"nu-complete jj log color" # When to colorize output
15151949 --quiet # Silence non-primary command output
15161950 --no-pager # Disable the pager
1517 --config-toml: string # Additional configuration options (can be repeated)
1951 --config: string # Additional configuration options (can be repeated)
1952 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1953 --config-file: path # Additional configuration files (can be repeated)
15181954 --help(-h) # Print help (see more with '--help')
1957 def "nu-complete jj new color" [] {
1958 [ "always" "never" "debug" "auto" ]
1959 }
15211961 # Create a new, empty change and (by default) edit it in the working copy
15221962 export extern "jj new" [
15231963 ...revisions: string # Parent(s) of the new change
15291969 --after: string # Insert the new change after the given commit(s)
15301970 --insert-before(-B): string # Insert the new change before the given commit(s)
15311971 --before: string # Insert the new change before the given commit(s)
1532 --repository(-R): string # Path to repository to operate on
1972 --repository(-R): path # Path to repository to operate on
15331973 --ignore-working-copy # Don't snapshot the working copy, and don't update it
15341974 --ignore-immutable # Allow rewriting immutable commits
15351975 --at-operation: string # Operation to load the repo at
15361976 --at-op: string # Operation to load the repo at
15371977 --debug # Enable debug logging
1538 --color: string # When to colorize output (always, never, debug, auto)
1978 --color: string@"nu-complete jj new color" # When to colorize output
15391979 --quiet # Silence non-primary command output
15401980 --no-pager # Disable the pager
1541 --config-toml: string # Additional configuration options (can be repeated)
1981 --config: string # Additional configuration options (can be repeated)
1982 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1983 --config-file: path # Additional configuration files (can be repeated)
15421984 --help(-h) # Print help (see more with '--help')
1987 def "nu-complete jj next color" [] {
1988 [ "always" "never" "debug" "auto" ]
1989 }
15451991 # Move the working-copy commit to the child revision
15461992 export extern "jj next" [
15471993 offset?: string # How many revisions to move forward. Advances to the next child by default
15481994 --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`)
15491995 --no-edit(-n) # The inverse of `--edit`
15501996 --conflict # Jump to the next conflicted descendant
1551 --repository(-R): string # Path to repository to operate on
1997 --repository(-R): path # Path to repository to operate on
15521998 --ignore-working-copy # Don't snapshot the working copy, and don't update it
15531999 --ignore-immutable # Allow rewriting immutable commits
15542000 --at-operation: string # Operation to load the repo at
15552001 --at-op: string # Operation to load the repo at
15562002 --debug # Enable debug logging
1557 --color: string # When to colorize output (always, never, debug, auto)
2003 --color: string@"nu-complete jj next color" # When to colorize output
15582004 --quiet # Silence non-primary command output
15592005 --no-pager # Disable the pager
1560 --config-toml: string # Additional configuration options (can be repeated)
2006 --config: string # Additional configuration options (can be repeated)
2007 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2008 --config-file: path # Additional configuration files (can be repeated)
15612009 --help(-h) # Print help (see more with '--help')
2012 def "nu-complete jj operation color" [] {
2013 [ "always" "never" "debug" "auto" ]
2014 }
15642016 # Commands for working with the operation log
15652017 export extern "jj operation" [
1566 --repository(-R): string # Path to repository to operate on
2018 --repository(-R): path # Path to repository to operate on
15672019 --ignore-working-copy # Don't snapshot the working copy, and don't update it
15682020 --ignore-immutable # Allow rewriting immutable commits
15692021 --at-operation: string # Operation to load the repo at
15702022 --at-op: string # Operation to load the repo at
15712023 --debug # Enable debug logging
1572 --color: string # When to colorize output (always, never, debug, auto)
2024 --color: string@"nu-complete jj operation color" # When to colorize output
15732025 --quiet # Silence non-primary command output
15742026 --no-pager # Disable the pager
1575 --config-toml: string # Additional configuration options (can be repeated)
2027 --config: string # Additional configuration options (can be repeated)
2028 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2029 --config-file: path # Additional configuration files (can be repeated)
15762030 --help(-h) # Print help (see more with '--help')
2033 def "nu-complete jj operation abandon color" [] {
2034 [ "always" "never" "debug" "auto" ]
2035 }
15792037 # Abandon operation history
15802038 export extern "jj operation abandon" [
15812039 operation: string # The operation or operation range to abandon
1582 --repository(-R): string # Path to repository to operate on
2040 --repository(-R): path # Path to repository to operate on
15832041 --ignore-working-copy # Don't snapshot the working copy, and don't update it
15842042 --ignore-immutable # Allow rewriting immutable commits
15852043 --at-operation: string # Operation to load the repo at
15862044 --at-op: string # Operation to load the repo at
15872045 --debug # Enable debug logging
1588 --color: string # When to colorize output (always, never, debug, auto)
2046 --color: string@"nu-complete jj operation abandon color" # When to colorize output
15892047 --quiet # Silence non-primary command output
15902048 --no-pager # Disable the pager
1591 --config-toml: string # Additional configuration options (can be repeated)
2049 --config: string # Additional configuration options (can be repeated)
2050 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2051 --config-file: path # Additional configuration files (can be repeated)
15922052 --help(-h) # Print help (see more with '--help')
2055 def "nu-complete jj operation diff color" [] {
2056 [ "always" "never" "debug" "auto" ]
2057 }
15952059 # Compare changes to the repository between two operations
15962060 export extern "jj operation diff" [
15972061 --operation: string # Show repository changes in this operation, compared to its parent
16102074 --context: string # Number of lines of context to show
16112075 --ignore-all-space # Ignore whitespace when comparing lines
16122076 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1613 --repository(-R): string # Path to repository to operate on
2077 --repository(-R): path # Path to repository to operate on
16142078 --ignore-working-copy # Don't snapshot the working copy, and don't update it
16152079 --ignore-immutable # Allow rewriting immutable commits
16162080 --at-operation: string # Operation to load the repo at
16172081 --at-op: string # Operation to load the repo at
16182082 --debug # Enable debug logging
1619 --color: string # When to colorize output (always, never, debug, auto)
2083 --color: string@"nu-complete jj operation diff color" # When to colorize output
16202084 --quiet # Silence non-primary command output
16212085 --no-pager # Disable the pager
1622 --config-toml: string # Additional configuration options (can be repeated)
2086 --config: string # Additional configuration options (can be repeated)
2087 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2088 --config-file: path # Additional configuration files (can be repeated)
16232089 --help(-h) # Print help (see more with '--help')
2092 def "nu-complete jj operation log color" [] {
2093 [ "always" "never" "debug" "auto" ]
2094 }
16262096 # Show the operation log
16272097 export extern "jj operation log" [
16282098 --limit(-n): string # Limit number of operations to show
1629 -l: string
2099 --reversed # Show operations in the opposite order (older operations first)
16302100 --no-graph # Don't show the graph, show a flat list of operations
16312101 --template(-T): string # Render each operation using the given template
16322102 --op-diff # Show changes to the repository at each operation
16412111 --context: string # Number of lines of context to show
16422112 --ignore-all-space # Ignore whitespace when comparing lines
16432113 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1644 --repository(-R): string # Path to repository to operate on
2114 --repository(-R): path # Path to repository to operate on
16452115 --ignore-working-copy # Don't snapshot the working copy, and don't update it
16462116 --ignore-immutable # Allow rewriting immutable commits
16472117 --at-operation: string # Operation to load the repo at
16482118 --at-op: string # Operation to load the repo at
16492119 --debug # Enable debug logging
1650 --color: string # When to colorize output (always, never, debug, auto)
2120 --color: string@"nu-complete jj operation log color" # When to colorize output
16512121 --quiet # Silence non-primary command output
16522122 --no-pager # Disable the pager
1653 --config-toml: string # Additional configuration options (can be repeated)
2123 --config: string # Additional configuration options (can be repeated)
2124 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2125 --config-file: path # Additional configuration files (can be repeated)
16542126 --help(-h) # Print help (see more with '--help')
16582130 [ "repo" "remote-tracking" ]
2133 def "nu-complete jj operation restore color" [] {
2134 [ "always" "never" "debug" "auto" ]
2135 }
16612137 # Create a new operation that restores the repo to an earlier state
16622138 export extern "jj operation restore" [
16632139 operation: string # The operation to restore to
16642140 --what: string@"nu-complete jj operation restore what" # What portions of the local state to restore (can be repeated)
1665 --repository(-R): string # Path to repository to operate on
2141 --repository(-R): path # Path to repository to operate on
16662142 --ignore-working-copy # Don't snapshot the working copy, and don't update it
16672143 --ignore-immutable # Allow rewriting immutable commits
16682144 --at-operation: string # Operation to load the repo at
16692145 --at-op: string # Operation to load the repo at
16702146 --debug # Enable debug logging
1671 --color: string # When to colorize output (always, never, debug, auto)
2147 --color: string@"nu-complete jj operation restore color" # When to colorize output
16722148 --quiet # Silence non-primary command output
16732149 --no-pager # Disable the pager
1674 --config-toml: string # Additional configuration options (can be repeated)
2150 --config: string # Additional configuration options (can be repeated)
2151 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2152 --config-file: path # Additional configuration files (can be repeated)
16752153 --help(-h) # Print help (see more with '--help')
2156 def "nu-complete jj operation show color" [] {
2157 [ "always" "never" "debug" "auto" ]
2158 }
16782160 # Show changes to the repository in an operation
16792161 export extern "jj operation show" [
16802162 operation?: string # Show repository changes in this operation, compared to its parent(s)
16902172 --context: string # Number of lines of context to show
16912173 --ignore-all-space # Ignore whitespace when comparing lines
16922174 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1693 --repository(-R): string # Path to repository to operate on
2175 --repository(-R): path # Path to repository to operate on
16942176 --ignore-working-copy # Don't snapshot the working copy, and don't update it
16952177 --ignore-immutable # Allow rewriting immutable commits
16962178 --at-operation: string # Operation to load the repo at
16972179 --at-op: string # Operation to load the repo at
16982180 --debug # Enable debug logging
1699 --color: string # When to colorize output (always, never, debug, auto)
2181 --color: string@"nu-complete jj operation show color" # When to colorize output
17002182 --quiet # Silence non-primary command output
17012183 --no-pager # Disable the pager
1702 --config-toml: string # Additional configuration options (can be repeated)
2184 --config: string # Additional configuration options (can be repeated)
2185 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2186 --config-file: path # Additional configuration files (can be repeated)
17032187 --help(-h) # Print help (see more with '--help')
17072191 [ "repo" "remote-tracking" ]
2194 def "nu-complete jj operation undo color" [] {
2195 [ "always" "never" "debug" "auto" ]
2196 }
17102198 # Create a new operation that undoes an earlier operation
17112199 export extern "jj operation undo" [
17122200 operation?: string # The operation to undo
17132201 --what: string@"nu-complete jj operation undo what" # What portions of the local state to restore (can be repeated)
1714 --repository(-R): string # Path to repository to operate on
2202 --repository(-R): path # Path to repository to operate on
17152203 --ignore-working-copy # Don't snapshot the working copy, and don't update it
17162204 --ignore-immutable # Allow rewriting immutable commits
17172205 --at-operation: string # Operation to load the repo at
17182206 --at-op: string # Operation to load the repo at
17192207 --debug # Enable debug logging
1720 --color: string # When to colorize output (always, never, debug, auto)
2208 --color: string@"nu-complete jj operation undo color" # When to colorize output
17212209 --quiet # Silence non-primary command output
17222210 --no-pager # Disable the pager
1723 --config-toml: string # Additional configuration options (can be repeated)
2211 --config: string # Additional configuration options (can be repeated)
2212 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2213 --config-file: path # Additional configuration files (can be repeated)
17242214 --help(-h) # Print help (see more with '--help')
2217 def "nu-complete jj parallelize color" [] {
2218 [ "always" "never" "debug" "auto" ]
2219 }
17272221 # Parallelize revisions by making them siblings
17282222 export extern "jj parallelize" [
17292223 ...revisions: string # Revisions to parallelize
1730 --repository(-R): string # Path to repository to operate on
2224 --repository(-R): path # Path to repository to operate on
17312225 --ignore-working-copy # Don't snapshot the working copy, and don't update it
17322226 --ignore-immutable # Allow rewriting immutable commits
17332227 --at-operation: string # Operation to load the repo at
17342228 --at-op: string # Operation to load the repo at
17352229 --debug # Enable debug logging
1736 --color: string # When to colorize output (always, never, debug, auto)
2230 --color: string@"nu-complete jj parallelize color" # When to colorize output
17372231 --quiet # Silence non-primary command output
17382232 --no-pager # Disable the pager
1739 --config-toml: string # Additional configuration options (can be repeated)
2233 --config: string # Additional configuration options (can be repeated)
2234 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2235 --config-file: path # Additional configuration files (can be repeated)
17402236 --help(-h) # Print help (see more with '--help')
2239 def "nu-complete jj prev color" [] {
2240 [ "always" "never" "debug" "auto" ]
2241 }
17432243 # Change the working copy revision relative to the parent revision
17442244 export extern "jj prev" [
17452245 offset?: string # How many revisions to move backward. Moves to the parent by default
17462246 --edit(-e) # Edit the parent directly, instead of moving the working-copy commit
17472247 --no-edit(-n) # The inverse of `--edit`
17482248 --conflict # Jump to the previous conflicted ancestor
1749 --repository(-R): string # Path to repository to operate on
2249 --repository(-R): path # Path to repository to operate on
17502250 --ignore-working-copy # Don't snapshot the working copy, and don't update it
17512251 --ignore-immutable # Allow rewriting immutable commits
17522252 --at-operation: string # Operation to load the repo at
17532253 --at-op: string # Operation to load the repo at
17542254 --debug # Enable debug logging
1755 --color: string # When to colorize output (always, never, debug, auto)
2255 --color: string@"nu-complete jj prev color" # When to colorize output
17562256 --quiet # Silence non-primary command output
17572257 --no-pager # Disable the pager
1758 --config-toml: string # Additional configuration options (can be repeated)
2258 --config: string # Additional configuration options (can be repeated)
2259 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2260 --config-file: path # Additional configuration files (can be repeated)
17592261 --help(-h) # Print help (see more with '--help')
2264 def "nu-complete jj rebase color" [] {
2265 [ "always" "never" "debug" "auto" ]
2266 }
17622268 # Move revisions to different parent(s)
17632269 export extern "jj rebase" [
17642270 --branch(-b): string # Rebase the whole branch relative to destination's ancestors (can be repeated)
17712277 --before: string # The revision(s) to insert before (can be repeated to create a merge commit)
17722278 --skip-empty # Deprecated. Use --skip-emptied instead
17732279 --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
1774 --repository(-R): string # Path to repository to operate on
2280 --repository(-R): path # Path to repository to operate on
17752281 --ignore-working-copy # Don't snapshot the working copy, and don't update it
17762282 --ignore-immutable # Allow rewriting immutable commits
17772283 --at-operation: string # Operation to load the repo at
17782284 --at-op: string # Operation to load the repo at
17792285 --debug # Enable debug logging
1780 --color: string # When to colorize output (always, never, debug, auto)
2286 --color: string@"nu-complete jj rebase color" # When to colorize output
17812287 --quiet # Silence non-primary command output
17822288 --no-pager # Disable the pager
1783 --config-toml: string # Additional configuration options (can be repeated)
2289 --config: string # Additional configuration options (can be repeated)
2290 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2291 --config-file: path # Additional configuration files (can be repeated)
17842292 --help(-h) # Print help (see more with '--help')
1787 # Resolve a conflicted file with an external merge tool
2295 def "nu-complete jj resolve color" [] {
2296 [ "always" "never" "debug" "auto" ]
2297 }
2299 # Resolve conflicted files with an external merge tool
17882300 export extern "jj resolve" [
17892301 --revision(-r): string
1790 --list(-l) # Instead of resolving one conflict, list all the conflicts
2302 --list(-l) # Instead of resolving conflicts, list all the conflicts
17912303 --tool: string # Specify 3-way merge tool to be used
1792 ...paths: string # Restrict to these paths when searching for a conflict to resolve. We will attempt to resolve the first conflict we can find. You can use the `--list` argument to find paths to use here
1793 --repository(-R): string # Path to repository to operate on
2304 ...paths: path # Only resolve conflicts in these paths. You can use the `--list` argument to find paths to use here
2305 --repository(-R): path # Path to repository to operate on
17942306 --ignore-working-copy # Don't snapshot the working copy, and don't update it
17952307 --ignore-immutable # Allow rewriting immutable commits
17962308 --at-operation: string # Operation to load the repo at
17972309 --at-op: string # Operation to load the repo at
17982310 --debug # Enable debug logging
1799 --color: string # When to colorize output (always, never, debug, auto)
2311 --color: string@"nu-complete jj resolve color" # When to colorize output
18002312 --quiet # Silence non-primary command output
18012313 --no-pager # Disable the pager
1802 --config-toml: string # Additional configuration options (can be repeated)
2314 --config: string # Additional configuration options (can be repeated)
2315 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2316 --config-file: path # Additional configuration files (can be repeated)
18032317 --help(-h) # Print help (see more with '--help')
2320 def "nu-complete jj restore color" [] {
2321 [ "always" "never" "debug" "auto" ]
2322 }
18062324 # Restore paths from another revision
18072325 export extern "jj restore" [
1808 ...paths: string # Restore only these paths (instead of all paths)
2326 ...paths: path # Restore only these paths (instead of all paths)
18092327 --from(-f): string # Revision to restore from (source)
1810 --to(-t): string # Revision to restore into (destination)
2328 --into(-t): string # Revision to restore into (destination)
2329 --to: string # Revision to restore into (destination)
18112330 --changes-in(-c): string # Undo the changes in a revision as compared to the merge of its parents
18122331 --revision(-r): string # Prints an error. DO NOT USE
2332 --interactive(-i) # Interactively choose which parts to restore
2333 --tool: string # Specify diff editor to be used (implies --interactive)
18132334 --restore-descendants # Preserve the content (not the diff) when rebasing descendants
1814 --repository(-R): string # Path to repository to operate on
2335 --repository(-R): path # Path to repository to operate on
18152336 --ignore-working-copy # Don't snapshot the working copy, and don't update it
18162337 --ignore-immutable # Allow rewriting immutable commits
18172338 --at-operation: string # Operation to load the repo at
18182339 --at-op: string # Operation to load the repo at
18192340 --debug # Enable debug logging
1820 --color: string # When to colorize output (always, never, debug, auto)
2341 --color: string@"nu-complete jj restore color" # When to colorize output
18212342 --quiet # Silence non-primary command output
18222343 --no-pager # Disable the pager
1823 --config-toml: string # Additional configuration options (can be repeated)
2344 --config: string # Additional configuration options (can be repeated)
2345 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2346 --config-file: path # Additional configuration files (can be repeated)
18242347 --help(-h) # Print help (see more with '--help')
2350 def "nu-complete jj revert color" [] {
2351 [ "always" "never" "debug" "auto" ]
2352 }
18272354 # A dummy command that accepts any arguments
18282355 export extern "jj revert" [
18292356 ..._args: string
1830 --repository(-R): string # Path to repository to operate on
2357 --repository(-R): path # Path to repository to operate on
18312358 --ignore-working-copy # Don't snapshot the working copy, and don't update it
18322359 --ignore-immutable # Allow rewriting immutable commits
18332360 --at-operation: string # Operation to load the repo at
18342361 --at-op: string # Operation to load the repo at
18352362 --debug # Enable debug logging
1836 --color: string # When to colorize output (always, never, debug, auto)
2363 --color: string@"nu-complete jj revert color" # When to colorize output
18372364 --quiet # Silence non-primary command output
18382365 --no-pager # Disable the pager
1839 --config-toml: string # Additional configuration options (can be repeated)
2366 --config: string # Additional configuration options (can be repeated)
2367 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2368 --config-file: path # Additional configuration files (can be repeated)
18402369 --help(-h) # Print help (see more with '--help')
2372 def "nu-complete jj root color" [] {
2373 [ "always" "never" "debug" "auto" ]
2374 }
18432376 # Show the current workspace root directory
18442377 export extern "jj root" [
1845 --repository(-R): string # Path to repository to operate on
2378 --repository(-R): path # Path to repository to operate on
18462379 --ignore-working-copy # Don't snapshot the working copy, and don't update it
18472380 --ignore-immutable # Allow rewriting immutable commits
18482381 --at-operation: string # Operation to load the repo at
18492382 --at-op: string # Operation to load the repo at
18502383 --debug # Enable debug logging
1851 --color: string # When to colorize output (always, never, debug, auto)
2384 --color: string@"nu-complete jj root color" # When to colorize output
18522385 --quiet # Silence non-primary command output
18532386 --no-pager # Disable the pager
1854 --config-toml: string # Additional configuration options (can be repeated)
2387 --config: string # Additional configuration options (can be repeated)
2388 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2389 --config-file: path # Additional configuration files (can be repeated)
18552390 --help(-h) # Print help (see more with '--help')
2393 def "nu-complete jj run color" [] {
2394 [ "always" "never" "debug" "auto" ]
2395 }
18582397 # (**Stub**, does not work yet) Run a command across a set of revisions.
18592398 export extern "jj run" [
18602399 shell_command: string # The command to run across all selected revisions
18612400 --revisions(-r): string # The revisions to change
18622401 -x # A no-op option to match the interface of `git rebase -x`
18632402 --jobs(-j): string # How many processes should run in parallel, uses by default all cores
1864 --repository(-R): string # Path to repository to operate on
2403 --repository(-R): path # Path to repository to operate on
18652404 --ignore-working-copy # Don't snapshot the working copy, and don't update it
18662405 --ignore-immutable # Allow rewriting immutable commits
18672406 --at-operation: string # Operation to load the repo at
18682407 --at-op: string # Operation to load the repo at
18692408 --debug # Enable debug logging
1870 --color: string # When to colorize output (always, never, debug, auto)
2409 --color: string@"nu-complete jj run color" # When to colorize output
18712410 --quiet # Silence non-primary command output
18722411 --no-pager # Disable the pager
1873 --config-toml: string # Additional configuration options (can be repeated)
2412 --config: string # Additional configuration options (can be repeated)
2413 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2414 --config-file: path # Additional configuration files (can be repeated)
18742415 --help(-h) # Print help (see more with '--help')
2418 def "nu-complete jj show color" [] {
2419 [ "always" "never" "debug" "auto" ]
2420 }
18772422 # Show commit description and changes in a revision
18782423 export extern "jj show" [
18792424 revision?: string # Show changes in this revision, compared to its parent(s)
18892434 --context: string # Number of lines of context to show
18902435 --ignore-all-space # Ignore whitespace when comparing lines
18912436 --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1892 --repository(-R): string # Path to repository to operate on
2437 --repository(-R): path # Path to repository to operate on
18932438 --ignore-working-copy # Don't snapshot the working copy, and don't update it
18942439 --ignore-immutable # Allow rewriting immutable commits
18952440 --at-operation: string # Operation to load the repo at
18962441 --at-op: string # Operation to load the repo at
18972442 --debug # Enable debug logging
1898 --color: string # When to colorize output (always, never, debug, auto)
2443 --color: string@"nu-complete jj show color" # When to colorize output
18992444 --quiet # Silence non-primary command output
19002445 --no-pager # Disable the pager
1901 --config-toml: string # Additional configuration options (can be repeated)
2446 --config: string # Additional configuration options (can be repeated)
2447 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2448 --config-file: path # Additional configuration files (can be repeated)
19022449 --help(-h) # Print help (see more with '--help')
2452 def "nu-complete jj simplify-parents color" [] {
2453 [ "always" "never" "debug" "auto" ]
2454 }
19052456 # Simplify parent edges for the specified revision(s)
19062457 export extern "jj simplify-parents" [
19072458 --source(-s): string # Simplify specified revision(s) together with their trees of descendants (can be repeated)
19082459 --revisions(-r): string # Simplify specified revision(s) (can be repeated)
1909 --repository(-R): string # Path to repository to operate on
2460 --repository(-R): path # Path to repository to operate on
19102461 --ignore-working-copy # Don't snapshot the working copy, and don't update it
19112462 --ignore-immutable # Allow rewriting immutable commits
19122463 --at-operation: string # Operation to load the repo at
19132464 --at-op: string # Operation to load the repo at
19142465 --debug # Enable debug logging
1915 --color: string # When to colorize output (always, never, debug, auto)
2466 --color: string@"nu-complete jj simplify-parents color" # When to colorize output
19162467 --quiet # Silence non-primary command output
19172468 --no-pager # Disable the pager
1918 --config-toml: string # Additional configuration options (can be repeated)
2469 --config: string # Additional configuration options (can be repeated)
2470 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2471 --config-file: path # Additional configuration files (can be repeated)
19192472 --help(-h) # Print help (see more with '--help')
2475 def "nu-complete jj sparse color" [] {
2476 [ "always" "never" "debug" "auto" ]
2477 }
19222479 # Manage which paths from the working-copy commit are present in the working copy
19232480 export extern "jj sparse" [
1924 --repository(-R): string # Path to repository to operate on
2481 --repository(-R): path # Path to repository to operate on
19252482 --ignore-working-copy # Don't snapshot the working copy, and don't update it
19262483 --ignore-immutable # Allow rewriting immutable commits
19272484 --at-operation: string # Operation to load the repo at
19282485 --at-op: string # Operation to load the repo at
19292486 --debug # Enable debug logging
1930 --color: string # When to colorize output (always, never, debug, auto)
2487 --color: string@"nu-complete jj sparse color" # When to colorize output
19312488 --quiet # Silence non-primary command output
19322489 --no-pager # Disable the pager
1933 --config-toml: string # Additional configuration options (can be repeated)
2490 --config: string # Additional configuration options (can be repeated)
2491 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2492 --config-file: path # Additional configuration files (can be repeated)
19342493 --help(-h) # Print help (see more with '--help')
2496 def "nu-complete jj sparse edit color" [] {
2497 [ "always" "never" "debug" "auto" ]
2498 }
19372500 # Start an editor to update the patterns that are present in the working copy
19382501 export extern "jj sparse edit" [
1939 --repository(-R): string # Path to repository to operate on
2502 --repository(-R): path # Path to repository to operate on
19402503 --ignore-working-copy # Don't snapshot the working copy, and don't update it
19412504 --ignore-immutable # Allow rewriting immutable commits
19422505 --at-operation: string # Operation to load the repo at
19432506 --at-op: string # Operation to load the repo at
19442507 --debug # Enable debug logging
1945 --color: string # When to colorize output (always, never, debug, auto)
2508 --color: string@"nu-complete jj sparse edit color" # When to colorize output
19462509 --quiet # Silence non-primary command output
19472510 --no-pager # Disable the pager
1948 --config-toml: string # Additional configuration options (can be repeated)
2511 --config: string # Additional configuration options (can be repeated)
2512 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2513 --config-file: path # Additional configuration files (can be repeated)
19492514 --help(-h) # Print help (see more with '--help')
2517 def "nu-complete jj sparse list color" [] {
2518 [ "always" "never" "debug" "auto" ]
2519 }
19522521 # List the patterns that are currently present in the working copy
19532522 export extern "jj sparse list" [
1954 --repository(-R): string # Path to repository to operate on
2523 --repository(-R): path # Path to repository to operate on
19552524 --ignore-working-copy # Don't snapshot the working copy, and don't update it
19562525 --ignore-immutable # Allow rewriting immutable commits
19572526 --at-operation: string # Operation to load the repo at
19582527 --at-op: string # Operation to load the repo at
19592528 --debug # Enable debug logging
1960 --color: string # When to colorize output (always, never, debug, auto)
2529 --color: string@"nu-complete jj sparse list color" # When to colorize output
19612530 --quiet # Silence non-primary command output
19622531 --no-pager # Disable the pager
1963 --config-toml: string # Additional configuration options (can be repeated)
2532 --config: string # Additional configuration options (can be repeated)
2533 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2534 --config-file: path # Additional configuration files (can be repeated)
19642535 --help(-h) # Print help (see more with '--help')
2538 def "nu-complete jj sparse reset color" [] {
2539 [ "always" "never" "debug" "auto" ]
2540 }
19672542 # Reset the patterns to include all files in the working copy
19682543 export extern "jj sparse reset" [
1969 --repository(-R): string # Path to repository to operate on
2544 --repository(-R): path # Path to repository to operate on
19702545 --ignore-working-copy # Don't snapshot the working copy, and don't update it
19712546 --ignore-immutable # Allow rewriting immutable commits
19722547 --at-operation: string # Operation to load the repo at
19732548 --at-op: string # Operation to load the repo at
19742549 --debug # Enable debug logging
1975 --color: string # When to colorize output (always, never, debug, auto)
2550 --color: string@"nu-complete jj sparse reset color" # When to colorize output
19762551 --quiet # Silence non-primary command output
19772552 --no-pager # Disable the pager
1978 --config-toml: string # Additional configuration options (can be repeated)
2553 --config: string # Additional configuration options (can be repeated)
2554 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2555 --config-file: path # Additional configuration files (can be repeated)
19792556 --help(-h) # Print help (see more with '--help')
2559 def "nu-complete jj sparse set color" [] {
2560 [ "always" "never" "debug" "auto" ]
2561 }
19822563 # Update the patterns that are present in the working copy
19832564 export extern "jj sparse set" [
1984 --add: string # Patterns to add to the working copy
1985 --remove: string # Patterns to remove from the working copy
2565 --add: path # Patterns to add to the working copy
2566 --remove: path # Patterns to remove from the working copy
19862567 --clear # Include no files in the working copy (combine with --add)
1987 --repository(-R): string # Path to repository to operate on
2568 --repository(-R): path # Path to repository to operate on
19882569 --ignore-working-copy # Don't snapshot the working copy, and don't update it
19892570 --ignore-immutable # Allow rewriting immutable commits
19902571 --at-operation: string # Operation to load the repo at
19912572 --at-op: string # Operation to load the repo at
19922573 --debug # Enable debug logging
1993 --color: string # When to colorize output (always, never, debug, auto)
2574 --color: string@"nu-complete jj sparse set color" # When to colorize output
19942575 --quiet # Silence non-primary command output
19952576 --no-pager # Disable the pager
1996 --config-toml: string # Additional configuration options (can be repeated)
2577 --config: string # Additional configuration options (can be repeated)
2578 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2579 --config-file: path # Additional configuration files (can be repeated)
19972580 --help(-h) # Print help (see more with '--help')
2583 def "nu-complete jj split color" [] {
2584 [ "always" "never" "debug" "auto" ]
2585 }
20002587 # Split a revision in two
20012588 export extern "jj split" [
2002 --interactive(-i) # Interactively choose which parts to split. This is the default if no paths are provided
2589 --interactive(-i) # Interactively choose which parts to split
20032590 --tool: string # Specify diff editor to be used (implies --interactive)
20042591 --revision(-r): string # The revision to split
20052592 --parallel(-p) # Split the revision into two parallel revisions instead of a parent and child
2006 ...paths: string # Put these paths in the first commit
2007 --repository(-R): string # Path to repository to operate on
2593 ...paths: path # Files matching any of these filesets are put in the first commit
2594 --repository(-R): path # Path to repository to operate on
20082595 --ignore-working-copy # Don't snapshot the working copy, and don't update it
20092596 --ignore-immutable # Allow rewriting immutable commits
20102597 --at-operation: string # Operation to load the repo at
20112598 --at-op: string # Operation to load the repo at
20122599 --debug # Enable debug logging
2013 --color: string # When to colorize output (always, never, debug, auto)
2600 --color: string@"nu-complete jj split color" # When to colorize output
20142601 --quiet # Silence non-primary command output
20152602 --no-pager # Disable the pager
2016 --config-toml: string # Additional configuration options (can be repeated)
2603 --config: string # Additional configuration options (can be repeated)
2604 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2605 --config-file: path # Additional configuration files (can be repeated)
20172606 --help(-h) # Print help (see more with '--help')
2609 def "nu-complete jj squash color" [] {
2610 [ "always" "never" "debug" "auto" ]
2611 }
20202613 # Move changes from a revision into another revision
20212614 export extern "jj squash" [
20222615 --revision(-r): string # Revision to squash into its parent (default: @)
20272620 --use-destination-message(-u) # Use the description of the destination revision and discard the description(s) of the source revision(s)
20282621 --interactive(-i) # Interactively choose which parts to squash
20292622 --tool: string # Specify diff editor to be used (implies --interactive)
2030 ...paths: string # Move only changes to these paths (instead of all paths)
2623 ...paths: path # Move only changes to these paths (instead of all paths)
20312624 --keep-emptied(-k) # The source revision will not be abandoned
2032 --repository(-R): string # Path to repository to operate on
2625 --repository(-R): path # Path to repository to operate on
20332626 --ignore-working-copy # Don't snapshot the working copy, and don't update it
20342627 --ignore-immutable # Allow rewriting immutable commits
20352628 --at-operation: string # Operation to load the repo at
20362629 --at-op: string # Operation to load the repo at
20372630 --debug # Enable debug logging
2038 --color: string # When to colorize output (always, never, debug, auto)
2631 --color: string@"nu-complete jj squash color" # When to colorize output
20392632 --quiet # Silence non-primary command output
20402633 --no-pager # Disable the pager
2041 --config-toml: string # Additional configuration options (can be repeated)
2634 --config: string # Additional configuration options (can be repeated)
2635 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2636 --config-file: path # Additional configuration files (can be repeated)
20422637 --help(-h) # Print help (see more with '--help')
2640 def "nu-complete jj status color" [] {
2641 [ "always" "never" "debug" "auto" ]
2642 }
20452644 # Show high-level repo status
20462645 export extern "jj status" [
2047 ...paths: string # Restrict the status display to these paths
2048 --repository(-R): string # Path to repository to operate on
2646 ...paths: path # Restrict the status display to these paths
2647 --repository(-R): path # Path to repository to operate on
20492648 --ignore-working-copy # Don't snapshot the working copy, and don't update it
20502649 --ignore-immutable # Allow rewriting immutable commits
20512650 --at-operation: string # Operation to load the repo at
20522651 --at-op: string # Operation to load the repo at
20532652 --debug # Enable debug logging
2054 --color: string # When to colorize output (always, never, debug, auto)
2653 --color: string@"nu-complete jj status color" # When to colorize output
20552654 --quiet # Silence non-primary command output
20562655 --no-pager # Disable the pager
2057 --config-toml: string # Additional configuration options (can be repeated)
2656 --config: string # Additional configuration options (can be repeated)
2657 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2658 --config-file: path # Additional configuration files (can be repeated)
20582659 --help(-h) # Print help (see more with '--help')
2662 def "nu-complete jj tag color" [] {
2663 [ "always" "never" "debug" "auto" ]
2664 }
20612666 # Manage tags
20622667 export extern "jj tag" [
2063 --repository(-R): string # Path to repository to operate on
2668 --repository(-R): path # Path to repository to operate on
20642669 --ignore-working-copy # Don't snapshot the working copy, and don't update it
20652670 --ignore-immutable # Allow rewriting immutable commits
20662671 --at-operation: string # Operation to load the repo at
20672672 --at-op: string # Operation to load the repo at
20682673 --debug # Enable debug logging
2069 --color: string # When to colorize output (always, never, debug, auto)
2674 --color: string@"nu-complete jj tag color" # When to colorize output
20702675 --quiet # Silence non-primary command output
20712676 --no-pager # Disable the pager
2072 --config-toml: string # Additional configuration options (can be repeated)
2677 --config: string # Additional configuration options (can be repeated)
2678 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2679 --config-file: path # Additional configuration files (can be repeated)
20732680 --help(-h) # Print help (see more with '--help')
2683 def "nu-complete jj tag list color" [] {
2684 [ "always" "never" "debug" "auto" ]
2685 }
20762687 # List tags
20772688 export extern "jj tag list" [
20782689 ...names: string # Show tags whose local name matches
20792690 --template(-T): string # Render each tag using the given template
2080 --repository(-R): string # Path to repository to operate on
2691 --repository(-R): path # Path to repository to operate on
20812692 --ignore-working-copy # Don't snapshot the working copy, and don't update it
20822693 --ignore-immutable # Allow rewriting immutable commits
20832694 --at-operation: string # Operation to load the repo at
20842695 --at-op: string # Operation to load the repo at
20852696 --debug # Enable debug logging
2086 --color: string # When to colorize output (always, never, debug, auto)
2697 --color: string@"nu-complete jj tag list color" # When to colorize output
20872698 --quiet # Silence non-primary command output
20882699 --no-pager # Disable the pager
2089 --config-toml: string # Additional configuration options (can be repeated)
2700 --config: string # Additional configuration options (can be repeated)
2701 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2702 --config-file: path # Additional configuration files (can be repeated)
20902703 --help(-h) # Print help (see more with '--help')
2706 def "nu-complete jj util color" [] {
2707 [ "always" "never" "debug" "auto" ]
2708 }
20932710 # Infrequently used commands such as for generating shell completions
20942711 export extern "jj util" [
2095 --repository(-R): string # Path to repository to operate on
2712 --repository(-R): path # Path to repository to operate on
20962713 --ignore-working-copy # Don't snapshot the working copy, and don't update it
20972714 --ignore-immutable # Allow rewriting immutable commits
20982715 --at-operation: string # Operation to load the repo at
20992716 --at-op: string # Operation to load the repo at
21002717 --debug # Enable debug logging
2101 --color: string # When to colorize output (always, never, debug, auto)
2718 --color: string@"nu-complete jj util color" # When to colorize output
21022719 --quiet # Silence non-primary command output
21032720 --no-pager # Disable the pager
2104 --config-toml: string # Additional configuration options (can be repeated)
2721 --config: string # Additional configuration options (can be repeated)
2722 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2723 --config-file: path # Additional configuration files (can be repeated)
21052724 --help(-h) # Print help (see more with '--help')
21092728 [ "bash" "elvish" "fish" "nushell" "power-shell" "zsh" ]
2731 def "nu-complete jj util completion color" [] {
2732 [ "always" "never" "debug" "auto" ]
2733 }
21122735 # Print a command-line-completion script
21132736 export extern "jj util completion" [
21142737 shell?: string@"nu-complete jj util completion shell"
21152738 --bash # Deprecated. Use the SHELL positional argument instead
21162739 --fish # Deprecated. Use the SHELL positional argument instead
21172740 --zsh # Deprecated. Use the SHELL positional argument instead
2118 --repository(-R): string # Path to repository to operate on
2741 --repository(-R): path # Path to repository to operate on
21192742 --ignore-working-copy # Don't snapshot the working copy, and don't update it
21202743 --ignore-immutable # Allow rewriting immutable commits
21212744 --at-operation: string # Operation to load the repo at
21222745 --at-op: string # Operation to load the repo at
21232746 --debug # Enable debug logging
2124 --color: string # When to colorize output (always, never, debug, auto)
2747 --color: string@"nu-complete jj util completion color" # When to colorize output
21252748 --quiet # Silence non-primary command output
21262749 --no-pager # Disable the pager
2127 --config-toml: string # Additional configuration options (can be repeated)
2750 --config: string # Additional configuration options (can be repeated)
2751 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2752 --config-file: path # Additional configuration files (can be repeated)
21282753 --help(-h) # Print help (see more with '--help')
2756 def "nu-complete jj util config-schema color" [] {
2757 [ "always" "never" "debug" "auto" ]
2758 }
21312760 # Print the JSON schema for the jj TOML config format
21322761 export extern "jj util config-schema" [
2133 --repository(-R): string # Path to repository to operate on
2762 --repository(-R): path # Path to repository to operate on
21342763 --ignore-working-copy # Don't snapshot the working copy, and don't update it
21352764 --ignore-immutable # Allow rewriting immutable commits
21362765 --at-operation: string # Operation to load the repo at
21372766 --at-op: string # Operation to load the repo at
21382767 --debug # Enable debug logging
2139 --color: string # When to colorize output (always, never, debug, auto)
2768 --color: string@"nu-complete jj util config-schema color" # When to colorize output
21402769 --quiet # Silence non-primary command output
21412770 --no-pager # Disable the pager
2142 --config-toml: string # Additional configuration options (can be repeated)
2771 --config: string # Additional configuration options (can be repeated)
2772 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2773 --config-file: path # Additional configuration files (can be repeated)
21432774 --help(-h) # Print help (see more with '--help')
2777 def "nu-complete jj util exec color" [] {
2778 [ "always" "never" "debug" "auto" ]
2779 }
21462781 # Execute an external command via jj
21472782 export extern "jj util exec" [
21482783 command: string # External command to execute
21492784 ...args: string # Arguments to pass to the external command
2150 --repository(-R): string # Path to repository to operate on
2785 --repository(-R): path # Path to repository to operate on
21512786 --ignore-working-copy # Don't snapshot the working copy, and don't update it
21522787 --ignore-immutable # Allow rewriting immutable commits
21532788 --at-operation: string # Operation to load the repo at
21542789 --at-op: string # Operation to load the repo at
21552790 --debug # Enable debug logging
2156 --color: string # When to colorize output (always, never, debug, auto)
2791 --color: string@"nu-complete jj util exec color" # When to colorize output
21572792 --quiet # Silence non-primary command output
21582793 --no-pager # Disable the pager
2159 --config-toml: string # Additional configuration options (can be repeated)
2794 --config: string # Additional configuration options (can be repeated)
2795 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2796 --config-file: path # Additional configuration files (can be repeated)
21602797 --help(-h) # Print help (see more with '--help')
2800 def "nu-complete jj util gc color" [] {
2801 [ "always" "never" "debug" "auto" ]
2802 }
21632804 # Run backend-dependent garbage collection
21642805 export extern "jj util gc" [
21652806 --expire: string # Time threshold
2166 --repository(-R): string # Path to repository to operate on
2807 --repository(-R): path # Path to repository to operate on
21672808 --ignore-working-copy # Don't snapshot the working copy, and don't update it
21682809 --ignore-immutable # Allow rewriting immutable commits
21692810 --at-operation: string # Operation to load the repo at
21702811 --at-op: string # Operation to load the repo at
21712812 --debug # Enable debug logging
2172 --color: string # When to colorize output (always, never, debug, auto)
2813 --color: string@"nu-complete jj util gc color" # When to colorize output
21732814 --quiet # Silence non-primary command output
21742815 --no-pager # Disable the pager
2175 --config-toml: string # Additional configuration options (can be repeated)
2816 --config: string # Additional configuration options (can be repeated)
2817 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2818 --config-file: path # Additional configuration files (can be repeated)
21762819 --help(-h) # Print help (see more with '--help')
2179 # Print a ROFF (manpage)
2180 export extern "jj util mangen" [
2181 --repository(-R): string # Path to repository to operate on
2822 def "nu-complete jj util install-man-pages color" [] {
2823 [ "always" "never" "debug" "auto" ]
2824 }
2826 # Install Jujutsu's manpages to the provided path
2827 export extern "jj util install-man-pages" [
2828 path: path # The path where manpages will installed. An example path might be `/usr/share/man`. The provided path will be appended with `man1`, etc., as appropriate
2829 --repository(-R): path # Path to repository to operate on
21822830 --ignore-working-copy # Don't snapshot the working copy, and don't update it
21832831 --ignore-immutable # Allow rewriting immutable commits
21842832 --at-operation: string # Operation to load the repo at
21852833 --at-op: string # Operation to load the repo at
21862834 --debug # Enable debug logging
2187 --color: string # When to colorize output (always, never, debug, auto)
2835 --color: string@"nu-complete jj util install-man-pages color" # When to colorize output
21882836 --quiet # Silence non-primary command output
21892837 --no-pager # Disable the pager
2190 --config-toml: string # Additional configuration options (can be repeated)
2838 --config: string # Additional configuration options (can be repeated)
2839 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2840 --config-file: path # Additional configuration files (can be repeated)
21912841 --help(-h) # Print help (see more with '--help')
2844 def "nu-complete jj util markdown-help color" [] {
2845 [ "always" "never" "debug" "auto" ]
2846 }
21942848 # Print the CLI help for all subcommands in Markdown
21952849 export extern "jj util markdown-help" [
2196 --repository(-R): string # Path to repository to operate on
2850 --repository(-R): path # Path to repository to operate on
21972851 --ignore-working-copy # Don't snapshot the working copy, and don't update it
21982852 --ignore-immutable # Allow rewriting immutable commits
21992853 --at-operation: string # Operation to load the repo at
22002854 --at-op: string # Operation to load the repo at
22012855 --debug # Enable debug logging
2202 --color: string # When to colorize output (always, never, debug, auto)
2856 --color: string@"nu-complete jj util markdown-help color" # When to colorize output
22032857 --quiet # Silence non-primary command output
22042858 --no-pager # Disable the pager
2205 --config-toml: string # Additional configuration options (can be repeated)
2859 --config: string # Additional configuration options (can be repeated)
2860 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2861 --config-file: path # Additional configuration files (can be repeated)
22062862 --help(-h) # Print help (see more with '--help')
22102866 [ "repo" "remote-tracking" ]
2869 def "nu-complete jj undo color" [] {
2870 [ "always" "never" "debug" "auto" ]
2871 }
22132873 # Undo an operation (shortcut for `jj op undo`)
22142874 export extern "jj undo" [
22152875 operation?: string # The operation to undo
22162876 --what: string@"nu-complete jj undo what" # What portions of the local state to restore (can be repeated)
2217 --repository(-R): string # Path to repository to operate on
2877 --repository(-R): path # Path to repository to operate on
22182878 --ignore-working-copy # Don't snapshot the working copy, and don't update it
22192879 --ignore-immutable # Allow rewriting immutable commits
22202880 --at-operation: string # Operation to load the repo at
22212881 --at-op: string # Operation to load the repo at
22222882 --debug # Enable debug logging
2223 --color: string # When to colorize output (always, never, debug, auto)
2883 --color: string@"nu-complete jj undo color" # When to colorize output
22242884 --quiet # Silence non-primary command output
22252885 --no-pager # Disable the pager
2226 --config-toml: string # Additional configuration options (can be repeated)
2886 --config: string # Additional configuration options (can be repeated)
2887 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2888 --config-file: path # Additional configuration files (can be repeated)
22272889 --help(-h) # Print help (see more with '--help')
2892 def "nu-complete jj unsquash color" [] {
2893 [ "always" "never" "debug" "auto" ]
2894 }
22302896 # Move changes from a revision's parent into the revision
22312897 export extern "jj unsquash" [
22322898 --revision(-r): string
22332899 --interactive(-i) # Interactively choose which parts to unsquash
22342900 --tool: string # Specify diff editor to be used (implies --interactive)
2235 --repository(-R): string # Path to repository to operate on
2901 --repository(-R): path # Path to repository to operate on
22362902 --ignore-working-copy # Don't snapshot the working copy, and don't update it
22372903 --ignore-immutable # Allow rewriting immutable commits
22382904 --at-operation: string # Operation to load the repo at
22392905 --at-op: string # Operation to load the repo at
22402906 --debug # Enable debug logging
2241 --color: string # When to colorize output (always, never, debug, auto)
2907 --color: string@"nu-complete jj unsquash color" # When to colorize output
22422908 --quiet # Silence non-primary command output
22432909 --no-pager # Disable the pager
2244 --config-toml: string # Additional configuration options (can be repeated)
2910 --config: string # Additional configuration options (can be repeated)
2911 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2912 --config-file: path # Additional configuration files (can be repeated)
22452913 --help(-h) # Print help (see more with '--help')
2916 def "nu-complete jj untrack color" [] {
2917 [ "always" "never" "debug" "auto" ]
2918 }
22482920 # Stop tracking specified paths in the working copy
22492921 export extern "jj untrack" [
2250 ...paths: string # Paths to untrack. They must already be ignored
2251 --repository(-R): string # Path to repository to operate on
2922 ...paths: path # Paths to untrack. They must already be ignored
2923 --repository(-R): path # Path to repository to operate on
22522924 --ignore-working-copy # Don't snapshot the working copy, and don't update it
22532925 --ignore-immutable # Allow rewriting immutable commits
22542926 --at-operation: string # Operation to load the repo at
22552927 --at-op: string # Operation to load the repo at
22562928 --debug # Enable debug logging
2257 --color: string # When to colorize output (always, never, debug, auto)
2929 --color: string@"nu-complete jj untrack color" # When to colorize output
22582930 --quiet # Silence non-primary command output
22592931 --no-pager # Disable the pager
2260 --config-toml: string # Additional configuration options (can be repeated)
2932 --config: string # Additional configuration options (can be repeated)
2933 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2934 --config-file: path # Additional configuration files (can be repeated)
22612935 --help(-h) # Print help (see more with '--help')
2938 def "nu-complete jj version color" [] {
2939 [ "always" "never" "debug" "auto" ]
2940 }
22642942 # Display version information
22652943 export extern "jj version" [
2266 --repository(-R): string # Path to repository to operate on
2944 --repository(-R): path # Path to repository to operate on
22672945 --ignore-working-copy # Don't snapshot the working copy, and don't update it
22682946 --ignore-immutable # Allow rewriting immutable commits
22692947 --at-operation: string # Operation to load the repo at
22702948 --at-op: string # Operation to load the repo at
22712949 --debug # Enable debug logging
2272 --color: string # When to colorize output (always, never, debug, auto)
2950 --color: string@"nu-complete jj version color" # When to colorize output
22732951 --quiet # Silence non-primary command output
22742952 --no-pager # Disable the pager
2275 --config-toml: string # Additional configuration options (can be repeated)
2953 --config: string # Additional configuration options (can be repeated)
2954 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2955 --config-file: path # Additional configuration files (can be repeated)
22762956 --help(-h) # Print help (see more with '--help')
2959 def "nu-complete jj workspace color" [] {
2960 [ "always" "never" "debug" "auto" ]
2961 }
22792963 # Commands for working with workspaces
22802964 export extern "jj workspace" [
2281 --repository(-R): string # Path to repository to operate on
2965 --repository(-R): path # Path to repository to operate on
22822966 --ignore-working-copy # Don't snapshot the working copy, and don't update it
22832967 --ignore-immutable # Allow rewriting immutable commits
22842968 --at-operation: string # Operation to load the repo at
22852969 --at-op: string # Operation to load the repo at
22862970 --debug # Enable debug logging
2287 --color: string # When to colorize output (always, never, debug, auto)
2971 --color: string@"nu-complete jj workspace color" # When to colorize output
22882972 --quiet # Silence non-primary command output
22892973 --no-pager # Disable the pager
2290 --config-toml: string # Additional configuration options (can be repeated)
2974 --config: string # Additional configuration options (can be repeated)
2975 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2976 --config-file: path # Additional configuration files (can be repeated)
22912977 --help(-h) # Print help (see more with '--help')
22952981 [ "copy" "full" "empty" ]
2984 def "nu-complete jj workspace add color" [] {
2985 [ "always" "never" "debug" "auto" ]
2986 }
22982988 # Add a workspace
22992989 export extern "jj workspace add" [
23002990 destination: string # Where to create the new workspace
23012991 --name: string # A name for the workspace
23022992 --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
23032993 --sparse-patterns: string@"nu-complete jj workspace add sparse_patterns" # How to handle sparse patterns when creating a new workspace
2304 --repository(-R): string # Path to repository to operate on
2994 --repository(-R): path # Path to repository to operate on
23052995 --ignore-working-copy # Don't snapshot the working copy, and don't update it
23062996 --ignore-immutable # Allow rewriting immutable commits
23072997 --at-operation: string # Operation to load the repo at
23082998 --at-op: string # Operation to load the repo at
23092999 --debug # Enable debug logging
2310 --color: string # When to colorize output (always, never, debug, auto)
3000 --color: string@"nu-complete jj workspace add color" # When to colorize output
23113001 --quiet # Silence non-primary command output
23123002 --no-pager # Disable the pager
2313 --config-toml: string # Additional configuration options (can be repeated)
3003 --config: string # Additional configuration options (can be repeated)
3004 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
3005 --config-file: path # Additional configuration files (can be repeated)
23143006 --help(-h) # Print help (see more with '--help')
3009 def "nu-complete jj workspace forget color" [] {
3010 [ "always" "never" "debug" "auto" ]
3011 }
23173013 # Stop tracking a workspace's working-copy commit in the repo
23183014 export extern "jj workspace forget" [
23193015 ...workspaces: string # Names of the workspaces to forget. By default, forgets only the current workspace
2320 --repository(-R): string # Path to repository to operate on
3016 --repository(-R): path # Path to repository to operate on
23213017 --ignore-working-copy # Don't snapshot the working copy, and don't update it
23223018 --ignore-immutable # Allow rewriting immutable commits
23233019 --at-operation: string # Operation to load the repo at
23243020 --at-op: string # Operation to load the repo at
23253021 --debug # Enable debug logging
2326 --color: string # When to colorize output (always, never, debug, auto)
3022 --color: string@"nu-complete jj workspace forget color" # When to colorize output
23273023 --quiet # Silence non-primary command output
23283024 --no-pager # Disable the pager
2329 --config-toml: string # Additional configuration options (can be repeated)
3025 --config: string # Additional configuration options (can be repeated)
3026 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
3027 --config-file: path # Additional configuration files (can be repeated)
23303028 --help(-h) # Print help (see more with '--help')
3031 def "nu-complete jj workspace list color" [] {
3032 [ "always" "never" "debug" "auto" ]
3033 }
23333035 # List workspaces
23343036 export extern "jj workspace list" [
2335 --repository(-R): string # Path to repository to operate on
3037 --repository(-R): path # Path to repository to operate on
23363038 --ignore-working-copy # Don't snapshot the working copy, and don't update it
23373039 --ignore-immutable # Allow rewriting immutable commits
23383040 --at-operation: string # Operation to load the repo at
23393041 --at-op: string # Operation to load the repo at
23403042 --debug # Enable debug logging
2341 --color: string # When to colorize output (always, never, debug, auto)
3043 --color: string@"nu-complete jj workspace list color" # When to colorize output
23423044 --quiet # Silence non-primary command output
23433045 --no-pager # Disable the pager
2344 --config-toml: string # Additional configuration options (can be repeated)
3046 --config: string # Additional configuration options (can be repeated)
3047 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
3048 --config-file: path # Additional configuration files (can be repeated)
23453049 --help(-h) # Print help (see more with '--help')
3052 def "nu-complete jj workspace rename color" [] {
3053 [ "always" "never" "debug" "auto" ]
3054 }
23483056 # Renames the current workspace
23493057 export extern "jj workspace rename" [
23503058 new_workspace_name: string # The name of the workspace to update to
2351 --repository(-R): string # Path to repository to operate on
3059 --repository(-R): path # Path to repository to operate on
23523060 --ignore-working-copy # Don't snapshot the working copy, and don't update it
23533061 --ignore-immutable # Allow rewriting immutable commits
23543062 --at-operation: string # Operation to load the repo at
23553063 --at-op: string # Operation to load the repo at
23563064 --debug # Enable debug logging
2357 --color: string # When to colorize output (always, never, debug, auto)
3065 --color: string@"nu-complete jj workspace rename color" # When to colorize output
23583066 --quiet # Silence non-primary command output
23593067 --no-pager # Disable the pager
2360 --config-toml: string # Additional configuration options (can be repeated)
3068 --config: string # Additional configuration options (can be repeated)
3069 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
3070 --config-file: path # Additional configuration files (can be repeated)
23613071 --help(-h) # Print help (see more with '--help')
3074 def "nu-complete jj workspace root color" [] {
3075 [ "always" "never" "debug" "auto" ]
3076 }
23643078 # Show the current workspace root directory
23653079 export extern "jj workspace root" [
2366 --repository(-R): string # Path to repository to operate on
3080 --repository(-R): path # Path to repository to operate on
23673081 --ignore-working-copy # Don't snapshot the working copy, and don't update it
23683082 --ignore-immutable # Allow rewriting immutable commits
23693083 --at-operation: string # Operation to load the repo at
23703084 --at-op: string # Operation to load the repo at
23713085 --debug # Enable debug logging
2372 --color: string # When to colorize output (always, never, debug, auto)
3086 --color: string@"nu-complete jj workspace root color" # When to colorize output
23733087 --quiet # Silence non-primary command output
23743088 --no-pager # Disable the pager
2375 --config-toml: string # Additional configuration options (can be repeated)
3089 --config: string # Additional configuration options (can be repeated)
3090 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
3091 --config-file: path # Additional configuration files (can be repeated)
23763092 --help(-h) # Print help (see more with '--help')
3095 def "nu-complete jj workspace update-stale color" [] {
3096 [ "always" "never" "debug" "auto" ]
3097 }
23793099 # Update a workspace that has become stale
23803100 export extern "jj workspace update-stale" [
2381 --repository(-R): string # Path to repository to operate on
3101 --repository(-R): path # Path to repository to operate on
23823102 --ignore-working-copy # Don't snapshot the working copy, and don't update it
23833103 --ignore-immutable # Allow rewriting immutable commits
23843104 --at-operation: string # Operation to load the repo at
23853105 --at-op: string # Operation to load the repo at
23863106 --debug # Enable debug logging
2387 --color: string # When to colorize output (always, never, debug, auto)
3107 --color: string@"nu-complete jj workspace update-stale color" # When to colorize output
23883108 --quiet # Silence non-primary command output
23893109 --no-pager # Disable the pager
2390 --config-toml: string # Additional configuration options (can be repeated)
3110 --config: string # Additional configuration options (can be repeated)
3111 --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
3112 --config-file: path # Additional configuration files (can be repeated)
23913113 --help(-h) # Print help (see more with '--help')