repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

nugu: imported nugu into dotfiles nushell: cleanup of unused stuff

0e9ab77b858f7c1ad27a71bb4e266091c8cca003

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (22)

.gitignore

Modified
1 1 tresor/box_do_key
3 +nugu/output/
3 5 nushell/zoxide.nu
4 6 nushell/history.txt
5 7 nushell/history.sqlite3*

NB-00718.symlinks

Modified
4 4 wezterm
5 5 ~/.config/wezterm
7 7 neovim
8 8 ~/AppData/Local/nvim
10 -nushell/completions
11 -~/AppData/Roaming/nushell/completions
13 11 nushell/scripts
14 12 ~/AppData/Roaming/nushell/scripts

fedora.symlinks

Modified
43 43 nushell/scripts
44 44 ~/.config/nushell/scripts
46 -nushell/completions
47 -~/.config/nushell/completions
49 46 topgrade/topgrade.toml
50 47 ~/.config/topgrade.toml

neovim/lua/std/const.lua

Modified
4 4 local uname = vim.uv.os_uname()
5 5 local win32 = uname.sysname:match 'Win' and true or false
6 6 local wsl = uname.release:match 'WSL2' and true or false
8 8 local os_background = function ()
9 9 -- Default value
10 - local background = 'light'
10 + local background = 'dark'
11 11 -- First check whether we are on WSL or Windows
12 12 if win32 or wsl then
13 13 -- Check if 'reg.exe' is executable

nugu/.gitignore

Added
new file mode 100644
1 +old.toml
2 +output

nugu/README.md

Added
new file mode 100644
1 +# nugu
3 +Personal color theme for various applications.
5 +## TODO
7 +* [x] helix
8 +* [x] wezterm
9 +* [ ] LS\_COLORS
10 +* [ ] firefox
11 +* [ ] nushell
13 +* `ui.important_global` *brighter* (~dark~ only?)
14 +* __ui.accent brighter__ (**dark** only?)
15 +* _ui.minor darker_ (<em>dark</em> only?)

nugu/base.toml

Added
new file mode 100644
1 +[palette]
3 +# the default color for the most common element. a typical example is
4 +# the text in a code editor.
5 +normal = "#ffffff"
7 +# the background in relation to the normal color.
8 +backdrop = "#000000"
10 +# the accent color is a prominent color, that give a theme its identity.
11 +accent = "#f000f0"
13 +# when elements, that are by default normal, need special attention, they become important. this color signals, that the system demands attention from the human, regarding some element.
14 +important = "#0090ff"
16 +# focused elements are usually in the process of being modified by the human. it represents those elements, that the human wants to pay attention to.
17 +focus = "#00ff00"
19 +# Errors are nonnegotiable and urgent.
20 +# The color should be very aggressive and visible.
21 +error = "#ff0000"
23 +# Infos are context relevant suggestions.
24 +# The color should be relaxed and easy to ignore.
25 +info = "#00ffff"
27 +# Warnings are likely to be problems, but they are not urgent.
28 +# The color should be distracting, but also ignorable.
29 +warning = "#ffff00"
31 +# sometimes it is not obvious where a color will show up in applications.
32 +# this color is meant to be easy to spot.
33 +debug = "#ff00ff"

nugu/helix.nu

Added
new file mode 100644
1 +use palette.nu
3 +# FIXME: only generate palette here, leave the rest to helix config
5 +export def theme [ mode:string ] {
6 + let nugu = (palette nugu $mode)
7 + let helix_palette = {
8 + normal: $nugu.palette.content.normal
9 + backdrop: $nugu.palette.content.backdrop
10 + accent: $nugu.palette.content.accent
11 + important_local: $nugu.palette.content.important_local
12 + important_global: $nugu.palette.content.important_global
13 + minor: $nugu.palette.content.minor
14 + focus: $nugu.palette.content.focus
15 + unfocus: $nugu.palette.content.unfocus
17 + ui_normal: $nugu.palette.ui.normal
18 + ui_backdrop: $nugu.palette.ui.backdrop
19 + ui_accent: $nugu.palette.ui.accent
20 + ui_important_global: $nugu.palette.ui.important_global
21 + ui_important_local: $nugu.palette.ui.important_local
22 + ui_minor: $nugu.palette.ui.minor
23 + ui_focus: $nugu.palette.ui.focus
24 + ui_unfocus: $nugu.palette.ui.unfocus
26 + error: $nugu.palette.error
27 + warning: $nugu.palette.warning
28 + info: $nugu.palette.info
29 + debug: $nugu.palette.debug
30 + }
32 + [ (stub) ($helix_palette | to toml | into string )] | str join (char newline)
35 +def stub [] { open --raw helix_nugu_stub.toml | lines | drop 2 | str join (char newline) }

nugu/helix_nugu_stub.toml

Added
new file mode 100644
1 +# SYNTAX THEME
2 +# modifiers:
3 +# # - bold
4 +# - dim
5 +# - italic
6 +# - slow_blink
7 +# - rapid_blink
8 +# - reversed
9 +# - hidden
10 +# - crossed_out
12 +# underline:
13 +# - style
14 +# - line
15 +# - curl
16 +# - dashed
17 +# - dotted
18 +# - double_line
19 +# - color
21 +"comment" = { fg = "important_global", modifiers = ["bold"] }
22 +"string" = { fg = "important_local", modifiers = ["italic"] }
23 +"comment.block.documentation" = { fg = "minor", modifiers = ["dim"] }
24 +"punctuation" = { fg = "minor" }
25 +"keyword" = { fg = "minor" }
26 +"tag" = { fg = "minor" }
27 +"keyword.control.return" = { modifiers = ["bold"], underline.style = "line" }
28 +"keyword.control.exception" = { modifiers = ["bold"], underline.style = "line" }
29 +"operator" = { fg = "minor" }
30 +"variable.parameter" = { fg = "focus", modifiers = ["bold"] }
32 +"markup.heading" = { fg = "important_global", modifiers = [
33 + "bold",
34 +], underline.style = "double_line" }
35 +"markup.heading.marker" = { fg = "minor" }
36 +"markup.list" = "minor"
37 +"markup.bold" = { modifiers = ["bold"] }
38 +"markup.italic" = { modifiers = ["italic"] }
39 +"markup.strikethrough" = { modifiers = ["crossed_out"] }
40 +"markup.link.url" = "accent"
41 +"markup.link.text" = "important_local"
42 +"markup.link.label" = "important_global"
43 +"markup.quote" = { fg = "important_local", modifiers = ["italic"] }
44 +"markup.raw.inline" = { fg = "important_local" }
45 +"markup.raw.block" = { fg = "important_global" }
47 +"diff.plus" = { fg = "important_local", modifiers = ["bold"] }
48 +"diff.delta" = { fg = "unfocus" }
49 +"diff.minus" = { fg = "focus", modifiers = ["crossed_out"] }
51 +"ui.background" = { fg = "normal", bg = "backdrop" }
52 +"ui.background.separator" = { fg = "ui_minor" }
54 +"ui.cursor" = { fg = "normal", bg = "accent" }
55 +"ui.cursor.primary" = { fg = "normal", bg = "accent" }
56 +"ui.cursor.match" = { fg = "normal", bg = "unfocus", modifiers = [
57 + "slow_blink",
58 +] }
60 +"ui.cursorline.primary" = { bg = "debug" }
62 +"ui.selection" = { fg = "normal", bg = "ui_important_local" }
63 +"ui.selection.primary" = { fg = "normal", bg = "ui_important_global" }
65 +"ui.linenr" = { fg = "ui_unfocus" }
66 +"ui.linenr.selected" = { fg = "ui_accent" }
68 +"ui.statusline" = { fg = "ui_minor", bg = "ui_backdrop" }
69 +"ui.statusline.separator" = { fg = "ui_unfocus", bg = "ui_backdrop" }
70 +"ui.statusline.insert" = { fg = "ui_important_global", modifiers = ["bold"] }
71 +"ui.statusline.select" = { fg = "ui_focus", modifiers = ["bold"] }
72 +"ui.statusline.inactive" = { fg = "ui_unfocus", bg = "ui_backdrop" }
74 +"ui.bufferline" = { fg = "ui_minor", bg = "ui_backdrop" }
75 +"ui.bufferline.active" = { fg = "ui_important_global", bg = "ui_unfocus", modifiers = [
76 + "bold",
77 +], underline = { style = "double_line", color = "ui_backdrop" } }
79 +"ui.gutter" = { bg = "ui_backdrop" }
81 +"ui.debug.breakpoint" = { fg = "ui_important_global" }
82 +"ui.debug.active" = { fg = "ui_important_global" }
84 +"ui.window" = { fg = "ui_unfocus", bg = "ui_backdrop" }
86 +"ui.help" = { fg = "ui_important_global", bg = "ui_backdrop" }
88 +"ui.text" = { fg = "normal", bg = "backdrop" }
89 +"ui.text.focus" = { fg = "ui_focus" }
90 +"ui.text.info" = { fg = "ui_normal", bg = "ui_backdrop" }
91 +"ui.text.inactive" = { fg = "ui_minor" }
93 +"ui.menu" = { fg = "ui_normal", bg = "ui_backdrop" }
94 +"ui.menu.selected" = { fg = "ui_focus", bg = "ui_backdrop", modifiers = [
95 + "bold",
96 +] }
97 +"ui.menu.scroll" = { fg = "ui_accent", bg = "ui_backdrop" }
99 +"ui.popup" = { fg = "normal", bg = "backdrop" }
100 +"ui.popup.info" = { fg = "ui_minor", bg = "ui_backdrop" }
102 +"ui.highlight" = { bg = "ui_focus" }
103 +"ui.highlight.frameline" = { bg = "ui_important_global" }
105 +"ui.virtual.ruler" = { bg = "ui_unfocus" }
106 +"ui.virtual.whitespace" = { fg = "ui_unfocus" }
107 +"ui.virtual.inlay-hint" = { fg = "ui_minor" }
109 +"error" = { bg = "error" }
110 +"warning" = { bg = "warning" }
111 +"info" = { bg = "info" }
112 +"hint" = { fg = "info", modifiers = ["dim"] }
113 +"diagnostic.error" = { underline = { style = "double_line", color = "error" } }
114 +"diagnostic.warning" = { underline = { style = "double_line", color = "warning" } }
115 +"diagnostic.info" = { underline = { style = "double_line", color = "info" } }
116 +"diagnostic.hint" = { underline = { style = "double_line", color = "info" }, modifiers = [
117 + "dim",
118 +] }
119 +"special" = { fg = "debug" }
121 +[palette]
123 +# this is an incomplete stub file
124 +# the palette should be appended to create a valid helix theme

nugu/justfile

Added
new file mode 100644
1 +set shell := [ "nu", "--commands" ]
3 +neovim_config_dir := if os_family() == "windows" { "~/AppData/Local/nvim" } else { "~/.config/nvim" }
4 +helix_config_dir := if os_family() == "windows" { "~/AppData/Roaming/helix" } else { "~/.config/helix" }
6 +default:
7 + @just --list
9 +lint:
10 + taplo lint
11 + open nugu.nu | nu-check --as-module --debug nugu.nu
12 + open site.nu | nu-check --as-module --debug site.nu
13 + open helix.nu | nu-check --as-module --debug helix.nu
14 + open wezterm.nu | nu-check --as-module --debug wezterm.nu
16 +fmt: lint
17 + taplo fmt
19 +output := 'output'
21 +show THEME:
22 + use nugu.nu; nugu print-colors (nugu {{THEME}})
24 +build: fmt
25 + rm --force --recursive {{output}}
26 + mkdir {{output}}
27 + use nugu.nu; nugu dark | to toml | save --raw {{output}}/dark.toml
28 + use nugu.nu; nugu light | to toml | save --raw {{output}}/light.toml
30 +html: build
31 + use site.nu; site html light | save --raw {{output}}/site-light.html
32 + use site.nu; site html dark | save --raw {{output}}/site-dark.html
34 +open: html
35 + firefox --new-tab {{output}}/site-dark.html
36 + firefox --new-tab {{output}}/site-light.html
38 +helix: build
39 + rm --force --recursive {{output}}/helix
40 + mkdir {{output}}/helix
41 + use helix.nu; helix theme dark | save --raw {{output}}/helix/nugu-dark.toml
42 + use helix.nu; helix theme light | save --raw {{output}}/helix/nugu-light.toml
43 + cp {{output}}/helix/nugu-dark.toml {{helix_config_dir}}/themes/nugu-dark.toml
44 + cp {{output}}/helix/nugu-light.toml {{helix_config_dir}}/helix/themes/nugu-light.toml
45 + try { pkill -USR1 hx }
47 +wezterm: build
48 + rm --force --recursive {{output}}/wezterm
49 + mkdir {{output}}/wezterm
50 + use wezterm.nu; wezterm theme dark | save --raw {{output}}/wezterm/palette_dark.lua
51 + use wezterm.nu; wezterm theme light | save --raw {{output}}/wezterm/palette_light.lua
52 + cp {{output}}/wezterm/palette_dark.lua ~/.config/wezterm/bugabinga/nugu/palette_dark.lua
53 + cp {{output}}/wezterm/palette_light.lua ~/.config/wezterm/bugabinga/nugu/palette_light.lua
55 +neovim: build
56 + rm --force --recursive {{output}}/neovim
57 + mkdir {{output}}/neovim
58 + use neovim.nu; neovim theme dark | save --raw {{output}}/neovim/palette_dark.lua
59 + use neovim.nu; neovim theme light | save --raw {{output}}/neovim/palette_light.lua
60 + cp {{output}}/neovim/palette_dark.lua {{neovim_config_dir}}/lua/bugabinga/nugu/palette_dark.lua
61 + cp {{output}}/neovim/palette_light.lua {{neovim_config_dir}}/lua/bugabinga/nugu/palette_light.lua
62 + try { pkill -USR1 nvim }
64 +install: helix wezterm neovim

nugu/neovim.nu

Added
new file mode 100644
1 +use palette.nu
3 +export def theme [ mode:string ] {
4 + let nugu = ( palette nugu $mode )
5 + $"return {
6 + debug = '($nugu.palette.debug)',
7 + error = '($nugu.palette.error)',
8 + info = '($nugu.palette.info)',
9 + warning = '($nugu.palette.warning)',
11 + content_normal = '($nugu.palette.content.normal)',
12 + content_backdrop = '($nugu.palette.content.backdrop)',
13 + content_accent = '($nugu.palette.content.accent)',
14 + content_minor = '($nugu.palette.content.minor)',
15 + content_focus = '($nugu.palette.content.focus)',
16 + content_unfocus = '($nugu.palette.content.unfocus)',
17 + content_important_global = '($nugu.palette.content.important_global)',
18 + content_important_local = '($nugu.palette.content.important_local)',
20 + ui_normal = '($nugu.palette.ui.normal)',
21 + ui_backdrop = '($nugu.palette.ui.backdrop)',
22 + ui_accent = '($nugu.palette.ui.accent)',
23 + ui_minor = '($nugu.palette.ui.minor)',
24 + ui_focus = '($nugu.palette.ui.focus)',
25 + ui_unfocus = '($nugu.palette.ui.unfocus)',
26 + ui_important_global = '($nugu.palette.ui.important_global)',
27 + ui_important_local = '($nugu.palette.ui.important_local)',
28 +}"

nugu/nugu.nu

Added
new file mode 100644
1 +def print-block [ color: string ] {
3 + let color_escape = {
4 + fg: $color
5 + bg: $color
6 + }
8 + print --no-newline $"(ansi --escape $color_escape)██(ansi reset)"
9 +}
11 +export def print-colors [theme: record] {
12 + let mat = [
13 + [
14 + $theme.palette.debug
15 + $theme.palette.error
16 + $theme.palette.warning
17 + $theme.palette.info
18 + null
19 + null
20 + null
21 + null
22 + ]
23 + [
24 + $theme.palette.content.normal
25 + $theme.palette.content.backdrop
26 + $theme.palette.content.accent
27 + $theme.palette.content.minor
28 + $theme.palette.content.focus
29 + $theme.palette.content.unfocus
30 + $theme.palette.content.important_local
31 + $theme.palette.content.important_global
32 + ]
33 + [
34 + $theme.palette.ui.normal
35 + $theme.palette.ui.backdrop
36 + $theme.palette.ui.accent
37 + $theme.palette.ui.minor
38 + $theme.palette.ui.focus
39 + $theme.palette.ui.unfocus
40 + $theme.palette.ui.important_local
41 + $theme.palette.ui.important_global
42 + ]
43 + ]
44 + # FIXME: shirley, there is some clever way to create the matrix from the tree?
46 + let width = $mat | get 0 | length
47 + let height = $mat | length
48 + # FIXME: the math below is beautifully wrong and only happens to work
49 + # when pad is == 1, don't care right now..
50 + let pad = 1
51 + let size = (term size | get columns) // ($width + $width + $pad + $pad)
52 + let padded_size = $size + $pad
54 + let scaled_width = ($width * $padded_size) - $pad
55 + let scaled_height = ($height * $padded_size) - $pad
57 + let bg = "#000000"
59 + for y in 0..$scaled_height {
60 + for x in 0..$scaled_width {
61 + let pad_x = $x mod $padded_size
62 + let pad_y = $y mod $padded_size
63 + if ($pad_x == $padded_size - 1 or $pad_y == $padded_size - 1 ) {
64 + print-block $bg
65 + } else {
66 + let color_x = ($x // $padded_size) mod $width
67 + let color_y = ($y // $padded_size) mod $height
68 + let color = $mat | get $color_y | get $color_x
69 + if ($color | is-not-empty) {
70 + print-block $color
71 + } else {
72 + print-block $bg
73 + }
74 + }
75 + }
76 + # it is amazingly difficult to print only one newline
77 + # print --no-newline (char nl)
78 + print ""
79 + }
82 +def make-palette [
83 + debug: string,
84 + error: string,
85 + warning: string,
86 + info: string,
87 + content_normal: string,
88 + content_backdrop: string,
89 + content_accent: string,
90 + content_minor: string,
91 + content_focus: string,
92 + content_unfocus: string,
93 + content_important_local: string,
94 + content_important_global: string,
95 + ui_normal: string,
96 + ui_backdrop: string,
97 + ui_accent: string,
98 + ui_minor: string,
99 + ui_focus: string,
100 + ui_unfocus: string,
101 + ui_important_local: string,
102 + ui_important_global: string
103 +] {
105 + palette: {
106 + debug: $debug
107 + error: $error
108 + warning: $warning
109 + info: $info
110 + content: {
111 + normal: $content_normal
112 + backdrop: $content_backdrop
113 + accent: $content_accent
114 + minor: $content_minor
115 + focus: $content_focus
116 + unfocus: $content_unfocus
117 + important_local: $content_important_local
118 + important_global: $content_important_global
120 + ui: {
121 + normal: $ui_normal
122 + backdrop: $ui_backdrop
123 + accent: $ui_accent
124 + minor: $ui_minor
125 + focus: $ui_focus
126 + unfocus: $ui_unfocus
127 + important_local: $ui_important_local
128 + important_global: $ui_important_global
134 +# modifies a color by some cool operation -> flux.
135 +# default flux is to darken.
136 +def flux [
137 + compensator: float # power of the flux light
138 + deescalator: float # weaken the flux charisma
139 + --light # use the light variant of flux color modification
140 +] {
141 + pastel desaturate $deescalator |
142 + pastel ( if $light { "lighten" } else { "darken" } ) $compensator |
143 + pastel format hex |
144 + ansi strip
147 +def mix [
148 + color: string # color to mix into
149 +] {
150 + pastel mix --colorspace OkLab --fraction 0.42 $color
153 +def new [
154 + --light # make the light variant
155 +] {
156 + let base = (open base.toml | get palette)
157 + def normal_flux [ --c: float=0.069 --d:float=0.069 ] { if $light { flux $c $d --light } else { flux $c $d } }
158 + def inverted_flux [ --c: float=0.069 --d:float=0.069 ] { if $light { flux $c $d } else { flux $c $d --light } }
160 + let normal = if $light { $base.backdrop } else { $base.normal }
161 + let backdrop = if $light { $base.normal } else { $base.backdrop }
163 + let error = (
164 + $base.error
165 + | mix $base.accent
166 + | normal_flux
168 + let warning = (
169 + $base.warning
170 + | mix $base.accent
171 + | inverted_flux --c 0.042
173 + let info = (
174 + $base.info
175 + | mix $base.accent
176 + | inverted_flux --c 0.042
178 + let content_normal = (
179 + $normal
180 + | normal_flux
182 + let content_backdrop = (
183 + $backdrop
184 + | inverted_flux
186 + let content_accent = (
187 + $base.accent
188 + | normal_flux --c 0
190 + let content_minor = (
191 + $normal
192 + | mix $backdrop
193 + | normal_flux
195 + let content_focus = (
196 + $base.focus
197 + | mix $content_normal
198 + | mix $base.important
199 + | normal_flux --c 0.042 --d 0.42
201 + let content_unfocus = (
202 + $base.focus
203 + | mix $content_backdrop
204 + | mix $base.important
205 + | normal_flux --c 0.069 --d 0.69
207 + let content_important_local = (
208 + $base.important
209 + | mix $content_normal
210 + | mix $base.important
211 + | mix $base.accent
212 + | normal_flux
214 + let content_important_global = (
215 + $base.important
216 + | mix $content_normal
217 + | mix $base.important
218 + | mix $base.accent
219 + | normal_flux --c 0
221 + let ui_normal = (
222 + $content_normal
223 + | inverted_flux
225 + let ui_backdrop = (
226 + $content_backdrop
227 + | normal_flux
229 + let ui_accent = (
230 + $content_accent
231 + | normal_flux --c 0 --d 0.42
233 + let ui_minor = (
234 + $content_minor
235 + | normal_flux
237 + let ui_focus = (
238 + $content_focus
239 + | normal_flux
241 + let ui_unfocus = (
242 + $content_unfocus
243 + | normal_flux
245 + let ui_important_local = (
246 + $content_important_local
247 + | normal_flux
249 + let ui_important_global = (
250 + $content_important_global
251 + | normal_flux
254 + (make-palette $base.debug $error $warning $info
255 + $content_normal $content_backdrop
256 + $content_accent
257 + $content_minor
258 + $content_focus $content_unfocus
259 + $content_important_local $content_important_global
260 + $ui_normal $ui_backdrop
261 + $ui_accent
262 + $ui_minor
263 + $ui_focus $ui_unfocus
264 + $ui_important_local $ui_important_global)
267 +export def dark [] { new }
268 +export def light [] { new --light }

nugu/palette.nu

Added
new file mode 100644
1 +export def nugu [ mode:string ] {
2 + if $mode == "dark" { (dark_palette) } else { (light_palette) }
3 +}
4 +def dark_palette [] { open output/dark.toml }
5 +def light_palette [] { open output/light.toml }

nugu/site.nu

Added
new file mode 100755
1 +def to-divs [] {
2 + select 0 |
3 + transpose name value |
4 + each { | color |
5 + $"
6 + <div class='color_rect' style='background-color: ($color.value)'>
7 + <span class='color_name grow' onclick='copy\(\"($color.value)\"\)'>($color.name) ($color.value)</span>
8 + </div>"
9 + } |
10 + str join (char newline)
13 +export def html [ theme: string ] {
14 + let palette = ( open $"output/($theme).toml" | get palette )
15 + let palette_colors = ( $palette | reject content ui )
16 + let content_colors = ( $palette | get content )
17 + let ui_colors = ( $palette | get ui )
19 + let global_color_divs = ( $palette_colors | to-divs )
20 + let content_color_divs = ( $content_colors | to-divs )
21 + let ui_color_divs = ( $ui_colors | to-divs )
22 + let backdrop = if $theme == "dark" { "black" } else { "white" }
23 + let normal = if $theme == "dark" { "white" } else { "black" }
25 + $"
26 + <!DOCTYPE html>
27 + <html>
28 + <script>
29 + function copy\(color\) {
30 + navigator.clipboard.writeText\(color\);
31 + alert\('Copied ' + color + ' into clipboard!'\);
32 + }
33 + </script>
34 + <style>
35 + :root {
36 + background-color: ($backdrop);
37 + }
38 + h1, h2 {
39 + font-family: serif;
40 + color: ($normal);
41 + }
42 + h1::before {
43 + content: '# ';
44 + }
45 + h2::before {
46 + content: '## ';
47 + }
48 + .grid {
49 + display: grid;
50 + grid-template-columns: auto auto auto;
51 + grid-template-rows: auto auto auto;
52 + column-gap: 16px;
53 + row-gap: 16px;
54 + padding: 16px;
55 + }
56 + .color_rect {
57 + width: 270px;
58 + height: 250px;
59 + border: ($normal) 5px solid;
60 + border-radius: 8px;
61 + display: inline-flex;
62 + }
63 + .color_name {
64 + font-family: monospace;
65 + font-weight: bold;
66 + font-size: smaller;
67 + color: ($backdrop);
68 + opacity: 0.66;
69 + border-radius: 8px;
70 + background-color: ($normal);
71 + padding: 8px;
72 + place-self: end;
73 + }
74 + .grow {
75 + transition: all .2s ease-in-out;
76 + }
77 + .grow:hover {
78 + cursor: pointer;
79 + border: ($normal) 2px solid;
80 + transform: scale\(1.666\);
81 + z-index: 999;
82 + }
83 + </style>
84 + <h1>nugu color palette</h1>
86 + <h2>global colors</h2>
87 + <div class='grid'>
88 + ($global_color_divs)
89 + </div>
91 + <h2>content colors</h2>
92 + <div class='grid'>
93 + ($content_color_divs)
94 + </div>
96 + <h2>ui colors</h2>
97 + <div class='grid'>
98 + ($ui_color_divs)
99 + </div>
100 + </html>

nugu/wezterm.nu

Added
new file mode 100644
1 +use palette.nu
3 +export def theme [ mode: string ] {
4 + # nuon is pretty similar to lua tables!
5 + palette nugu $mode | to nuon | into string | str replace --all ':' ' =' | prepend 'return' | str join (char nl)
6 +}

nushell/completions/jj-completions.nu

Deleted
deleted file mode 100644
1 -module completions {
3 - # Jujutsu (An experimental VCS)
4 - export extern jj [
5 - --repository(-R): path # Path to repository to operate on
6 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
7 - --ignore-immutable # Allow rewriting immutable commits
8 - --at-operation: string # Operation to load the repo at
9 - --at-op: string # Operation to load the repo at
10 - --debug # Enable debug logging
11 - --color: string # When to colorize output (always, never, debug, auto)
12 - --quiet # Silence non-primary command output
13 - --no-pager # Disable the pager
14 - --config: string # Additional configuration options (can be repeated)
15 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
16 - --config-file: path # Additional configuration files (can be repeated)
17 - --help(-h) # Print help (see more with '--help')
18 - --version(-V) # Print version
19 - ]
21 - # Abandon a revision
22 - export extern "jj abandon" [
23 - ...revisions_pos: string # The revision(s) to abandon (default: @)
24 - -r: string
25 - --summary(-s) # Do not print every abandoned commit on a separate line
26 - --restore-descendants # Do not modify the content of the children of the abandoned commits
27 - --repository(-R): path # Path to repository to operate on
28 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
29 - --ignore-immutable # Allow rewriting immutable commits
30 - --at-operation: string # Operation to load the repo at
31 - --at-op: string # Operation to load the repo at
32 - --debug # Enable debug logging
33 - --color: string # When to colorize output (always, never, debug, auto)
34 - --quiet # Silence non-primary command output
35 - --no-pager # Disable the pager
36 - --config: string # Additional configuration options (can be repeated)
37 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
38 - --config-file: path # Additional configuration files (can be repeated)
39 - --help(-h) # Print help (see more with '--help')
40 - ]
42 - # Move changes from a revision into the stack of mutable revisions
43 - export extern "jj absorb" [
44 - --from(-f): string # Source revision to absorb from
45 - --into(-t): string # Destination revisions to absorb into
46 - --to: string # Destination revisions to absorb into
47 - ...paths: path # Move only changes to these paths (instead of all paths)
48 - --repository(-R): path # Path to repository to operate on
49 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
50 - --ignore-immutable # Allow rewriting immutable commits
51 - --at-operation: string # Operation to load the repo at
52 - --at-op: string # Operation to load the repo at
53 - --debug # Enable debug logging
54 - --color: string # When to colorize output (always, never, debug, auto)
55 - --quiet # Silence non-primary command output
56 - --no-pager # Disable the pager
57 - --config: string # Additional configuration options (can be repeated)
58 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
59 - --config-file: path # Additional configuration files (can be repeated)
60 - --help(-h) # Print help (see more with '--help')
61 - ]
63 - # Apply the reverse of a revision on top of another revision
64 - export extern "jj backout" [
65 - --revisions(-r): string # The revision(s) to apply the reverse of
66 - --destination(-d): string # The revision to apply the reverse changes on top of
67 - --repository(-R): path # Path to repository to operate on
68 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
69 - --ignore-immutable # Allow rewriting immutable commits
70 - --at-operation: string # Operation to load the repo at
71 - --at-op: string # Operation to load the repo at
72 - --debug # Enable debug logging
73 - --color: string # When to colorize output (always, never, debug, auto)
74 - --quiet # Silence non-primary command output
75 - --no-pager # Disable the pager
76 - --config: string # Additional configuration options (can be repeated)
77 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
78 - --config-file: path # Additional configuration files (can be repeated)
79 - --help(-h) # Print help (see more with '--help')
80 - ]
82 - # Manage bookmarks [default alias: b]
83 - export extern "jj bookmark" [
84 - --repository(-R): path # Path to repository to operate on
85 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
86 - --ignore-immutable # Allow rewriting immutable commits
87 - --at-operation: string # Operation to load the repo at
88 - --at-op: string # Operation to load the repo at
89 - --debug # Enable debug logging
90 - --color: string # When to colorize output (always, never, debug, auto)
91 - --quiet # Silence non-primary command output
92 - --no-pager # Disable the pager
93 - --config: string # Additional configuration options (can be repeated)
94 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
95 - --config-file: path # Additional configuration files (can be repeated)
96 - --help(-h) # Print help (see more with '--help')
97 - ]
99 - # Create a new bookmark
100 - export extern "jj bookmark create" [
101 - --revision(-r): string # The bookmark's target revision
102 - --to: string # The bookmark's target revision
103 - ...names: string # The bookmarks to create
104 - --repository(-R): path # Path to repository to operate on
105 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
106 - --ignore-immutable # Allow rewriting immutable commits
107 - --at-operation: string # Operation to load the repo at
108 - --at-op: string # Operation to load the repo at
109 - --debug # Enable debug logging
110 - --color: string # When to colorize output (always, never, debug, auto)
111 - --quiet # Silence non-primary command output
112 - --no-pager # Disable the pager
113 - --config: string # Additional configuration options (can be repeated)
114 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
115 - --config-file: path # Additional configuration files (can be repeated)
116 - --help(-h) # Print help (see more with '--help')
119 - # Delete an existing bookmark and propagate the deletion to remotes on the next push
120 - export extern "jj bookmark delete" [
121 - ...names: string # The bookmarks to delete
122 - --repository(-R): path # Path to repository to operate on
123 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
124 - --ignore-immutable # Allow rewriting immutable commits
125 - --at-operation: string # Operation to load the repo at
126 - --at-op: string # Operation to load the repo at
127 - --debug # Enable debug logging
128 - --color: string # When to colorize output (always, never, debug, auto)
129 - --quiet # Silence non-primary command output
130 - --no-pager # Disable the pager
131 - --config: string # Additional configuration options (can be repeated)
132 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
133 - --config-file: path # Additional configuration files (can be repeated)
134 - --help(-h) # Print help (see more with '--help')
137 - # Forget everything about a bookmark, including its local and remote targets
138 - export extern "jj bookmark forget" [
139 - ...names: string # The bookmarks to forget
140 - --repository(-R): path # Path to repository to operate on
141 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
142 - --ignore-immutable # Allow rewriting immutable commits
143 - --at-operation: string # Operation to load the repo at
144 - --at-op: string # Operation to load the repo at
145 - --debug # Enable debug logging
146 - --color: string # When to colorize output (always, never, debug, auto)
147 - --quiet # Silence non-primary command output
148 - --no-pager # Disable the pager
149 - --config: string # Additional configuration options (can be repeated)
150 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
151 - --config-file: path # Additional configuration files (can be repeated)
152 - --help(-h) # Print help (see more with '--help')
155 - # List bookmarks and their targets
156 - export extern "jj bookmark list" [
157 - --all-remotes(-a) # Show all tracking and non-tracking remote bookmarks including the ones whose targets are synchronized with the local bookmarks
158 - --remote: string # Show all tracking and non-tracking remote bookmarks belonging to this remote
159 - --tracked(-t) # Show remote tracked bookmarks only. Omits local Git-tracking bookmarks by default
160 - --conflicted(-c) # Show conflicted bookmarks only
161 - ...names: string # Show bookmarks whose local name matches
162 - --revisions(-r): string # Show bookmarks whose local targets are in the given revisions
163 - --template(-T): string # Render each bookmark using the given template
164 - --repository(-R): path # Path to repository to operate on
165 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
166 - --ignore-immutable # Allow rewriting immutable commits
167 - --at-operation: string # Operation to load the repo at
168 - --at-op: string # Operation to load the repo at
169 - --debug # Enable debug logging
170 - --color: string # When to colorize output (always, never, debug, auto)
171 - --quiet # Silence non-primary command output
172 - --no-pager # Disable the pager
173 - --config: string # Additional configuration options (can be repeated)
174 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
175 - --config-file: path # Additional configuration files (can be repeated)
176 - --help(-h) # Print help (see more with '--help')
179 - # Move existing bookmarks to target revision
180 - export extern "jj bookmark move" [
181 - --from: string # Move bookmarks from the given revisions
182 - --to: string # Move bookmarks to this revision
183 - --allow-backwards(-B) # Allow moving bookmarks backwards or sideways
184 - ...names: string # Move bookmarks matching the given name patterns
185 - --repository(-R): path # Path to repository to operate on
186 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
187 - --ignore-immutable # Allow rewriting immutable commits
188 - --at-operation: string # Operation to load the repo at
189 - --at-op: string # Operation to load the repo at
190 - --debug # Enable debug logging
191 - --color: string # When to colorize output (always, never, debug, auto)
192 - --quiet # Silence non-primary command output
193 - --no-pager # Disable the pager
194 - --config: string # Additional configuration options (can be repeated)
195 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
196 - --config-file: path # Additional configuration files (can be repeated)
197 - --help(-h) # Print help (see more with '--help')
200 - # Rename `old` bookmark name to `new` bookmark name
201 - export extern "jj bookmark rename" [
202 - old: string # The old name of the bookmark
203 - new: string # The new name of the bookmark
204 - --repository(-R): path # Path to repository to operate on
205 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
206 - --ignore-immutable # Allow rewriting immutable commits
207 - --at-operation: string # Operation to load the repo at
208 - --at-op: string # Operation to load the repo at
209 - --debug # Enable debug logging
210 - --color: string # When to colorize output (always, never, debug, auto)
211 - --quiet # Silence non-primary command output
212 - --no-pager # Disable the pager
213 - --config: string # Additional configuration options (can be repeated)
214 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
215 - --config-file: path # Additional configuration files (can be repeated)
216 - --help(-h) # Print help (see more with '--help')
219 - # Create or update a bookmark to point to a certain commit
220 - export extern "jj bookmark set" [
221 - --revision(-r): string # The bookmark's target revision
222 - --to: string # The bookmark's target revision
223 - --allow-backwards(-B) # Allow moving the bookmark backwards or sideways
224 - ...names: string # The bookmarks to update
225 - --repository(-R): path # Path to repository to operate on
226 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
227 - --ignore-immutable # Allow rewriting immutable commits
228 - --at-operation: string # Operation to load the repo at
229 - --at-op: string # Operation to load the repo at
230 - --debug # Enable debug logging
231 - --color: string # When to colorize output (always, never, debug, auto)
232 - --quiet # Silence non-primary command output
233 - --no-pager # Disable the pager
234 - --config: string # Additional configuration options (can be repeated)
235 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
236 - --config-file: path # Additional configuration files (can be repeated)
237 - --help(-h) # Print help (see more with '--help')
240 - # Start tracking given remote bookmarks
241 - export extern "jj bookmark track" [
242 - ...names: string # Remote bookmarks to track
243 - --repository(-R): path # Path to repository to operate on
244 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
245 - --ignore-immutable # Allow rewriting immutable commits
246 - --at-operation: string # Operation to load the repo at
247 - --at-op: string # Operation to load the repo at
248 - --debug # Enable debug logging
249 - --color: string # When to colorize output (always, never, debug, auto)
250 - --quiet # Silence non-primary command output
251 - --no-pager # Disable the pager
252 - --config: string # Additional configuration options (can be repeated)
253 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
254 - --config-file: path # Additional configuration files (can be repeated)
255 - --help(-h) # Print help (see more with '--help')
258 - # Stop tracking given remote bookmarks
259 - export extern "jj bookmark untrack" [
260 - ...names: string # Remote bookmarks to untrack
261 - --repository(-R): path # Path to repository to operate on
262 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
263 - --ignore-immutable # Allow rewriting immutable commits
264 - --at-operation: string # Operation to load the repo at
265 - --at-op: string # Operation to load the repo at
266 - --debug # Enable debug logging
267 - --color: string # When to colorize output (always, never, debug, auto)
268 - --quiet # Silence non-primary command output
269 - --no-pager # Disable the pager
270 - --config: string # Additional configuration options (can be repeated)
271 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
272 - --config-file: path # Additional configuration files (can be repeated)
273 - --help(-h) # Print help (see more with '--help')
276 - # Manage bookmarks [default alias: b]
277 - export extern "jj branch" [
278 - --repository(-R): path # Path to repository to operate on
279 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
280 - --ignore-immutable # Allow rewriting immutable commits
281 - --at-operation: string # Operation to load the repo at
282 - --at-op: string # Operation to load the repo at
283 - --debug # Enable debug logging
284 - --color: string # When to colorize output (always, never, debug, auto)
285 - --quiet # Silence non-primary command output
286 - --no-pager # Disable the pager
287 - --config: string # Additional configuration options (can be repeated)
288 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
289 - --config-file: path # Additional configuration files (can be repeated)
290 - --help(-h) # Print help (see more with '--help')
293 - # Create a new bookmark
294 - export extern "jj branch create" [
295 - --revision(-r): string # The bookmark's target revision
296 - --to: string # The bookmark's target revision
297 - ...names: string # The bookmarks to create
298 - --repository(-R): path # Path to repository to operate on
299 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
300 - --ignore-immutable # Allow rewriting immutable commits
301 - --at-operation: string # Operation to load the repo at
302 - --at-op: string # Operation to load the repo at
303 - --debug # Enable debug logging
304 - --color: string # When to colorize output (always, never, debug, auto)
305 - --quiet # Silence non-primary command output
306 - --no-pager # Disable the pager
307 - --config: string # Additional configuration options (can be repeated)
308 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
309 - --config-file: path # Additional configuration files (can be repeated)
310 - --help(-h) # Print help (see more with '--help')
313 - # Delete an existing bookmark and propagate the deletion to remotes on the next push
314 - export extern "jj branch delete" [
315 - ...names: string # The bookmarks to delete
316 - --repository(-R): path # Path to repository to operate on
317 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
318 - --ignore-immutable # Allow rewriting immutable commits
319 - --at-operation: string # Operation to load the repo at
320 - --at-op: string # Operation to load the repo at
321 - --debug # Enable debug logging
322 - --color: string # When to colorize output (always, never, debug, auto)
323 - --quiet # Silence non-primary command output
324 - --no-pager # Disable the pager
325 - --config: string # Additional configuration options (can be repeated)
326 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
327 - --config-file: path # Additional configuration files (can be repeated)
328 - --help(-h) # Print help (see more with '--help')
331 - # Forget everything about a bookmark, including its local and remote targets
332 - export extern "jj branch forget" [
333 - ...names: string # The bookmarks to forget
334 - --repository(-R): path # Path to repository to operate on
335 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
336 - --ignore-immutable # Allow rewriting immutable commits
337 - --at-operation: string # Operation to load the repo at
338 - --at-op: string # Operation to load the repo at
339 - --debug # Enable debug logging
340 - --color: string # When to colorize output (always, never, debug, auto)
341 - --quiet # Silence non-primary command output
342 - --no-pager # Disable the pager
343 - --config: string # Additional configuration options (can be repeated)
344 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
345 - --config-file: path # Additional configuration files (can be repeated)
346 - --help(-h) # Print help (see more with '--help')
349 - # List bookmarks and their targets
350 - export extern "jj branch list" [
351 - --all-remotes(-a) # Show all tracking and non-tracking remote bookmarks including the ones whose targets are synchronized with the local bookmarks
352 - --remote: string # Show all tracking and non-tracking remote bookmarks belonging to this remote
353 - --tracked(-t) # Show remote tracked bookmarks only. Omits local Git-tracking bookmarks by default
354 - --conflicted(-c) # Show conflicted bookmarks only
355 - ...names: string # Show bookmarks whose local name matches
356 - --revisions(-r): string # Show bookmarks whose local targets are in the given revisions
357 - --template(-T): string # Render each bookmark using the given template
358 - --repository(-R): path # Path to repository to operate on
359 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
360 - --ignore-immutable # Allow rewriting immutable commits
361 - --at-operation: string # Operation to load the repo at
362 - --at-op: string # Operation to load the repo at
363 - --debug # Enable debug logging
364 - --color: string # When to colorize output (always, never, debug, auto)
365 - --quiet # Silence non-primary command output
366 - --no-pager # Disable the pager
367 - --config: string # Additional configuration options (can be repeated)
368 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
369 - --config-file: path # Additional configuration files (can be repeated)
370 - --help(-h) # Print help (see more with '--help')
373 - # Move existing bookmarks to target revision
374 - export extern "jj branch move" [
375 - --from: string # Move bookmarks from the given revisions
376 - --to: string # Move bookmarks to this revision
377 - --allow-backwards(-B) # Allow moving bookmarks backwards or sideways
378 - ...names: string # Move bookmarks matching the given name patterns
379 - --repository(-R): path # Path to repository to operate on
380 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
381 - --ignore-immutable # Allow rewriting immutable commits
382 - --at-operation: string # Operation to load the repo at
383 - --at-op: string # Operation to load the repo at
384 - --debug # Enable debug logging
385 - --color: string # When to colorize output (always, never, debug, auto)
386 - --quiet # Silence non-primary command output
387 - --no-pager # Disable the pager
388 - --config: string # Additional configuration options (can be repeated)
389 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
390 - --config-file: path # Additional configuration files (can be repeated)
391 - --help(-h) # Print help (see more with '--help')
394 - # Rename `old` bookmark name to `new` bookmark name
395 - export extern "jj branch rename" [
396 - old: string # The old name of the bookmark
397 - new: string # The new name of the bookmark
398 - --repository(-R): path # Path to repository to operate on
399 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
400 - --ignore-immutable # Allow rewriting immutable commits
401 - --at-operation: string # Operation to load the repo at
402 - --at-op: string # Operation to load the repo at
403 - --debug # Enable debug logging
404 - --color: string # When to colorize output (always, never, debug, auto)
405 - --quiet # Silence non-primary command output
406 - --no-pager # Disable the pager
407 - --config: string # Additional configuration options (can be repeated)
408 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
409 - --config-file: path # Additional configuration files (can be repeated)
410 - --help(-h) # Print help (see more with '--help')
413 - # Create or update a bookmark to point to a certain commit
414 - export extern "jj branch set" [
415 - --revision(-r): string # The bookmark's target revision
416 - --to: string # The bookmark's target revision
417 - --allow-backwards(-B) # Allow moving the bookmark backwards or sideways
418 - ...names: string # The bookmarks to update
419 - --repository(-R): path # Path to repository to operate on
420 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
421 - --ignore-immutable # Allow rewriting immutable commits
422 - --at-operation: string # Operation to load the repo at
423 - --at-op: string # Operation to load the repo at
424 - --debug # Enable debug logging
425 - --color: string # When to colorize output (always, never, debug, auto)
426 - --quiet # Silence non-primary command output
427 - --no-pager # Disable the pager
428 - --config: string # Additional configuration options (can be repeated)
429 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
430 - --config-file: path # Additional configuration files (can be repeated)
431 - --help(-h) # Print help (see more with '--help')
434 - # Start tracking given remote bookmarks
435 - export extern "jj branch track" [
436 - ...names: string # Remote bookmarks to track
437 - --repository(-R): path # Path to repository to operate on
438 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
439 - --ignore-immutable # Allow rewriting immutable commits
440 - --at-operation: string # Operation to load the repo at
441 - --at-op: string # Operation to load the repo at
442 - --debug # Enable debug logging
443 - --color: string # When to colorize output (always, never, debug, auto)
444 - --quiet # Silence non-primary command output
445 - --no-pager # Disable the pager
446 - --config: string # Additional configuration options (can be repeated)
447 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
448 - --config-file: path # Additional configuration files (can be repeated)
449 - --help(-h) # Print help (see more with '--help')
452 - # Stop tracking given remote bookmarks
453 - export extern "jj branch untrack" [
454 - ...names: string # Remote bookmarks to untrack
455 - --repository(-R): path # Path to repository to operate on
456 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
457 - --ignore-immutable # Allow rewriting immutable commits
458 - --at-operation: string # Operation to load the repo at
459 - --at-op: string # Operation to load the repo at
460 - --debug # Enable debug logging
461 - --color: string # When to colorize output (always, never, debug, auto)
462 - --quiet # Silence non-primary command output
463 - --no-pager # Disable the pager
464 - --config: string # Additional configuration options (can be repeated)
465 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
466 - --config-file: path # Additional configuration files (can be repeated)
467 - --help(-h) # Print help (see more with '--help')
470 - # Print contents of files in a revision
471 - export extern "jj cat" [
472 - --revision(-r): string # The revision to get the file contents from
473 - ...paths: path # Paths to print
474 - --repository(-R): path # Path to repository to operate on
475 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
476 - --ignore-immutable # Allow rewriting immutable commits
477 - --at-operation: string # Operation to load the repo at
478 - --at-op: string # Operation to load the repo at
479 - --debug # Enable debug logging
480 - --color: string # When to colorize output (always, never, debug, auto)
481 - --quiet # Silence non-primary command output
482 - --no-pager # Disable the pager
483 - --config: string # Additional configuration options (can be repeated)
484 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
485 - --config-file: path # Additional configuration files (can be repeated)
486 - --help(-h) # Print help (see more with '--help')
489 - def "nu-complete jj chmod mode" [] {
490 - [ "n" "x" ]
493 - # Sets or removes the executable bit for paths in the repo
494 - export extern "jj chmod" [
495 - mode: string@"nu-complete jj chmod mode"
496 - --revision(-r): string # The revision to update
497 - ...paths: path # Paths to change the executable bit for
498 - --repository(-R): path # Path to repository to operate on
499 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
500 - --ignore-immutable # Allow rewriting immutable commits
501 - --at-operation: string # Operation to load the repo at
502 - --at-op: string # Operation to load the repo at
503 - --debug # Enable debug logging
504 - --color: string # When to colorize output (always, never, debug, auto)
505 - --quiet # Silence non-primary command output
506 - --no-pager # Disable the pager
507 - --config: string # Additional configuration options (can be repeated)
508 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
509 - --config-file: path # Additional configuration files (can be repeated)
510 - --help(-h) # Print help (see more with '--help')
513 - # Update the description and create a new change on top
514 - export extern "jj commit" [
515 - --interactive(-i) # Interactively choose which changes to include in the first commit
516 - --tool: string # Specify diff editor to be used (implies --interactive)
517 - --message(-m): string # The change description to use (don't open editor)
518 - ...paths: path # Put these paths in the first commit
519 - --reset-author # Reset the author to the configured user
520 - --author: string # Set author to the provided string
521 - --repository(-R): path # Path to repository to operate on
522 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
523 - --ignore-immutable # Allow rewriting immutable commits
524 - --at-operation: string # Operation to load the repo at
525 - --at-op: string # Operation to load the repo at
526 - --debug # Enable debug logging
527 - --color: string # When to colorize output (always, never, debug, auto)
528 - --quiet # Silence non-primary command output
529 - --no-pager # Disable the pager
530 - --config: string # Additional configuration options (can be repeated)
531 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
532 - --config-file: path # Additional configuration files (can be repeated)
533 - --help(-h) # Print help (see more with '--help')
536 - # Manage config options
537 - export extern "jj config" [
538 - --repository(-R): path # Path to repository to operate on
539 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
540 - --ignore-immutable # Allow rewriting immutable commits
541 - --at-operation: string # Operation to load the repo at
542 - --at-op: string # Operation to load the repo at
543 - --debug # Enable debug logging
544 - --color: string # When to colorize output (always, never, debug, auto)
545 - --quiet # Silence non-primary command output
546 - --no-pager # Disable the pager
547 - --config: string # Additional configuration options (can be repeated)
548 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
549 - --config-file: path # Additional configuration files (can be repeated)
550 - --help(-h) # Print help (see more with '--help')
553 - # Start an editor on a jj config file
554 - export extern "jj config edit" [
555 - --user # Target the user-level config
556 - --repo # Target the repo-level config
557 - --repository(-R): path # Path to repository to operate on
558 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
559 - --ignore-immutable # Allow rewriting immutable commits
560 - --at-operation: string # Operation to load the repo at
561 - --at-op: string # Operation to load the repo at
562 - --debug # Enable debug logging
563 - --color: string # When to colorize output (always, never, debug, auto)
564 - --quiet # Silence non-primary command output
565 - --no-pager # Disable the pager
566 - --config: string # Additional configuration options (can be repeated)
567 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
568 - --config-file: path # Additional configuration files (can be repeated)
569 - --help(-h) # Print help (see more with '--help')
572 - # Get the value of a given config option.
573 - export extern "jj config get" [
574 - name: string
575 - --repository(-R): path # Path to repository to operate on
576 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
577 - --ignore-immutable # Allow rewriting immutable commits
578 - --at-operation: string # Operation to load the repo at
579 - --at-op: string # Operation to load the repo at
580 - --debug # Enable debug logging
581 - --color: string # When to colorize output (always, never, debug, auto)
582 - --quiet # Silence non-primary command output
583 - --no-pager # Disable the pager
584 - --config: string # Additional configuration options (can be repeated)
585 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
586 - --config-file: path # Additional configuration files (can be repeated)
587 - --help(-h) # Print help (see more with '--help')
590 - # List variables set in config file, along with their values
591 - export extern "jj config list" [
592 - name?: string # An optional name of a specific config option to look up
593 - --include-defaults # Whether to explicitly include built-in default values in the list
594 - --include-overridden # Allow printing overridden values
595 - --user # Target the user-level config
596 - --repo # Target the repo-level config
597 - --template(-T): string # Render each variable using the given template
598 - --repository(-R): path # Path to repository to operate on
599 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
600 - --ignore-immutable # Allow rewriting immutable commits
601 - --at-operation: string # Operation to load the repo at
602 - --at-op: string # Operation to load the repo at
603 - --debug # Enable debug logging
604 - --color: string # When to colorize output (always, never, debug, auto)
605 - --quiet # Silence non-primary command output
606 - --no-pager # Disable the pager
607 - --config: string # Additional configuration options (can be repeated)
608 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
609 - --config-file: path # Additional configuration files (can be repeated)
610 - --help(-h) # Print help (see more with '--help')
613 - # Print the path to the config file
614 - export extern "jj config path" [
615 - --user # Target the user-level config
616 - --repo # Target the repo-level config
617 - --repository(-R): path # Path to repository to operate on
618 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
619 - --ignore-immutable # Allow rewriting immutable commits
620 - --at-operation: string # Operation to load the repo at
621 - --at-op: string # Operation to load the repo at
622 - --debug # Enable debug logging
623 - --color: string # When to colorize output (always, never, debug, auto)
624 - --quiet # Silence non-primary command output
625 - --no-pager # Disable the pager
626 - --config: string # Additional configuration options (can be repeated)
627 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
628 - --config-file: path # Additional configuration files (can be repeated)
629 - --help(-h) # Print help (see more with '--help')
632 - # Update config file to set the given option to a given value
633 - export extern "jj config set" [
634 - name: string
635 - value: string # New value to set
636 - --user # Target the user-level config
637 - --repo # Target the repo-level config
638 - --repository(-R): path # Path to repository to operate on
639 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
640 - --ignore-immutable # Allow rewriting immutable commits
641 - --at-operation: string # Operation to load the repo at
642 - --at-op: string # Operation to load the repo at
643 - --debug # Enable debug logging
644 - --color: string # When to colorize output (always, never, debug, auto)
645 - --quiet # Silence non-primary command output
646 - --no-pager # Disable the pager
647 - --config: string # Additional configuration options (can be repeated)
648 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
649 - --config-file: path # Additional configuration files (can be repeated)
650 - --help(-h) # Print help (see more with '--help')
653 - # Update config file to unset the given option
654 - export extern "jj config unset" [
655 - name: string
656 - --user # Target the user-level config
657 - --repo # Target the repo-level config
658 - --repository(-R): path # Path to repository to operate on
659 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
660 - --ignore-immutable # Allow rewriting immutable commits
661 - --at-operation: string # Operation to load the repo at
662 - --at-op: string # Operation to load the repo at
663 - --debug # Enable debug logging
664 - --color: string # When to colorize output (always, never, debug, auto)
665 - --quiet # Silence non-primary command output
666 - --no-pager # Disable the pager
667 - --config: string # Additional configuration options (can be repeated)
668 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
669 - --config-file: path # Additional configuration files (can be repeated)
670 - --help(-h) # Print help (see more with '--help')
673 - # Low-level commands not intended for users
674 - export extern "jj debug" [
675 - --repository(-R): path # Path to repository to operate on
676 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
677 - --ignore-immutable # Allow rewriting immutable commits
678 - --at-operation: string # Operation to load the repo at
679 - --at-op: string # Operation to load the repo at
680 - --debug # Enable debug logging
681 - --color: string # When to colorize output (always, never, debug, auto)
682 - --quiet # Silence non-primary command output
683 - --no-pager # Disable the pager
684 - --config: string # Additional configuration options (can be repeated)
685 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
686 - --config-file: path # Additional configuration files (can be repeated)
687 - --help(-h) # Print help (see more with '--help')
690 - # Rebuild commit index
691 - export extern "jj debug copy-detection" [
692 - revision?: string # Show changes in this revision, compared to its parent(s)
693 - --repository(-R): path # Path to repository to operate on
694 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
695 - --ignore-immutable # Allow rewriting immutable commits
696 - --at-operation: string # Operation to load the repo at
697 - --at-op: string # Operation to load the repo at
698 - --debug # Enable debug logging
699 - --color: string # When to colorize output (always, never, debug, auto)
700 - --quiet # Silence non-primary command output
701 - --no-pager # Disable the pager
702 - --config: string # Additional configuration options (can be repeated)
703 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
704 - --config-file: path # Additional configuration files (can be repeated)
705 - --help(-h) # Print help (see more with '--help')
708 - # Parse fileset expression
709 - export extern "jj debug fileset" [
710 - path: path
711 - --repository(-R): path # Path to repository to operate on
712 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
713 - --ignore-immutable # Allow rewriting immutable commits
714 - --at-operation: string # Operation to load the repo at
715 - --at-op: string # Operation to load the repo at
716 - --debug # Enable debug logging
717 - --color: string # When to colorize output (always, never, debug, auto)
718 - --quiet # Silence non-primary command output
719 - --no-pager # Disable the pager
720 - --config: string # Additional configuration options (can be repeated)
721 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
722 - --config-file: path # Additional configuration files (can be repeated)
723 - --help(-h) # Print help (see more with '--help')
726 - # Show commit index stats
727 - export extern "jj debug index" [
728 - --repository(-R): path # Path to repository to operate on
729 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
730 - --ignore-immutable # Allow rewriting immutable commits
731 - --at-operation: string # Operation to load the repo at
732 - --at-op: string # Operation to load the repo at
733 - --debug # Enable debug logging
734 - --color: string # When to colorize output (always, never, debug, auto)
735 - --quiet # Silence non-primary command output
736 - --no-pager # Disable the pager
737 - --config: string # Additional configuration options (can be repeated)
738 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
739 - --config-file: path # Additional configuration files (can be repeated)
740 - --help(-h) # Print help (see more with '--help')
743 - # Show information about the local working copy state
744 - export extern "jj debug local-working-copy" [
745 - --repository(-R): path # Path to repository to operate on
746 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
747 - --ignore-immutable # Allow rewriting immutable commits
748 - --at-operation: string # Operation to load the repo at
749 - --at-op: string # Operation to load the repo at
750 - --debug # Enable debug logging
751 - --color: string # When to colorize output (always, never, debug, auto)
752 - --quiet # Silence non-primary command output
753 - --no-pager # Disable the pager
754 - --config: string # Additional configuration options (can be repeated)
755 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
756 - --config-file: path # Additional configuration files (can be repeated)
757 - --help(-h) # Print help (see more with '--help')
760 - def "nu-complete jj debug operation display" [] {
761 - [ "operation" "id" "view" "all" ]
764 - # Show information about an operation and its view
765 - export extern "jj debug operation" [
766 - operation?: string
767 - --display: string@"nu-complete jj debug operation display"
768 - --repository(-R): path # Path to repository to operate on
769 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
770 - --ignore-immutable # Allow rewriting immutable commits
771 - --at-operation: string # Operation to load the repo at
772 - --at-op: string # Operation to load the repo at
773 - --debug # Enable debug logging
774 - --color: string # When to colorize output (always, never, debug, auto)
775 - --quiet # Silence non-primary command output
776 - --no-pager # Disable the pager
777 - --config: string # Additional configuration options (can be repeated)
778 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
779 - --config-file: path # Additional configuration files (can be repeated)
780 - --help(-h) # Print help (see more with '--help')
783 - # Rebuild commit index
784 - export extern "jj debug reindex" [
785 - --repository(-R): path # Path to repository to operate on
786 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
787 - --ignore-immutable # Allow rewriting immutable commits
788 - --at-operation: string # Operation to load the repo at
789 - --at-op: string # Operation to load the repo at
790 - --debug # Enable debug logging
791 - --color: string # When to colorize output (always, never, debug, auto)
792 - --quiet # Silence non-primary command output
793 - --no-pager # Disable the pager
794 - --config: string # Additional configuration options (can be repeated)
795 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
796 - --config-file: path # Additional configuration files (can be repeated)
797 - --help(-h) # Print help (see more with '--help')
800 - # Evaluate revset to full commit IDs
801 - export extern "jj debug revset" [
802 - revision: string
803 - --repository(-R): path # Path to repository to operate on
804 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
805 - --ignore-immutable # Allow rewriting immutable commits
806 - --at-operation: string # Operation to load the repo at
807 - --at-op: string # Operation to load the repo at
808 - --debug # Enable debug logging
809 - --color: string # When to colorize output (always, never, debug, auto)
810 - --quiet # Silence non-primary command output
811 - --no-pager # Disable the pager
812 - --config: string # Additional configuration options (can be repeated)
813 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
814 - --config-file: path # Additional configuration files (can be repeated)
815 - --help(-h) # Print help (see more with '--help')
818 - # Trigger a snapshot in the op log
819 - export extern "jj debug snapshot" [
820 - --repository(-R): path # Path to repository to operate on
821 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
822 - --ignore-immutable # Allow rewriting immutable commits
823 - --at-operation: string # Operation to load the repo at
824 - --at-op: string # Operation to load the repo at
825 - --debug # Enable debug logging
826 - --color: string # When to colorize output (always, never, debug, auto)
827 - --quiet # Silence non-primary command output
828 - --no-pager # Disable the pager
829 - --config: string # Additional configuration options (can be repeated)
830 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
831 - --config-file: path # Additional configuration files (can be repeated)
832 - --help(-h) # Print help (see more with '--help')
835 - # Parse a template
836 - export extern "jj debug template" [
837 - template: string
838 - --repository(-R): path # Path to repository to operate on
839 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
840 - --ignore-immutable # Allow rewriting immutable commits
841 - --at-operation: string # Operation to load the repo at
842 - --at-op: string # Operation to load the repo at
843 - --debug # Enable debug logging
844 - --color: string # When to colorize output (always, never, debug, auto)
845 - --quiet # Silence non-primary command output
846 - --no-pager # Disable the pager
847 - --config: string # Additional configuration options (can be repeated)
848 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
849 - --config-file: path # Additional configuration files (can be repeated)
850 - --help(-h) # Print help (see more with '--help')
853 - # List the recursive entries of a tree
854 - export extern "jj debug tree" [
855 - --revision(-r): string
856 - --id: string
857 - --dir: string
858 - ...paths: string
859 - --repository(-R): path # Path to repository to operate on
860 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
861 - --ignore-immutable # Allow rewriting immutable commits
862 - --at-operation: string # Operation to load the repo at
863 - --at-op: string # Operation to load the repo at
864 - --debug # Enable debug logging
865 - --color: string # When to colorize output (always, never, debug, auto)
866 - --quiet # Silence non-primary command output
867 - --no-pager # Disable the pager
868 - --config: string # Additional configuration options (can be repeated)
869 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
870 - --config-file: path # Additional configuration files (can be repeated)
871 - --help(-h) # Print help (see more with '--help')
874 - export extern "jj debug watchman" [
875 - --repository(-R): path # Path to repository to operate on
876 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
877 - --ignore-immutable # Allow rewriting immutable commits
878 - --at-operation: string # Operation to load the repo at
879 - --at-op: string # Operation to load the repo at
880 - --debug # Enable debug logging
881 - --color: string # When to colorize output (always, never, debug, auto)
882 - --quiet # Silence non-primary command output
883 - --no-pager # Disable the pager
884 - --config: string # Additional configuration options (can be repeated)
885 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
886 - --config-file: path # Additional configuration files (can be repeated)
887 - --help(-h) # Print help (see more with '--help')
890 - # Check whether `watchman` is enabled and whether it's correctly installed
891 - export extern "jj debug watchman status" [
892 - --repository(-R): path # Path to repository to operate on
893 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
894 - --ignore-immutable # Allow rewriting immutable commits
895 - --at-operation: string # Operation to load the repo at
896 - --at-op: string # Operation to load the repo at
897 - --debug # Enable debug logging
898 - --color: string # When to colorize output (always, never, debug, auto)
899 - --quiet # Silence non-primary command output
900 - --no-pager # Disable the pager
901 - --config: string # Additional configuration options (can be repeated)
902 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
903 - --config-file: path # Additional configuration files (can be repeated)
904 - --help(-h) # Print help (see more with '--help')
907 - export extern "jj debug watchman query-clock" [
908 - --repository(-R): path # Path to repository to operate on
909 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
910 - --ignore-immutable # Allow rewriting immutable commits
911 - --at-operation: string # Operation to load the repo at
912 - --at-op: string # Operation to load the repo at
913 - --debug # Enable debug logging
914 - --color: string # When to colorize output (always, never, debug, auto)
915 - --quiet # Silence non-primary command output
916 - --no-pager # Disable the pager
917 - --config: string # Additional configuration options (can be repeated)
918 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
919 - --config-file: path # Additional configuration files (can be repeated)
920 - --help(-h) # Print help (see more with '--help')
923 - export extern "jj debug watchman query-changed-files" [
924 - --repository(-R): path # Path to repository to operate on
925 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
926 - --ignore-immutable # Allow rewriting immutable commits
927 - --at-operation: string # Operation to load the repo at
928 - --at-op: string # Operation to load the repo at
929 - --debug # Enable debug logging
930 - --color: string # When to colorize output (always, never, debug, auto)
931 - --quiet # Silence non-primary command output
932 - --no-pager # Disable the pager
933 - --config: string # Additional configuration options (can be repeated)
934 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
935 - --config-file: path # Additional configuration files (can be repeated)
936 - --help(-h) # Print help (see more with '--help')
939 - export extern "jj debug watchman reset-clock" [
940 - --repository(-R): path # Path to repository to operate on
941 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
942 - --ignore-immutable # Allow rewriting immutable commits
943 - --at-operation: string # Operation to load the repo at
944 - --at-op: string # Operation to load the repo at
945 - --debug # Enable debug logging
946 - --color: string # When to colorize output (always, never, debug, auto)
947 - --quiet # Silence non-primary command output
948 - --no-pager # Disable the pager
949 - --config: string # Additional configuration options (can be repeated)
950 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
951 - --config-file: path # Additional configuration files (can be repeated)
952 - --help(-h) # Print help (see more with '--help')
955 - # Show information about the working copy state
956 - export extern "jj debug working-copy" [
957 - --repository(-R): path # Path to repository to operate on
958 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
959 - --ignore-immutable # Allow rewriting immutable commits
960 - --at-operation: string # Operation to load the repo at
961 - --at-op: string # Operation to load the repo at
962 - --debug # Enable debug logging
963 - --color: string # When to colorize output (always, never, debug, auto)
964 - --quiet # Silence non-primary command output
965 - --no-pager # Disable the pager
966 - --config: string # Additional configuration options (can be repeated)
967 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
968 - --config-file: path # Additional configuration files (can be repeated)
969 - --help(-h) # Print help (see more with '--help')
972 - # Update the change description or other metadata
973 - export extern "jj describe" [
974 - ...revisions_pos: string # The revision(s) whose description to edit (default: @)
975 - -r: string
976 - --message(-m): string # The change description to use (don't open editor)
977 - --stdin # Read the change description from stdin
978 - --no-edit # Don't open an editor
979 - --reset-author # Reset the author to the configured user
980 - --author: string # Set author to the provided string
981 - --repository(-R): path # Path to repository to operate on
982 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
983 - --ignore-immutable # Allow rewriting immutable commits
984 - --at-operation: string # Operation to load the repo at
985 - --at-op: string # Operation to load the repo at
986 - --debug # Enable debug logging
987 - --color: string # When to colorize output (always, never, debug, auto)
988 - --quiet # Silence non-primary command output
989 - --no-pager # Disable the pager
990 - --config: string # Additional configuration options (can be repeated)
991 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
992 - --config-file: path # Additional configuration files (can be repeated)
993 - --help(-h) # Print help (see more with '--help')
996 - # Compare file contents between two revisions
997 - export extern "jj diff" [
998 - --revision(-r): string # Show changes in this revision, compared to its parent(s)
999 - --from(-f): string # Show changes from this revision
1000 - --to(-t): string # Show changes to this revision
1001 - ...paths: path # Restrict the diff to these paths
1002 - --summary(-s) # For each path, show only whether it was modified, added, or deleted
1003 - --stat # Show a histogram of the changes
1004 - --types # For each path, show only its type before and after
1005 - --name-only # For each path, show only its path
1006 - --git # Show a Git-format diff
1007 - --color-words # Show a word-level diff with changes indicated only by color
1008 - --tool: string # Generate diff by external command
1009 - --context: string # Number of lines of context to show
1010 - --ignore-all-space(-w) # Ignore whitespace when comparing lines
1011 - --ignore-space-change(-b) # Ignore changes in amount of whitespace when comparing lines
1012 - --repository(-R): path # Path to repository to operate on
1013 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1014 - --ignore-immutable # Allow rewriting immutable commits
1015 - --at-operation: string # Operation to load the repo at
1016 - --at-op: string # Operation to load the repo at
1017 - --debug # Enable debug logging
1018 - --color: string # When to colorize output (always, never, debug, auto)
1019 - --quiet # Silence non-primary command output
1020 - --no-pager # Disable the pager
1021 - --config: string # Additional configuration options (can be repeated)
1022 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1023 - --config-file: path # Additional configuration files (can be repeated)
1024 - --help(-h) # Print help (see more with '--help')
1027 - # Touch up the content changes in a revision with a diff editor
1028 - export extern "jj diffedit" [
1029 - --revision(-r): string # The revision to touch up
1030 - --from(-f): string # Show changes from this revision
1031 - --to(-t): string # Edit changes in this revision
1032 - --tool: string # Specify diff editor to be used
1033 - --restore-descendants # Preserve the content (not the diff) when rebasing descendants
1034 - --repository(-R): path # Path to repository to operate on
1035 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1036 - --ignore-immutable # Allow rewriting immutable commits
1037 - --at-operation: string # Operation to load the repo at
1038 - --at-op: string # Operation to load the repo at
1039 - --debug # Enable debug logging
1040 - --color: string # When to colorize output (always, never, debug, auto)
1041 - --quiet # Silence non-primary command output
1042 - --no-pager # Disable the pager
1043 - --config: string # Additional configuration options (can be repeated)
1044 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1045 - --config-file: path # Additional configuration files (can be repeated)
1046 - --help(-h) # Print help (see more with '--help')
1049 - # Create new changes with the same content as existing ones
1050 - export extern "jj duplicate" [
1051 - ...revisions_pos: string # The revision(s) to duplicate (default: @)
1052 - -r: string
1053 - --destination(-d): string # The revision(s) to duplicate onto (can be repeated to create a merge commit)
1054 - --insert-after(-A): string # The revision(s) to insert after (can be repeated to create a merge commit)
1055 - --after: string # The revision(s) to insert after (can be repeated to create a merge commit)
1056 - --insert-before(-B): string # The revision(s) to insert before (can be repeated to create a merge commit)
1057 - --before: string # The revision(s) to insert before (can be repeated to create a merge commit)
1058 - --repository(-R): path # Path to repository to operate on
1059 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1060 - --ignore-immutable # Allow rewriting immutable commits
1061 - --at-operation: string # Operation to load the repo at
1062 - --at-op: string # Operation to load the repo at
1063 - --debug # Enable debug logging
1064 - --color: string # When to colorize output (always, never, debug, auto)
1065 - --quiet # Silence non-primary command output
1066 - --no-pager # Disable the pager
1067 - --config: string # Additional configuration options (can be repeated)
1068 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1069 - --config-file: path # Additional configuration files (can be repeated)
1070 - --help(-h) # Print help (see more with '--help')
1073 - # Sets the specified revision as the working-copy revision
1074 - export extern "jj edit" [
1075 - revision: string # The commit to edit
1076 - -r # Ignored (but lets you pass `-r` for consistency with other commands)
1077 - --repository(-R): path # Path to repository to operate on
1078 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1079 - --ignore-immutable # Allow rewriting immutable commits
1080 - --at-operation: string # Operation to load the repo at
1081 - --at-op: string # Operation to load the repo at
1082 - --debug # Enable debug logging
1083 - --color: string # When to colorize output (always, never, debug, auto)
1084 - --quiet # Silence non-primary command output
1085 - --no-pager # Disable the pager
1086 - --config: string # Additional configuration options (can be repeated)
1087 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1088 - --config-file: path # Additional configuration files (can be repeated)
1089 - --help(-h) # Print help (see more with '--help')
1092 - # Show how a change has evolved over time
1093 - export extern "jj evolog" [
1094 - --revision(-r): string
1095 - --limit(-n): string # Limit number of revisions to show
1096 - -l: string
1097 - --no-graph # Don't show the graph, show a flat list of revisions
1098 - --template(-T): string # Render each revision using the given template
1099 - --patch(-p) # Show patch compared to the previous version of this change
1100 - --summary(-s) # For each path, show only whether it was modified, added, or deleted
1101 - --stat # Show a histogram of the changes
1102 - --types # For each path, show only its type before and after
1103 - --name-only # For each path, show only its path
1104 - --git # Show a Git-format diff
1105 - --color-words # Show a word-level diff with changes indicated only by color
1106 - --tool: string # Generate diff by external command
1107 - --context: string # Number of lines of context to show
1108 - --ignore-all-space # Ignore whitespace when comparing lines
1109 - --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1110 - --repository(-R): path # Path to repository to operate on
1111 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1112 - --ignore-immutable # Allow rewriting immutable commits
1113 - --at-operation: string # Operation to load the repo at
1114 - --at-op: string # Operation to load the repo at
1115 - --debug # Enable debug logging
1116 - --color: string # When to colorize output (always, never, debug, auto)
1117 - --quiet # Silence non-primary command output
1118 - --no-pager # Disable the pager
1119 - --config: string # Additional configuration options (can be repeated)
1120 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1121 - --config-file: path # Additional configuration files (can be repeated)
1122 - --help(-h) # Print help (see more with '--help')
1125 - # File operations
1126 - export extern "jj file" [
1127 - --repository(-R): path # Path to repository to operate on
1128 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1129 - --ignore-immutable # Allow rewriting immutable commits
1130 - --at-operation: string # Operation to load the repo at
1131 - --at-op: string # Operation to load the repo at
1132 - --debug # Enable debug logging
1133 - --color: string # When to colorize output (always, never, debug, auto)
1134 - --quiet # Silence non-primary command output
1135 - --no-pager # Disable the pager
1136 - --config: string # Additional configuration options (can be repeated)
1137 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1138 - --config-file: path # Additional configuration files (can be repeated)
1139 - --help(-h) # Print help (see more with '--help')
1142 - # Show the source change for each line of the target file
1143 - export extern "jj file annotate" [
1144 - path: path # the file to annotate
1145 - --revision(-r): string # an optional revision to start at
1146 - --repository(-R): path # Path to repository to operate on
1147 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1148 - --ignore-immutable # Allow rewriting immutable commits
1149 - --at-operation: string # Operation to load the repo at
1150 - --at-op: string # Operation to load the repo at
1151 - --debug # Enable debug logging
1152 - --color: string # When to colorize output (always, never, debug, auto)
1153 - --quiet # Silence non-primary command output
1154 - --no-pager # Disable the pager
1155 - --config: string # Additional configuration options (can be repeated)
1156 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1157 - --config-file: path # Additional configuration files (can be repeated)
1158 - --help(-h) # Print help (see more with '--help')
1161 - def "nu-complete jj file chmod mode" [] {
1162 - [ "n" "x" ]
1165 - # Sets or removes the executable bit for paths in the repo
1166 - export extern "jj file chmod" [
1167 - mode: string@"nu-complete jj file chmod mode"
1168 - --revision(-r): string # The revision to update
1169 - ...paths: path # Paths to change the executable bit for
1170 - --repository(-R): path # Path to repository to operate on
1171 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1172 - --ignore-immutable # Allow rewriting immutable commits
1173 - --at-operation: string # Operation to load the repo at
1174 - --at-op: string # Operation to load the repo at
1175 - --debug # Enable debug logging
1176 - --color: string # When to colorize output (always, never, debug, auto)
1177 - --quiet # Silence non-primary command output
1178 - --no-pager # Disable the pager
1179 - --config: string # Additional configuration options (can be repeated)
1180 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1181 - --config-file: path # Additional configuration files (can be repeated)
1182 - --help(-h) # Print help (see more with '--help')
1185 - # List files in a revision
1186 - export extern "jj file list" [
1187 - --revision(-r): string # The revision to list files in
1188 - ...paths: path # Only list files matching these prefixes (instead of all files)
1189 - --repository(-R): path # Path to repository to operate on
1190 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1191 - --ignore-immutable # Allow rewriting immutable commits
1192 - --at-operation: string # Operation to load the repo at
1193 - --at-op: string # Operation to load the repo at
1194 - --debug # Enable debug logging
1195 - --color: string # When to colorize output (always, never, debug, auto)
1196 - --quiet # Silence non-primary command output
1197 - --no-pager # Disable the pager
1198 - --config: string # Additional configuration options (can be repeated)
1199 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1200 - --config-file: path # Additional configuration files (can be repeated)
1201 - --help(-h) # Print help (see more with '--help')
1204 - # Print contents of files in a revision
1205 - export extern "jj file show" [
1206 - --revision(-r): string # The revision to get the file contents from
1207 - ...paths: path # Paths to print
1208 - --repository(-R): path # Path to repository to operate on
1209 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1210 - --ignore-immutable # Allow rewriting immutable commits
1211 - --at-operation: string # Operation to load the repo at
1212 - --at-op: string # Operation to load the repo at
1213 - --debug # Enable debug logging
1214 - --color: string # When to colorize output (always, never, debug, auto)
1215 - --quiet # Silence non-primary command output
1216 - --no-pager # Disable the pager
1217 - --config: string # Additional configuration options (can be repeated)
1218 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1219 - --config-file: path # Additional configuration files (can be repeated)
1220 - --help(-h) # Print help (see more with '--help')
1223 - # Start tracking specified paths in the working copy
1224 - export extern "jj file track" [
1225 - ...paths: path # Paths to track
1226 - --repository(-R): path # Path to repository to operate on
1227 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1228 - --ignore-immutable # Allow rewriting immutable commits
1229 - --at-operation: string # Operation to load the repo at
1230 - --at-op: string # Operation to load the repo at
1231 - --debug # Enable debug logging
1232 - --color: string # When to colorize output (always, never, debug, auto)
1233 - --quiet # Silence non-primary command output
1234 - --no-pager # Disable the pager
1235 - --config: string # Additional configuration options (can be repeated)
1236 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1237 - --config-file: path # Additional configuration files (can be repeated)
1238 - --help(-h) # Print help (see more with '--help')
1241 - # Stop tracking specified paths in the working copy
1242 - export extern "jj file untrack" [
1243 - ...paths: path # Paths to untrack. They must already be ignored
1244 - --repository(-R): path # Path to repository to operate on
1245 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1246 - --ignore-immutable # Allow rewriting immutable commits
1247 - --at-operation: string # Operation to load the repo at
1248 - --at-op: string # Operation to load the repo at
1249 - --debug # Enable debug logging
1250 - --color: string # When to colorize output (always, never, debug, auto)
1251 - --quiet # Silence non-primary command output
1252 - --no-pager # Disable the pager
1253 - --config: string # Additional configuration options (can be repeated)
1254 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1255 - --config-file: path # Additional configuration files (can be repeated)
1256 - --help(-h) # Print help (see more with '--help')
1259 - # List files in a revision (DEPRECATED use `jj file list`)
1260 - export extern "jj files" [
1261 - --revision(-r): string # The revision to list files in
1262 - ...paths: path # Only list files matching these prefixes (instead of all files)
1263 - --repository(-R): path # Path to repository to operate on
1264 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1265 - --ignore-immutable # Allow rewriting immutable commits
1266 - --at-operation: string # Operation to load the repo at
1267 - --at-op: string # Operation to load the repo at
1268 - --debug # Enable debug logging
1269 - --color: string # When to colorize output (always, never, debug, auto)
1270 - --quiet # Silence non-primary command output
1271 - --no-pager # Disable the pager
1272 - --config: string # Additional configuration options (can be repeated)
1273 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1274 - --config-file: path # Additional configuration files (can be repeated)
1275 - --help(-h) # Print help (see more with '--help')
1278 - # Update files with formatting fixes or other changes
1279 - export extern "jj fix" [
1280 - --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
1281 - ...paths: path # Fix only these paths
1282 - --include-unchanged-files # Fix unchanged files in addition to changed ones. If no paths are specified, all files in the repo will be fixed
1283 - --repository(-R): path # Path to repository to operate on
1284 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1285 - --ignore-immutable # Allow rewriting immutable commits
1286 - --at-operation: string # Operation to load the repo at
1287 - --at-op: string # Operation to load the repo at
1288 - --debug # Enable debug logging
1289 - --color: string # When to colorize output (always, never, debug, auto)
1290 - --quiet # Silence non-primary command output
1291 - --no-pager # Disable the pager
1292 - --config: string # Additional configuration options (can be repeated)
1293 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1294 - --config-file: path # Additional configuration files (can be repeated)
1295 - --help(-h) # Print help (see more with '--help')
1298 - # Commands for working with Git remotes and the underlying Git repo
1299 - export extern "jj git" [
1300 - --repository(-R): path # Path to repository to operate on
1301 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1302 - --ignore-immutable # Allow rewriting immutable commits
1303 - --at-operation: string # Operation to load the repo at
1304 - --at-op: string # Operation to load the repo at
1305 - --debug # Enable debug logging
1306 - --color: string # When to colorize output (always, never, debug, auto)
1307 - --quiet # Silence non-primary command output
1308 - --no-pager # Disable the pager
1309 - --config: string # Additional configuration options (can be repeated)
1310 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1311 - --config-file: path # Additional configuration files (can be repeated)
1312 - --help(-h) # Print help (see more with '--help')
1315 - # Create a new repo backed by a clone of a Git repo
1316 - export extern "jj git clone" [
1317 - source: path # URL or path of the Git repo to clone
1318 - 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
1319 - --remote: string # Name of the newly created remote
1320 - --colocate # Whether or not to colocate the Jujutsu repo with the git repo
1321 - --depth: string # Create a shallow clone of the given depth
1322 - --repository(-R): path # Path to repository to operate on
1323 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1324 - --ignore-immutable # Allow rewriting immutable commits
1325 - --at-operation: string # Operation to load the repo at
1326 - --at-op: string # Operation to load the repo at
1327 - --debug # Enable debug logging
1328 - --color: string # When to colorize output (always, never, debug, auto)
1329 - --quiet # Silence non-primary command output
1330 - --no-pager # Disable the pager
1331 - --config: string # Additional configuration options (can be repeated)
1332 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1333 - --config-file: path # Additional configuration files (can be repeated)
1334 - --help(-h) # Print help (see more with '--help')
1337 - # Update the underlying Git repo with changes made in the repo
1338 - export extern "jj git export" [
1339 - --repository(-R): path # Path to repository to operate on
1340 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1341 - --ignore-immutable # Allow rewriting immutable commits
1342 - --at-operation: string # Operation to load the repo at
1343 - --at-op: string # Operation to load the repo at
1344 - --debug # Enable debug logging
1345 - --color: string # When to colorize output (always, never, debug, auto)
1346 - --quiet # Silence non-primary command output
1347 - --no-pager # Disable the pager
1348 - --config: string # Additional configuration options (can be repeated)
1349 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1350 - --config-file: path # Additional configuration files (can be repeated)
1351 - --help(-h) # Print help (see more with '--help')
1354 - # Fetch from a Git remote
1355 - export extern "jj git fetch" [
1356 - --branch(-b): string # Fetch only some of the branches
1357 - --remote: string # The remote to fetch from (only named remotes are supported, can be repeated)
1358 - --all-remotes # Fetch from all remotes
1359 - --repository(-R): path # Path to repository to operate on
1360 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1361 - --ignore-immutable # Allow rewriting immutable commits
1362 - --at-operation: string # Operation to load the repo at
1363 - --at-op: string # Operation to load the repo at
1364 - --debug # Enable debug logging
1365 - --color: string # When to colorize output (always, never, debug, auto)
1366 - --quiet # Silence non-primary command output
1367 - --no-pager # Disable the pager
1368 - --config: string # Additional configuration options (can be repeated)
1369 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1370 - --config-file: path # Additional configuration files (can be repeated)
1371 - --help(-h) # Print help (see more with '--help')
1374 - # Update repo with changes made in the underlying Git repo
1375 - export extern "jj git import" [
1376 - --repository(-R): path # Path to repository to operate on
1377 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1378 - --ignore-immutable # Allow rewriting immutable commits
1379 - --at-operation: string # Operation to load the repo at
1380 - --at-op: string # Operation to load the repo at
1381 - --debug # Enable debug logging
1382 - --color: string # When to colorize output (always, never, debug, auto)
1383 - --quiet # Silence non-primary command output
1384 - --no-pager # Disable the pager
1385 - --config: string # Additional configuration options (can be repeated)
1386 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1387 - --config-file: path # Additional configuration files (can be repeated)
1388 - --help(-h) # Print help (see more with '--help')
1391 - # Create a new Git backed repo
1392 - export extern "jj git init" [
1393 - 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
1394 - --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
1395 - --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
1396 - --repository(-R): path # Path to repository to operate on
1397 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1398 - --ignore-immutable # Allow rewriting immutable commits
1399 - --at-operation: string # Operation to load the repo at
1400 - --at-op: string # Operation to load the repo at
1401 - --debug # Enable debug logging
1402 - --color: string # When to colorize output (always, never, debug, auto)
1403 - --quiet # Silence non-primary command output
1404 - --no-pager # Disable the pager
1405 - --config: string # Additional configuration options (can be repeated)
1406 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1407 - --config-file: path # Additional configuration files (can be repeated)
1408 - --help(-h) # Print help (see more with '--help')
1411 - # Push to a Git remote
1412 - export extern "jj git push" [
1413 - --remote: string # The remote to push to (only named remotes are supported)
1414 - --bookmark(-b): string # Push only this bookmark, or bookmarks matching a pattern (can be repeated)
1415 - --all # Push all bookmarks (including new and deleted bookmarks)
1416 - --tracked # Push all tracked bookmarks (including deleted bookmarks)
1417 - --deleted # Push all deleted bookmarks
1418 - --allow-new(-N) # Allow pushing new bookmarks
1419 - --allow-empty-description # Allow pushing commits with empty descriptions
1420 - --allow-private # Allow pushing commits that are private
1421 - --revisions(-r): string # Push bookmarks pointing to these commits (can be repeated)
1422 - --change(-c): string # Push this commit by creating a bookmark based on its change ID (can be repeated)
1423 - --dry-run # Only display what will change on the remote
1424 - --repository(-R): path # Path to repository to operate on
1425 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1426 - --ignore-immutable # Allow rewriting immutable commits
1427 - --at-operation: string # Operation to load the repo at
1428 - --at-op: string # Operation to load the repo at
1429 - --debug # Enable debug logging
1430 - --color: string # When to colorize output (always, never, debug, auto)
1431 - --quiet # Silence non-primary command output
1432 - --no-pager # Disable the pager
1433 - --config: string # Additional configuration options (can be repeated)
1434 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1435 - --config-file: path # Additional configuration files (can be repeated)
1436 - --help(-h) # Print help (see more with '--help')
1439 - # Manage Git remotes
1440 - export extern "jj git remote" [
1441 - --repository(-R): path # Path to repository to operate on
1442 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1443 - --ignore-immutable # Allow rewriting immutable commits
1444 - --at-operation: string # Operation to load the repo at
1445 - --at-op: string # Operation to load the repo at
1446 - --debug # Enable debug logging
1447 - --color: string # When to colorize output (always, never, debug, auto)
1448 - --quiet # Silence non-primary command output
1449 - --no-pager # Disable the pager
1450 - --config: string # Additional configuration options (can be repeated)
1451 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1452 - --config-file: path # Additional configuration files (can be repeated)
1453 - --help(-h) # Print help (see more with '--help')
1456 - # Add a Git remote
1457 - export extern "jj git remote add" [
1458 - remote: string # The remote's name
1459 - url: string # The remote's URL
1460 - --repository(-R): path # Path to repository to operate on
1461 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1462 - --ignore-immutable # Allow rewriting immutable commits
1463 - --at-operation: string # Operation to load the repo at
1464 - --at-op: string # Operation to load the repo at
1465 - --debug # Enable debug logging
1466 - --color: string # When to colorize output (always, never, debug, auto)
1467 - --quiet # Silence non-primary command output
1468 - --no-pager # Disable the pager
1469 - --config: string # Additional configuration options (can be repeated)
1470 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1471 - --config-file: path # Additional configuration files (can be repeated)
1472 - --help(-h) # Print help (see more with '--help')
1475 - # List Git remotes
1476 - export extern "jj git remote list" [
1477 - --repository(-R): path # Path to repository to operate on
1478 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1479 - --ignore-immutable # Allow rewriting immutable commits
1480 - --at-operation: string # Operation to load the repo at
1481 - --at-op: string # Operation to load the repo at
1482 - --debug # Enable debug logging
1483 - --color: string # When to colorize output (always, never, debug, auto)
1484 - --quiet # Silence non-primary command output
1485 - --no-pager # Disable the pager
1486 - --config: string # Additional configuration options (can be repeated)
1487 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1488 - --config-file: path # Additional configuration files (can be repeated)
1489 - --help(-h) # Print help (see more with '--help')
1492 - # Remove a Git remote and forget its bookmarks
1493 - export extern "jj git remote remove" [
1494 - remote: string # The remote's name
1495 - --repository(-R): path # Path to repository to operate on
1496 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1497 - --ignore-immutable # Allow rewriting immutable commits
1498 - --at-operation: string # Operation to load the repo at
1499 - --at-op: string # Operation to load the repo at
1500 - --debug # Enable debug logging
1501 - --color: string # When to colorize output (always, never, debug, auto)
1502 - --quiet # Silence non-primary command output
1503 - --no-pager # Disable the pager
1504 - --config: string # Additional configuration options (can be repeated)
1505 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1506 - --config-file: path # Additional configuration files (can be repeated)
1507 - --help(-h) # Print help (see more with '--help')
1510 - # Rename a Git remote
1511 - export extern "jj git remote rename" [
1512 - old: string # The name of an existing remote
1513 - new: string # The desired name for `old`
1514 - --repository(-R): path # Path to repository to operate on
1515 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1516 - --ignore-immutable # Allow rewriting immutable commits
1517 - --at-operation: string # Operation to load the repo at
1518 - --at-op: string # Operation to load the repo at
1519 - --debug # Enable debug logging
1520 - --color: string # When to colorize output (always, never, debug, auto)
1521 - --quiet # Silence non-primary command output
1522 - --no-pager # Disable the pager
1523 - --config: string # Additional configuration options (can be repeated)
1524 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1525 - --config-file: path # Additional configuration files (can be repeated)
1526 - --help(-h) # Print help (see more with '--help')
1529 - # Set the URL of a Git remote
1530 - export extern "jj git remote set-url" [
1531 - remote: string # The remote's name
1532 - url: string # The desired url for `remote`
1533 - --repository(-R): path # Path to repository to operate on
1534 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1535 - --ignore-immutable # Allow rewriting immutable commits
1536 - --at-operation: string # Operation to load the repo at
1537 - --at-op: string # Operation to load the repo at
1538 - --debug # Enable debug logging
1539 - --color: string # When to colorize output (always, never, debug, auto)
1540 - --quiet # Silence non-primary command output
1541 - --no-pager # Disable the pager
1542 - --config: string # Additional configuration options (can be repeated)
1543 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1544 - --config-file: path # Additional configuration files (can be repeated)
1545 - --help(-h) # Print help (see more with '--help')
1548 - # FOR INTERNAL USE ONLY Interact with git submodules
1549 - export extern "jj git submodule" [
1550 - --repository(-R): path # Path to repository to operate on
1551 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1552 - --ignore-immutable # Allow rewriting immutable commits
1553 - --at-operation: string # Operation to load the repo at
1554 - --at-op: string # Operation to load the repo at
1555 - --debug # Enable debug logging
1556 - --color: string # When to colorize output (always, never, debug, auto)
1557 - --quiet # Silence non-primary command output
1558 - --no-pager # Disable the pager
1559 - --config: string # Additional configuration options (can be repeated)
1560 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1561 - --config-file: path # Additional configuration files (can be repeated)
1562 - --help(-h) # Print help (see more with '--help')
1565 - # Print the relevant contents from .gitmodules. For debugging purposes only
1566 - export extern "jj git submodule print-gitmodules" [
1567 - --revisions(-r): string # Read .gitmodules from the given revision
1568 - --repository(-R): path # Path to repository to operate on
1569 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1570 - --ignore-immutable # Allow rewriting immutable commits
1571 - --at-operation: string # Operation to load the repo at
1572 - --at-op: string # Operation to load the repo at
1573 - --debug # Enable debug logging
1574 - --color: string # When to colorize output (always, never, debug, auto)
1575 - --quiet # Silence non-primary command output
1576 - --no-pager # Disable the pager
1577 - --config: string # Additional configuration options (can be repeated)
1578 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1579 - --config-file: path # Additional configuration files (can be repeated)
1580 - --help(-h) # Print help (see more with '--help')
1583 - def "nu-complete jj help keyword" [] {
1584 - [ "bookmarks" "config" "filesets" "glossary" "revsets" "templates" "tutorial" ]
1587 - # Print this message or the help of the given subcommand(s)
1588 - export extern "jj help" [
1589 - ...command: string # Print help for the subcommand(s)
1590 - --keyword(-k): string@"nu-complete jj help keyword" # Show help for keywords instead of commands
1591 - --repository(-R): path # Path to repository to operate on
1592 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1593 - --ignore-immutable # Allow rewriting immutable commits
1594 - --at-operation: string # Operation to load the repo at
1595 - --at-op: string # Operation to load the repo at
1596 - --debug # Enable debug logging
1597 - --color: string # When to colorize output (always, never, debug, auto)
1598 - --quiet # Silence non-primary command output
1599 - --no-pager # Disable the pager
1600 - --config: string # Additional configuration options (can be repeated)
1601 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1602 - --config-file: path # Additional configuration files (can be repeated)
1603 - --help(-h) # Print help (see more with '--help')
1606 - # Create a new repo in the given directory
1607 - export extern "jj init" [
1608 - destination?: path # The destination directory
1609 - --git # DEPRECATED: Use `jj git init` Use the Git backend, creating a jj repo backed by a Git repo
1610 - --git-repo: path # DEPRECATED: Use `jj git init` Path to a git repo the jj repo will be backed by
1611 - --repository(-R): path # Path to repository to operate on
1612 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1613 - --ignore-immutable # Allow rewriting immutable commits
1614 - --at-operation: string # Operation to load the repo at
1615 - --at-op: string # Operation to load the repo at
1616 - --debug # Enable debug logging
1617 - --color: string # When to colorize output (always, never, debug, auto)
1618 - --quiet # Silence non-primary command output
1619 - --no-pager # Disable the pager
1620 - --config: string # Additional configuration options (can be repeated)
1621 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1622 - --config-file: path # Additional configuration files (can be repeated)
1623 - --help(-h) # Print help (see more with '--help')
1626 - # Compare the changes of two commits
1627 - export extern "jj interdiff" [
1628 - --from(-f): string # Show changes from this revision
1629 - --to(-t): string # Show changes to this revision
1630 - ...paths: path # Restrict the diff to these paths
1631 - --summary(-s) # For each path, show only whether it was modified, added, or deleted
1632 - --stat # Show a histogram of the changes
1633 - --types # For each path, show only its type before and after
1634 - --name-only # For each path, show only its path
1635 - --git # Show a Git-format diff
1636 - --color-words # Show a word-level diff with changes indicated only by color
1637 - --tool: string # Generate diff by external command
1638 - --context: string # Number of lines of context to show
1639 - --ignore-all-space(-w) # Ignore whitespace when comparing lines
1640 - --ignore-space-change(-b) # Ignore changes in amount of whitespace when comparing lines
1641 - --repository(-R): path # Path to repository to operate on
1642 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1643 - --ignore-immutable # Allow rewriting immutable commits
1644 - --at-operation: string # Operation to load the repo at
1645 - --at-op: string # Operation to load the repo at
1646 - --debug # Enable debug logging
1647 - --color: string # When to colorize output (always, never, debug, auto)
1648 - --quiet # Silence non-primary command output
1649 - --no-pager # Disable the pager
1650 - --config: string # Additional configuration options (can be repeated)
1651 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1652 - --config-file: path # Additional configuration files (can be repeated)
1653 - --help(-h) # Print help (see more with '--help')
1656 - # Show revision history
1657 - export extern "jj log" [
1658 - --revisions(-r): string # Which revisions to show
1659 - ...paths: path # Show revisions modifying the given paths
1660 - --reversed # Show revisions in the opposite order (older revisions first)
1661 - --limit(-n): string # Limit number of revisions to show
1662 - -l: string
1663 - --no-graph # Don't show the graph, show a flat list of revisions
1664 - --template(-T): string # Render each revision using the given template
1665 - --patch(-p) # Show patch
1666 - --summary(-s) # For each path, show only whether it was modified, added, or deleted
1667 - --stat # Show a histogram of the changes
1668 - --types # For each path, show only its type before and after
1669 - --name-only # For each path, show only its path
1670 - --git # Show a Git-format diff
1671 - --color-words # Show a word-level diff with changes indicated only by color
1672 - --tool: string # Generate diff by external command
1673 - --context: string # Number of lines of context to show
1674 - --ignore-all-space # Ignore whitespace when comparing lines
1675 - --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1676 - --repository(-R): path # Path to repository to operate on
1677 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1678 - --ignore-immutable # Allow rewriting immutable commits
1679 - --at-operation: string # Operation to load the repo at
1680 - --at-op: string # Operation to load the repo at
1681 - --debug # Enable debug logging
1682 - --color: string # When to colorize output (always, never, debug, auto)
1683 - --quiet # Silence non-primary command output
1684 - --no-pager # Disable the pager
1685 - --config: string # Additional configuration options (can be repeated)
1686 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1687 - --config-file: path # Additional configuration files (can be repeated)
1688 - --help(-h) # Print help (see more with '--help')
1691 - # Create a new, empty change and (by default) edit it in the working copy
1692 - export extern "jj new" [
1693 - ...revisions: string # Parent(s) of the new change
1694 - -d # Ignored (but lets you pass `-d`/`-r` for consistency with other commands)
1695 - --message(-m): string # The change description to use
1696 - --no-edit # Do not edit the newly created change
1697 - --edit # No-op flag to pair with --no-edit
1698 - --insert-after(-A): string # Insert the new change after the given commit(s)
1699 - --after: string # Insert the new change after the given commit(s)
1700 - --insert-before(-B): string # Insert the new change before the given commit(s)
1701 - --before: string # Insert the new change before the given commit(s)
1702 - --repository(-R): path # Path to repository to operate on
1703 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1704 - --ignore-immutable # Allow rewriting immutable commits
1705 - --at-operation: string # Operation to load the repo at
1706 - --at-op: string # Operation to load the repo at
1707 - --debug # Enable debug logging
1708 - --color: string # When to colorize output (always, never, debug, auto)
1709 - --quiet # Silence non-primary command output
1710 - --no-pager # Disable the pager
1711 - --config: string # Additional configuration options (can be repeated)
1712 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1713 - --config-file: path # Additional configuration files (can be repeated)
1714 - --help(-h) # Print help (see more with '--help')
1717 - # Move the working-copy commit to the child revision
1718 - export extern "jj next" [
1719 - offset?: string # How many revisions to move forward. Advances to the next child by default
1720 - --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`)
1721 - --no-edit(-n) # The inverse of `--edit`
1722 - --conflict # Jump to the next conflicted descendant
1723 - --repository(-R): path # Path to repository to operate on
1724 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1725 - --ignore-immutable # Allow rewriting immutable commits
1726 - --at-operation: string # Operation to load the repo at
1727 - --at-op: string # Operation to load the repo at
1728 - --debug # Enable debug logging
1729 - --color: string # When to colorize output (always, never, debug, auto)
1730 - --quiet # Silence non-primary command output
1731 - --no-pager # Disable the pager
1732 - --config: string # Additional configuration options (can be repeated)
1733 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1734 - --config-file: path # Additional configuration files (can be repeated)
1735 - --help(-h) # Print help (see more with '--help')
1738 - # Commands for working with the operation log
1739 - export extern "jj operation" [
1740 - --repository(-R): path # Path to repository to operate on
1741 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1742 - --ignore-immutable # Allow rewriting immutable commits
1743 - --at-operation: string # Operation to load the repo at
1744 - --at-op: string # Operation to load the repo at
1745 - --debug # Enable debug logging
1746 - --color: string # When to colorize output (always, never, debug, auto)
1747 - --quiet # Silence non-primary command output
1748 - --no-pager # Disable the pager
1749 - --config: string # Additional configuration options (can be repeated)
1750 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1751 - --config-file: path # Additional configuration files (can be repeated)
1752 - --help(-h) # Print help (see more with '--help')
1755 - # Abandon operation history
1756 - export extern "jj operation abandon" [
1757 - operation: string # The operation or operation range to abandon
1758 - --repository(-R): path # Path to repository to operate on
1759 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1760 - --ignore-immutable # Allow rewriting immutable commits
1761 - --at-operation: string # Operation to load the repo at
1762 - --at-op: string # Operation to load the repo at
1763 - --debug # Enable debug logging
1764 - --color: string # When to colorize output (always, never, debug, auto)
1765 - --quiet # Silence non-primary command output
1766 - --no-pager # Disable the pager
1767 - --config: string # Additional configuration options (can be repeated)
1768 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1769 - --config-file: path # Additional configuration files (can be repeated)
1770 - --help(-h) # Print help (see more with '--help')
1773 - # Compare changes to the repository between two operations
1774 - export extern "jj operation diff" [
1775 - --operation: string # Show repository changes in this operation, compared to its parent
1776 - --op: string # Show repository changes in this operation, compared to its parent
1777 - --from(-f): string # Show repository changes from this operation
1778 - --to(-t): string # Show repository changes to this operation
1779 - --no-graph # Don't show the graph, show a flat list of modified changes
1780 - --patch(-p) # Show patch of modifications to changes
1781 - --summary(-s) # For each path, show only whether it was modified, added, or deleted
1782 - --stat # Show a histogram of the changes
1783 - --types # For each path, show only its type before and after
1784 - --name-only # For each path, show only its path
1785 - --git # Show a Git-format diff
1786 - --color-words # Show a word-level diff with changes indicated only by color
1787 - --tool: string # Generate diff by external command
1788 - --context: string # Number of lines of context to show
1789 - --ignore-all-space # Ignore whitespace when comparing lines
1790 - --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1791 - --repository(-R): path # Path to repository to operate on
1792 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1793 - --ignore-immutable # Allow rewriting immutable commits
1794 - --at-operation: string # Operation to load the repo at
1795 - --at-op: string # Operation to load the repo at
1796 - --debug # Enable debug logging
1797 - --color: string # When to colorize output (always, never, debug, auto)
1798 - --quiet # Silence non-primary command output
1799 - --no-pager # Disable the pager
1800 - --config: string # Additional configuration options (can be repeated)
1801 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1802 - --config-file: path # Additional configuration files (can be repeated)
1803 - --help(-h) # Print help (see more with '--help')
1806 - # Show the operation log
1807 - export extern "jj operation log" [
1808 - --limit(-n): string # Limit number of operations to show
1809 - -l: string
1810 - --no-graph # Don't show the graph, show a flat list of operations
1811 - --template(-T): string # Render each operation using the given template
1812 - --op-diff # Show changes to the repository at each operation
1813 - --patch(-p) # Show patch of modifications to changes (implies --op-diff)
1814 - --summary(-s) # For each path, show only whether it was modified, added, or deleted
1815 - --stat # Show a histogram of the changes
1816 - --types # For each path, show only its type before and after
1817 - --name-only # For each path, show only its path
1818 - --git # Show a Git-format diff
1819 - --color-words # Show a word-level diff with changes indicated only by color
1820 - --tool: string # Generate diff by external command
1821 - --context: string # Number of lines of context to show
1822 - --ignore-all-space # Ignore whitespace when comparing lines
1823 - --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1824 - --repository(-R): path # Path to repository to operate on
1825 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1826 - --ignore-immutable # Allow rewriting immutable commits
1827 - --at-operation: string # Operation to load the repo at
1828 - --at-op: string # Operation to load the repo at
1829 - --debug # Enable debug logging
1830 - --color: string # When to colorize output (always, never, debug, auto)
1831 - --quiet # Silence non-primary command output
1832 - --no-pager # Disable the pager
1833 - --config: string # Additional configuration options (can be repeated)
1834 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1835 - --config-file: path # Additional configuration files (can be repeated)
1836 - --help(-h) # Print help (see more with '--help')
1839 - def "nu-complete jj operation restore what" [] {
1840 - [ "repo" "remote-tracking" ]
1843 - # Create a new operation that restores the repo to an earlier state
1844 - export extern "jj operation restore" [
1845 - operation: string # The operation to restore to
1846 - --what: string@"nu-complete jj operation restore what" # What portions of the local state to restore (can be repeated)
1847 - --repository(-R): path # Path to repository to operate on
1848 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1849 - --ignore-immutable # Allow rewriting immutable commits
1850 - --at-operation: string # Operation to load the repo at
1851 - --at-op: string # Operation to load the repo at
1852 - --debug # Enable debug logging
1853 - --color: string # When to colorize output (always, never, debug, auto)
1854 - --quiet # Silence non-primary command output
1855 - --no-pager # Disable the pager
1856 - --config: string # Additional configuration options (can be repeated)
1857 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1858 - --config-file: path # Additional configuration files (can be repeated)
1859 - --help(-h) # Print help (see more with '--help')
1862 - # Show changes to the repository in an operation
1863 - export extern "jj operation show" [
1864 - operation?: string # Show repository changes in this operation, compared to its parent(s)
1865 - --no-graph # Don't show the graph, show a flat list of modified changes
1866 - --patch(-p) # Show patch of modifications to changes
1867 - --summary(-s) # For each path, show only whether it was modified, added, or deleted
1868 - --stat # Show a histogram of the changes
1869 - --types # For each path, show only its type before and after
1870 - --name-only # For each path, show only its path
1871 - --git # Show a Git-format diff
1872 - --color-words # Show a word-level diff with changes indicated only by color
1873 - --tool: string # Generate diff by external command
1874 - --context: string # Number of lines of context to show
1875 - --ignore-all-space # Ignore whitespace when comparing lines
1876 - --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
1877 - --repository(-R): path # Path to repository to operate on
1878 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1879 - --ignore-immutable # Allow rewriting immutable commits
1880 - --at-operation: string # Operation to load the repo at
1881 - --at-op: string # Operation to load the repo at
1882 - --debug # Enable debug logging
1883 - --color: string # When to colorize output (always, never, debug, auto)
1884 - --quiet # Silence non-primary command output
1885 - --no-pager # Disable the pager
1886 - --config: string # Additional configuration options (can be repeated)
1887 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1888 - --config-file: path # Additional configuration files (can be repeated)
1889 - --help(-h) # Print help (see more with '--help')
1892 - def "nu-complete jj operation undo what" [] {
1893 - [ "repo" "remote-tracking" ]
1896 - # Create a new operation that undoes an earlier operation
1897 - export extern "jj operation undo" [
1898 - operation?: string # The operation to undo
1899 - --what: string@"nu-complete jj operation undo what" # What portions of the local state to restore (can be repeated)
1900 - --repository(-R): path # Path to repository to operate on
1901 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1902 - --ignore-immutable # Allow rewriting immutable commits
1903 - --at-operation: string # Operation to load the repo at
1904 - --at-op: string # Operation to load the repo at
1905 - --debug # Enable debug logging
1906 - --color: string # When to colorize output (always, never, debug, auto)
1907 - --quiet # Silence non-primary command output
1908 - --no-pager # Disable the pager
1909 - --config: string # Additional configuration options (can be repeated)
1910 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1911 - --config-file: path # Additional configuration files (can be repeated)
1912 - --help(-h) # Print help (see more with '--help')
1915 - # Parallelize revisions by making them siblings
1916 - export extern "jj parallelize" [
1917 - ...revisions: string # Revisions to parallelize
1918 - --repository(-R): path # Path to repository to operate on
1919 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1920 - --ignore-immutable # Allow rewriting immutable commits
1921 - --at-operation: string # Operation to load the repo at
1922 - --at-op: string # Operation to load the repo at
1923 - --debug # Enable debug logging
1924 - --color: string # When to colorize output (always, never, debug, auto)
1925 - --quiet # Silence non-primary command output
1926 - --no-pager # Disable the pager
1927 - --config: string # Additional configuration options (can be repeated)
1928 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1929 - --config-file: path # Additional configuration files (can be repeated)
1930 - --help(-h) # Print help (see more with '--help')
1933 - # Change the working copy revision relative to the parent revision
1934 - export extern "jj prev" [
1935 - offset?: string # How many revisions to move backward. Moves to the parent by default
1936 - --edit(-e) # Edit the parent directly, instead of moving the working-copy commit
1937 - --no-edit(-n) # The inverse of `--edit`
1938 - --conflict # Jump to the previous conflicted ancestor
1939 - --repository(-R): path # Path to repository to operate on
1940 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1941 - --ignore-immutable # Allow rewriting immutable commits
1942 - --at-operation: string # Operation to load the repo at
1943 - --at-op: string # Operation to load the repo at
1944 - --debug # Enable debug logging
1945 - --color: string # When to colorize output (always, never, debug, auto)
1946 - --quiet # Silence non-primary command output
1947 - --no-pager # Disable the pager
1948 - --config: string # Additional configuration options (can be repeated)
1949 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1950 - --config-file: path # Additional configuration files (can be repeated)
1951 - --help(-h) # Print help (see more with '--help')
1954 - # Move revisions to different parent(s)
1955 - export extern "jj rebase" [
1956 - --branch(-b): string # Rebase the whole branch relative to destination's ancestors (can be repeated)
1957 - --source(-s): string # Rebase specified revision(s) together with their trees of descendants (can be repeated)
1958 - --revisions(-r): string # Rebase the given revisions, rebasing descendants onto this revision's parent(s)
1959 - --destination(-d): string # The revision(s) to rebase onto (can be repeated to create a merge commit)
1960 - --insert-after(-A): string # The revision(s) to insert after (can be repeated to create a merge commit)
1961 - --after: string # The revision(s) to insert after (can be repeated to create a merge commit)
1962 - --insert-before(-B): string # The revision(s) to insert before (can be repeated to create a merge commit)
1963 - --before: string # The revision(s) to insert before (can be repeated to create a merge commit)
1964 - --skip-empty # Deprecated. Use --skip-emptied instead
1965 - --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
1966 - --repository(-R): path # Path to repository to operate on
1967 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1968 - --ignore-immutable # Allow rewriting immutable commits
1969 - --at-operation: string # Operation to load the repo at
1970 - --at-op: string # Operation to load the repo at
1971 - --debug # Enable debug logging
1972 - --color: string # When to colorize output (always, never, debug, auto)
1973 - --quiet # Silence non-primary command output
1974 - --no-pager # Disable the pager
1975 - --config: string # Additional configuration options (can be repeated)
1976 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1977 - --config-file: path # Additional configuration files (can be repeated)
1978 - --help(-h) # Print help (see more with '--help')
1981 - # Resolve a conflicted file with an external merge tool
1982 - export extern "jj resolve" [
1983 - --revision(-r): string
1984 - --list(-l) # Instead of resolving one conflict, list all the conflicts
1985 - --tool: string # Specify 3-way merge tool to be used
1986 - ...paths: path # 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
1987 - --repository(-R): path # Path to repository to operate on
1988 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
1989 - --ignore-immutable # Allow rewriting immutable commits
1990 - --at-operation: string # Operation to load the repo at
1991 - --at-op: string # Operation to load the repo at
1992 - --debug # Enable debug logging
1993 - --color: string # When to colorize output (always, never, debug, auto)
1994 - --quiet # Silence non-primary command output
1995 - --no-pager # Disable the pager
1996 - --config: string # Additional configuration options (can be repeated)
1997 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
1998 - --config-file: path # Additional configuration files (can be repeated)
1999 - --help(-h) # Print help (see more with '--help')
2002 - # Restore paths from another revision
2003 - export extern "jj restore" [
2004 - ...paths: path # Restore only these paths (instead of all paths)
2005 - --from(-f): string # Revision to restore from (source)
2006 - --to(-t): string # Revision to restore into (destination)
2007 - --changes-in(-c): string # Undo the changes in a revision as compared to the merge of its parents
2008 - --revision(-r): string # Prints an error. DO NOT USE
2009 - --restore-descendants # Preserve the content (not the diff) when rebasing descendants
2010 - --repository(-R): path # Path to repository to operate on
2011 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2012 - --ignore-immutable # Allow rewriting immutable commits
2013 - --at-operation: string # Operation to load the repo at
2014 - --at-op: string # Operation to load the repo at
2015 - --debug # Enable debug logging
2016 - --color: string # When to colorize output (always, never, debug, auto)
2017 - --quiet # Silence non-primary command output
2018 - --no-pager # Disable the pager
2019 - --config: string # Additional configuration options (can be repeated)
2020 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2021 - --config-file: path # Additional configuration files (can be repeated)
2022 - --help(-h) # Print help (see more with '--help')
2025 - # A dummy command that accepts any arguments
2026 - export extern "jj revert" [
2027 - ..._args: string
2028 - --repository(-R): path # Path to repository to operate on
2029 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2030 - --ignore-immutable # Allow rewriting immutable commits
2031 - --at-operation: string # Operation to load the repo at
2032 - --at-op: string # Operation to load the repo at
2033 - --debug # Enable debug logging
2034 - --color: string # When to colorize output (always, never, debug, auto)
2035 - --quiet # Silence non-primary command output
2036 - --no-pager # Disable the pager
2037 - --config: string # Additional configuration options (can be repeated)
2038 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2039 - --config-file: path # Additional configuration files (can be repeated)
2040 - --help(-h) # Print help (see more with '--help')
2043 - # Show the current workspace root directory
2044 - export extern "jj root" [
2045 - --repository(-R): path # Path to repository to operate on
2046 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2047 - --ignore-immutable # Allow rewriting immutable commits
2048 - --at-operation: string # Operation to load the repo at
2049 - --at-op: string # Operation to load the repo at
2050 - --debug # Enable debug logging
2051 - --color: string # When to colorize output (always, never, debug, auto)
2052 - --quiet # Silence non-primary command output
2053 - --no-pager # Disable the pager
2054 - --config: string # Additional configuration options (can be repeated)
2055 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2056 - --config-file: path # Additional configuration files (can be repeated)
2057 - --help(-h) # Print help (see more with '--help')
2060 - # (**Stub**, does not work yet) Run a command across a set of revisions.
2061 - export extern "jj run" [
2062 - shell_command: string # The command to run across all selected revisions
2063 - --revisions(-r): string # The revisions to change
2064 - -x # A no-op option to match the interface of `git rebase -x`
2065 - --jobs(-j): string # How many processes should run in parallel, uses by default all cores
2066 - --repository(-R): path # Path to repository to operate on
2067 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2068 - --ignore-immutable # Allow rewriting immutable commits
2069 - --at-operation: string # Operation to load the repo at
2070 - --at-op: string # Operation to load the repo at
2071 - --debug # Enable debug logging
2072 - --color: string # When to colorize output (always, never, debug, auto)
2073 - --quiet # Silence non-primary command output
2074 - --no-pager # Disable the pager
2075 - --config: string # Additional configuration options (can be repeated)
2076 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2077 - --config-file: path # Additional configuration files (can be repeated)
2078 - --help(-h) # Print help (see more with '--help')
2081 - # Show commit description and changes in a revision
2082 - export extern "jj show" [
2083 - revision?: string # Show changes in this revision, compared to its parent(s)
2084 - -r # Ignored (but lets you pass `-r` for consistency with other commands)
2085 - --template(-T): string # Render a revision using the given template
2086 - --summary(-s) # For each path, show only whether it was modified, added, or deleted
2087 - --stat # Show a histogram of the changes
2088 - --types # For each path, show only its type before and after
2089 - --name-only # For each path, show only its path
2090 - --git # Show a Git-format diff
2091 - --color-words # Show a word-level diff with changes indicated only by color
2092 - --tool: string # Generate diff by external command
2093 - --context: string # Number of lines of context to show
2094 - --ignore-all-space # Ignore whitespace when comparing lines
2095 - --ignore-space-change # Ignore changes in amount of whitespace when comparing lines
2096 - --repository(-R): path # Path to repository to operate on
2097 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2098 - --ignore-immutable # Allow rewriting immutable commits
2099 - --at-operation: string # Operation to load the repo at
2100 - --at-op: string # Operation to load the repo at
2101 - --debug # Enable debug logging
2102 - --color: string # When to colorize output (always, never, debug, auto)
2103 - --quiet # Silence non-primary command output
2104 - --no-pager # Disable the pager
2105 - --config: string # Additional configuration options (can be repeated)
2106 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2107 - --config-file: path # Additional configuration files (can be repeated)
2108 - --help(-h) # Print help (see more with '--help')
2111 - # Simplify parent edges for the specified revision(s)
2112 - export extern "jj simplify-parents" [
2113 - --source(-s): string # Simplify specified revision(s) together with their trees of descendants (can be repeated)
2114 - --revisions(-r): string # Simplify specified revision(s) (can be repeated)
2115 - --repository(-R): path # Path to repository to operate on
2116 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2117 - --ignore-immutable # Allow rewriting immutable commits
2118 - --at-operation: string # Operation to load the repo at
2119 - --at-op: string # Operation to load the repo at
2120 - --debug # Enable debug logging
2121 - --color: string # When to colorize output (always, never, debug, auto)
2122 - --quiet # Silence non-primary command output
2123 - --no-pager # Disable the pager
2124 - --config: string # Additional configuration options (can be repeated)
2125 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2126 - --config-file: path # Additional configuration files (can be repeated)
2127 - --help(-h) # Print help (see more with '--help')
2130 - # Manage which paths from the working-copy commit are present in the working copy
2131 - export extern "jj sparse" [
2132 - --repository(-R): path # Path to repository to operate on
2133 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2134 - --ignore-immutable # Allow rewriting immutable commits
2135 - --at-operation: string # Operation to load the repo at
2136 - --at-op: string # Operation to load the repo at
2137 - --debug # Enable debug logging
2138 - --color: string # When to colorize output (always, never, debug, auto)
2139 - --quiet # Silence non-primary command output
2140 - --no-pager # Disable the pager
2141 - --config: string # Additional configuration options (can be repeated)
2142 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2143 - --config-file: path # Additional configuration files (can be repeated)
2144 - --help(-h) # Print help (see more with '--help')
2147 - # Start an editor to update the patterns that are present in the working copy
2148 - export extern "jj sparse edit" [
2149 - --repository(-R): path # Path to repository to operate on
2150 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2151 - --ignore-immutable # Allow rewriting immutable commits
2152 - --at-operation: string # Operation to load the repo at
2153 - --at-op: string # Operation to load the repo at
2154 - --debug # Enable debug logging
2155 - --color: string # When to colorize output (always, never, debug, auto)
2156 - --quiet # Silence non-primary command output
2157 - --no-pager # Disable the pager
2158 - --config: string # Additional configuration options (can be repeated)
2159 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2160 - --config-file: path # Additional configuration files (can be repeated)
2161 - --help(-h) # Print help (see more with '--help')
2164 - # List the patterns that are currently present in the working copy
2165 - export extern "jj sparse list" [
2166 - --repository(-R): path # Path to repository to operate on
2167 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2168 - --ignore-immutable # Allow rewriting immutable commits
2169 - --at-operation: string # Operation to load the repo at
2170 - --at-op: string # Operation to load the repo at
2171 - --debug # Enable debug logging
2172 - --color: string # When to colorize output (always, never, debug, auto)
2173 - --quiet # Silence non-primary command output
2174 - --no-pager # Disable the pager
2175 - --config: string # Additional configuration options (can be repeated)
2176 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2177 - --config-file: path # Additional configuration files (can be repeated)
2178 - --help(-h) # Print help (see more with '--help')
2181 - # Reset the patterns to include all files in the working copy
2182 - export extern "jj sparse reset" [
2183 - --repository(-R): path # Path to repository to operate on
2184 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2185 - --ignore-immutable # Allow rewriting immutable commits
2186 - --at-operation: string # Operation to load the repo at
2187 - --at-op: string # Operation to load the repo at
2188 - --debug # Enable debug logging
2189 - --color: string # When to colorize output (always, never, debug, auto)
2190 - --quiet # Silence non-primary command output
2191 - --no-pager # Disable the pager
2192 - --config: string # Additional configuration options (can be repeated)
2193 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2194 - --config-file: path # Additional configuration files (can be repeated)
2195 - --help(-h) # Print help (see more with '--help')
2198 - # Update the patterns that are present in the working copy
2199 - export extern "jj sparse set" [
2200 - --add: path # Patterns to add to the working copy
2201 - --remove: path # Patterns to remove from the working copy
2202 - --clear # Include no files in the working copy (combine with --add)
2203 - --repository(-R): path # Path to repository to operate on
2204 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2205 - --ignore-immutable # Allow rewriting immutable commits
2206 - --at-operation: string # Operation to load the repo at
2207 - --at-op: string # Operation to load the repo at
2208 - --debug # Enable debug logging
2209 - --color: string # When to colorize output (always, never, debug, auto)
2210 - --quiet # Silence non-primary command output
2211 - --no-pager # Disable the pager
2212 - --config: string # Additional configuration options (can be repeated)
2213 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2214 - --config-file: path # Additional configuration files (can be repeated)
2215 - --help(-h) # Print help (see more with '--help')
2218 - # Split a revision in two
2219 - export extern "jj split" [
2220 - --interactive(-i) # Interactively choose which parts to split
2221 - --tool: string # Specify diff editor to be used (implies --interactive)
2222 - --revision(-r): string # The revision to split
2223 - --parallel(-p) # Split the revision into two parallel revisions instead of a parent and child
2224 - ...paths: path # Files matching any of these filesets are put in the first commit
2225 - --repository(-R): path # Path to repository to operate on
2226 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2227 - --ignore-immutable # Allow rewriting immutable commits
2228 - --at-operation: string # Operation to load the repo at
2229 - --at-op: string # Operation to load the repo at
2230 - --debug # Enable debug logging
2231 - --color: string # When to colorize output (always, never, debug, auto)
2232 - --quiet # Silence non-primary command output
2233 - --no-pager # Disable the pager
2234 - --config: string # Additional configuration options (can be repeated)
2235 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2236 - --config-file: path # Additional configuration files (can be repeated)
2237 - --help(-h) # Print help (see more with '--help')
2240 - # Move changes from a revision into another revision
2241 - export extern "jj squash" [
2242 - --revision(-r): string # Revision to squash into its parent (default: @)
2243 - --from(-f): string # Revision(s) to squash from (default: @)
2244 - --into(-t): string # Revision to squash into (default: @)
2245 - --to: string # Revision to squash into (default: @)
2246 - --message(-m): string # The description to use for squashed revision (don't open editor)
2247 - --use-destination-message(-u) # Use the description of the destination revision and discard the description(s) of the source revision(s)
2248 - --interactive(-i) # Interactively choose which parts to squash
2249 - --tool: string # Specify diff editor to be used (implies --interactive)
2250 - ...paths: path # Move only changes to these paths (instead of all paths)
2251 - --keep-emptied(-k) # The source revision will not be abandoned
2252 - --repository(-R): path # Path to repository to operate on
2253 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2254 - --ignore-immutable # Allow rewriting immutable commits
2255 - --at-operation: string # Operation to load the repo at
2256 - --at-op: string # Operation to load the repo at
2257 - --debug # Enable debug logging
2258 - --color: string # When to colorize output (always, never, debug, auto)
2259 - --quiet # Silence non-primary command output
2260 - --no-pager # Disable the pager
2261 - --config: string # Additional configuration options (can be repeated)
2262 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2263 - --config-file: path # Additional configuration files (can be repeated)
2264 - --help(-h) # Print help (see more with '--help')
2267 - # Show high-level repo status
2268 - export extern "jj status" [
2269 - ...paths: path # Restrict the status display to these paths
2270 - --repository(-R): path # Path to repository to operate on
2271 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2272 - --ignore-immutable # Allow rewriting immutable commits
2273 - --at-operation: string # Operation to load the repo at
2274 - --at-op: string # Operation to load the repo at
2275 - --debug # Enable debug logging
2276 - --color: string # When to colorize output (always, never, debug, auto)
2277 - --quiet # Silence non-primary command output
2278 - --no-pager # Disable the pager
2279 - --config: string # Additional configuration options (can be repeated)
2280 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2281 - --config-file: path # Additional configuration files (can be repeated)
2282 - --help(-h) # Print help (see more with '--help')
2285 - # Manage tags
2286 - export extern "jj tag" [
2287 - --repository(-R): path # Path to repository to operate on
2288 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2289 - --ignore-immutable # Allow rewriting immutable commits
2290 - --at-operation: string # Operation to load the repo at
2291 - --at-op: string # Operation to load the repo at
2292 - --debug # Enable debug logging
2293 - --color: string # When to colorize output (always, never, debug, auto)
2294 - --quiet # Silence non-primary command output
2295 - --no-pager # Disable the pager
2296 - --config: string # Additional configuration options (can be repeated)
2297 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2298 - --config-file: path # Additional configuration files (can be repeated)
2299 - --help(-h) # Print help (see more with '--help')
2302 - # List tags
2303 - export extern "jj tag list" [
2304 - ...names: string # Show tags whose local name matches
2305 - --template(-T): string # Render each tag using the given template
2306 - --repository(-R): path # Path to repository to operate on
2307 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2308 - --ignore-immutable # Allow rewriting immutable commits
2309 - --at-operation: string # Operation to load the repo at
2310 - --at-op: string # Operation to load the repo at
2311 - --debug # Enable debug logging
2312 - --color: string # When to colorize output (always, never, debug, auto)
2313 - --quiet # Silence non-primary command output
2314 - --no-pager # Disable the pager
2315 - --config: string # Additional configuration options (can be repeated)
2316 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2317 - --config-file: path # Additional configuration files (can be repeated)
2318 - --help(-h) # Print help (see more with '--help')
2321 - # Infrequently used commands such as for generating shell completions
2322 - export extern "jj util" [
2323 - --repository(-R): path # Path to repository to operate on
2324 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2325 - --ignore-immutable # Allow rewriting immutable commits
2326 - --at-operation: string # Operation to load the repo at
2327 - --at-op: string # Operation to load the repo at
2328 - --debug # Enable debug logging
2329 - --color: string # When to colorize output (always, never, debug, auto)
2330 - --quiet # Silence non-primary command output
2331 - --no-pager # Disable the pager
2332 - --config: string # Additional configuration options (can be repeated)
2333 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2334 - --config-file: path # Additional configuration files (can be repeated)
2335 - --help(-h) # Print help (see more with '--help')
2338 - def "nu-complete jj util completion shell" [] {
2339 - [ "bash" "elvish" "fish" "nushell" "power-shell" "zsh" ]
2342 - # Print a command-line-completion script
2343 - export extern "jj util completion" [
2344 - shell?: string@"nu-complete jj util completion shell"
2345 - --bash # Deprecated. Use the SHELL positional argument instead
2346 - --fish # Deprecated. Use the SHELL positional argument instead
2347 - --zsh # Deprecated. Use the SHELL positional argument instead
2348 - --repository(-R): path # Path to repository to operate on
2349 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2350 - --ignore-immutable # Allow rewriting immutable commits
2351 - --at-operation: string # Operation to load the repo at
2352 - --at-op: string # Operation to load the repo at
2353 - --debug # Enable debug logging
2354 - --color: string # When to colorize output (always, never, debug, auto)
2355 - --quiet # Silence non-primary command output
2356 - --no-pager # Disable the pager
2357 - --config: string # Additional configuration options (can be repeated)
2358 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2359 - --config-file: path # Additional configuration files (can be repeated)
2360 - --help(-h) # Print help (see more with '--help')
2363 - # Print the JSON schema for the jj TOML config format
2364 - export extern "jj util config-schema" [
2365 - --repository(-R): path # Path to repository to operate on
2366 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2367 - --ignore-immutable # Allow rewriting immutable commits
2368 - --at-operation: string # Operation to load the repo at
2369 - --at-op: string # Operation to load the repo at
2370 - --debug # Enable debug logging
2371 - --color: string # When to colorize output (always, never, debug, auto)
2372 - --quiet # Silence non-primary command output
2373 - --no-pager # Disable the pager
2374 - --config: string # Additional configuration options (can be repeated)
2375 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2376 - --config-file: path # Additional configuration files (can be repeated)
2377 - --help(-h) # Print help (see more with '--help')
2380 - # Execute an external command via jj
2381 - export extern "jj util exec" [
2382 - command: string # External command to execute
2383 - ...args: string # Arguments to pass to the external command
2384 - --repository(-R): path # Path to repository to operate on
2385 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2386 - --ignore-immutable # Allow rewriting immutable commits
2387 - --at-operation: string # Operation to load the repo at
2388 - --at-op: string # Operation to load the repo at
2389 - --debug # Enable debug logging
2390 - --color: string # When to colorize output (always, never, debug, auto)
2391 - --quiet # Silence non-primary command output
2392 - --no-pager # Disable the pager
2393 - --config: string # Additional configuration options (can be repeated)
2394 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2395 - --config-file: path # Additional configuration files (can be repeated)
2396 - --help(-h) # Print help (see more with '--help')
2399 - # Run backend-dependent garbage collection
2400 - export extern "jj util gc" [
2401 - --expire: string # Time threshold
2402 - --repository(-R): path # Path to repository to operate on
2403 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2404 - --ignore-immutable # Allow rewriting immutable commits
2405 - --at-operation: string # Operation to load the repo at
2406 - --at-op: string # Operation to load the repo at
2407 - --debug # Enable debug logging
2408 - --color: string # When to colorize output (always, never, debug, auto)
2409 - --quiet # Silence non-primary command output
2410 - --no-pager # Disable the pager
2411 - --config: string # Additional configuration options (can be repeated)
2412 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2413 - --config-file: path # Additional configuration files (can be repeated)
2414 - --help(-h) # Print help (see more with '--help')
2417 - # Print a ROFF (manpage)
2418 - export extern "jj util mangen" [
2419 - --repository(-R): path # Path to repository to operate on
2420 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2421 - --ignore-immutable # Allow rewriting immutable commits
2422 - --at-operation: string # Operation to load the repo at
2423 - --at-op: string # Operation to load the repo at
2424 - --debug # Enable debug logging
2425 - --color: string # When to colorize output (always, never, debug, auto)
2426 - --quiet # Silence non-primary command output
2427 - --no-pager # Disable the pager
2428 - --config: string # Additional configuration options (can be repeated)
2429 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2430 - --config-file: path # Additional configuration files (can be repeated)
2431 - --help(-h) # Print help (see more with '--help')
2434 - # Print the CLI help for all subcommands in Markdown
2435 - export extern "jj util markdown-help" [
2436 - --repository(-R): path # Path to repository to operate on
2437 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2438 - --ignore-immutable # Allow rewriting immutable commits
2439 - --at-operation: string # Operation to load the repo at
2440 - --at-op: string # Operation to load the repo at
2441 - --debug # Enable debug logging
2442 - --color: string # When to colorize output (always, never, debug, auto)
2443 - --quiet # Silence non-primary command output
2444 - --no-pager # Disable the pager
2445 - --config: string # Additional configuration options (can be repeated)
2446 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2447 - --config-file: path # Additional configuration files (can be repeated)
2448 - --help(-h) # Print help (see more with '--help')
2451 - def "nu-complete jj undo what" [] {
2452 - [ "repo" "remote-tracking" ]
2455 - # Undo an operation (shortcut for `jj op undo`)
2456 - export extern "jj undo" [
2457 - operation?: string # The operation to undo
2458 - --what: string@"nu-complete jj undo what" # What portions of the local state to restore (can be repeated)
2459 - --repository(-R): path # Path to repository to operate on
2460 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2461 - --ignore-immutable # Allow rewriting immutable commits
2462 - --at-operation: string # Operation to load the repo at
2463 - --at-op: string # Operation to load the repo at
2464 - --debug # Enable debug logging
2465 - --color: string # When to colorize output (always, never, debug, auto)
2466 - --quiet # Silence non-primary command output
2467 - --no-pager # Disable the pager
2468 - --config: string # Additional configuration options (can be repeated)
2469 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2470 - --config-file: path # Additional configuration files (can be repeated)
2471 - --help(-h) # Print help (see more with '--help')
2474 - # Move changes from a revision's parent into the revision
2475 - export extern "jj unsquash" [
2476 - --revision(-r): string
2477 - --interactive(-i) # Interactively choose which parts to unsquash
2478 - --tool: string # Specify diff editor to be used (implies --interactive)
2479 - --repository(-R): path # Path to repository to operate on
2480 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2481 - --ignore-immutable # Allow rewriting immutable commits
2482 - --at-operation: string # Operation to load the repo at
2483 - --at-op: string # Operation to load the repo at
2484 - --debug # Enable debug logging
2485 - --color: string # When to colorize output (always, never, debug, auto)
2486 - --quiet # Silence non-primary command output
2487 - --no-pager # Disable the pager
2488 - --config: string # Additional configuration options (can be repeated)
2489 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2490 - --config-file: path # Additional configuration files (can be repeated)
2491 - --help(-h) # Print help (see more with '--help')
2494 - # Stop tracking specified paths in the working copy
2495 - export extern "jj untrack" [
2496 - ...paths: path # Paths to untrack. They must already be ignored
2497 - --repository(-R): path # Path to repository to operate on
2498 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2499 - --ignore-immutable # Allow rewriting immutable commits
2500 - --at-operation: string # Operation to load the repo at
2501 - --at-op: string # Operation to load the repo at
2502 - --debug # Enable debug logging
2503 - --color: string # When to colorize output (always, never, debug, auto)
2504 - --quiet # Silence non-primary command output
2505 - --no-pager # Disable the pager
2506 - --config: string # Additional configuration options (can be repeated)
2507 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2508 - --config-file: path # Additional configuration files (can be repeated)
2509 - --help(-h) # Print help (see more with '--help')
2512 - # Display version information
2513 - export extern "jj version" [
2514 - --repository(-R): path # Path to repository to operate on
2515 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2516 - --ignore-immutable # Allow rewriting immutable commits
2517 - --at-operation: string # Operation to load the repo at
2518 - --at-op: string # Operation to load the repo at
2519 - --debug # Enable debug logging
2520 - --color: string # When to colorize output (always, never, debug, auto)
2521 - --quiet # Silence non-primary command output
2522 - --no-pager # Disable the pager
2523 - --config: string # Additional configuration options (can be repeated)
2524 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2525 - --config-file: path # Additional configuration files (can be repeated)
2526 - --help(-h) # Print help (see more with '--help')
2529 - # Commands for working with workspaces
2530 - export extern "jj workspace" [
2531 - --repository(-R): path # Path to repository to operate on
2532 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2533 - --ignore-immutable # Allow rewriting immutable commits
2534 - --at-operation: string # Operation to load the repo at
2535 - --at-op: string # Operation to load the repo at
2536 - --debug # Enable debug logging
2537 - --color: string # When to colorize output (always, never, debug, auto)
2538 - --quiet # Silence non-primary command output
2539 - --no-pager # Disable the pager
2540 - --config: string # Additional configuration options (can be repeated)
2541 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2542 - --config-file: path # Additional configuration files (can be repeated)
2543 - --help(-h) # Print help (see more with '--help')
2546 - def "nu-complete jj workspace add sparse_patterns" [] {
2547 - [ "copy" "full" "empty" ]
2550 - # Add a workspace
2551 - export extern "jj workspace add" [
2552 - destination: string # Where to create the new workspace
2553 - --name: string # A name for the workspace
2554 - --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
2555 - --sparse-patterns: string@"nu-complete jj workspace add sparse_patterns" # How to handle sparse patterns when creating a new workspace
2556 - --repository(-R): path # Path to repository to operate on
2557 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2558 - --ignore-immutable # Allow rewriting immutable commits
2559 - --at-operation: string # Operation to load the repo at
2560 - --at-op: string # Operation to load the repo at
2561 - --debug # Enable debug logging
2562 - --color: string # When to colorize output (always, never, debug, auto)
2563 - --quiet # Silence non-primary command output
2564 - --no-pager # Disable the pager
2565 - --config: string # Additional configuration options (can be repeated)
2566 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2567 - --config-file: path # Additional configuration files (can be repeated)
2568 - --help(-h) # Print help (see more with '--help')
2571 - # Stop tracking a workspace's working-copy commit in the repo
2572 - export extern "jj workspace forget" [
2573 - ...workspaces: string # Names of the workspaces to forget. By default, forgets only the current workspace
2574 - --repository(-R): path # Path to repository to operate on
2575 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2576 - --ignore-immutable # Allow rewriting immutable commits
2577 - --at-operation: string # Operation to load the repo at
2578 - --at-op: string # Operation to load the repo at
2579 - --debug # Enable debug logging
2580 - --color: string # When to colorize output (always, never, debug, auto)
2581 - --quiet # Silence non-primary command output
2582 - --no-pager # Disable the pager
2583 - --config: string # Additional configuration options (can be repeated)
2584 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2585 - --config-file: path # Additional configuration files (can be repeated)
2586 - --help(-h) # Print help (see more with '--help')
2589 - # List workspaces
2590 - export extern "jj workspace list" [
2591 - --repository(-R): path # Path to repository to operate on
2592 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2593 - --ignore-immutable # Allow rewriting immutable commits
2594 - --at-operation: string # Operation to load the repo at
2595 - --at-op: string # Operation to load the repo at
2596 - --debug # Enable debug logging
2597 - --color: string # When to colorize output (always, never, debug, auto)
2598 - --quiet # Silence non-primary command output
2599 - --no-pager # Disable the pager
2600 - --config: string # Additional configuration options (can be repeated)
2601 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2602 - --config-file: path # Additional configuration files (can be repeated)
2603 - --help(-h) # Print help (see more with '--help')
2606 - # Renames the current workspace
2607 - export extern "jj workspace rename" [
2608 - new_workspace_name: string # The name of the workspace to update to
2609 - --repository(-R): path # Path to repository to operate on
2610 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2611 - --ignore-immutable # Allow rewriting immutable commits
2612 - --at-operation: string # Operation to load the repo at
2613 - --at-op: string # Operation to load the repo at
2614 - --debug # Enable debug logging
2615 - --color: string # When to colorize output (always, never, debug, auto)
2616 - --quiet # Silence non-primary command output
2617 - --no-pager # Disable the pager
2618 - --config: string # Additional configuration options (can be repeated)
2619 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2620 - --config-file: path # Additional configuration files (can be repeated)
2621 - --help(-h) # Print help (see more with '--help')
2624 - # Show the current workspace root directory
2625 - export extern "jj workspace root" [
2626 - --repository(-R): path # Path to repository to operate on
2627 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2628 - --ignore-immutable # Allow rewriting immutable commits
2629 - --at-operation: string # Operation to load the repo at
2630 - --at-op: string # Operation to load the repo at
2631 - --debug # Enable debug logging
2632 - --color: string # When to colorize output (always, never, debug, auto)
2633 - --quiet # Silence non-primary command output
2634 - --no-pager # Disable the pager
2635 - --config: string # Additional configuration options (can be repeated)
2636 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2637 - --config-file: path # Additional configuration files (can be repeated)
2638 - --help(-h) # Print help (see more with '--help')
2641 - # Update a workspace that has become stale
2642 - export extern "jj workspace update-stale" [
2643 - --repository(-R): path # Path to repository to operate on
2644 - --ignore-working-copy # Don't snapshot the working copy, and don't update it
2645 - --ignore-immutable # Allow rewriting immutable commits
2646 - --at-operation: string # Operation to load the repo at
2647 - --at-op: string # Operation to load the repo at
2648 - --debug # Enable debug logging
2649 - --color: string # When to colorize output (always, never, debug, auto)
2650 - --quiet # Silence non-primary command output
2651 - --no-pager # Disable the pager
2652 - --config: string # Additional configuration options (can be repeated)
2653 - --config-toml: string # Additional configuration options (can be repeated) (DEPRECATED)
2654 - --config-file: path # Additional configuration files (can be repeated)
2655 - --help(-h) # Print help (see more with '--help')
2660 -export use completions *

nushell/completions/pueue-completions.nu

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

nushell/env.nu

Modified
73 73 $env.NU_LIB_DIRS = [
74 74 ($nu.default-config-dir | path join 'scripts')
75 - ($nu.default-config-dir | path join 'completions')
78 77 # generate aliases here and now, so that we can apply conditions.
86 85 } else {
87 86 '' | save -f $zoxide_config_path
90 -# generate nix exports for sourcing later on
91 -let nixyourshell_config_path = $nu.default-config-dir | path join 'nixyourshell.nu'
92 -if not (which nix-your-shell | is-empty) {
93 - nix-your-shell nu | save --force $nixyourshell_config_path
94 -} else {
95 - '' | save -f $nixyourshell_config_path
98 -let jj_completions_path = $nu.default-config-dir | path join 'completions' | path join 'jj-completions.nu'
99 -if not (which jj | is-empty) {
100 - jj util completion nushell | save --force $jj_completions_path
101 -} else {
102 - '' | save -f $jj_completions_path
105 -let pueue_completions_path = $nu.default-config-dir | path join 'completions' | path join 'pueue-completions.nu'
106 -if not (which pueue | is-empty) {
107 - pueue completions nushell | save --force $pueue_completions_path
108 -} else {
109 - '' | save -f $pueue_completions_path
112 -# TODO: figure out sensible bridges
113 -$env.CARAPACE_BRIDGES = 'zsh,fish,bash,inshellisense'
114 -let carapace_config_path = $nu.default-config-dir | path join 'carapace.nu'
115 -if not (which carapace | is-empty) {
116 - carapace _carapace nushell | save --force $carapace_config_path
117 -} else {
118 - '' | save --force $carapace_config_path
121 -def --env wslg [] {
122 - load-env {
123 - DISPLAY:':0'
124 - WAYLAND_DISPLAY:'wayland-0'
125 - PULSE_SERVER:'/mnt/wslg/PulseServer'
126 - XDG_RUNTIME_DIR:'/mnt/wslg/runtime-dir'
127 - }
130 -if ( $env | get -i WSLENV | is-not-empty ) { wslg }

nushell/login.nu

Modified
1 1 use prompt.nu *
2 2 use commands.nu *
3 3 use sy.nu
4 -use bw.nu
5 4 use md.nu
6 5 use todo.nu
7 6 use ssh-keygen-ed.nu
10 9 use timer.nu
11 10 use dwnld.nu
12 11 use packages.nu
13 -use fedora_bootstrip.nu
14 12 use notes.nu
16 -source ($nu.default-config-dir | path join 'completions' | path join 'jj-completions.nu')
17 -source ($nu.default-config-dir | path join 'completions' | path join 'pueue-completions.nu')
19 14 if $env.WIN32 {
20 15 use refreshenv.nu *
23 18 source ($nu.default-config-dir | path join 'aliases.nu')
24 19 source ($nu.default-config-dir | path join "zoxide.nu")
25 -source ($nu.default-config-dir | path join "nixyourshell.nu")
26 -source ($nu.default-config-dir | path join "carapace.nu")
28 -# neovim configs
29 -def mini [...rest] { NVIM_APPNAME=mini-nvim nvim ...$rest }
30 -def rvim [...rest] { NVIM_APPNAME=rocks-nvim nvim ...$rest }

nushell/scripts/bw.nu

Deleted
deleted file mode 100644
1 -# fuzzy filter wrapper over rbw
2 -export def main [] {
3 -# TODO: needs to handle all kinds of weird rbw output
4 -# TODO: how to get the desired field into clipboard?
5 - ^sk --ansi -i -c 'rbw search {}' --preview "rbw get --full {3} {1}@{2}" --delimiter '@' --nth 2
6 -}

nushell/scripts/fedora_bootstrip.nu

Deleted
deleted file mode 100755
1 -# Installs my most used packages on fedora.
2 -# This mainly means devel packages for rust tools or tools in the repos.
3 -export def main [
4 - --gui # install gui stuff
5 -] {
7 - # building c/c++
8 - sudo dnf groupinstall "Development Tools" "Development Libraries"
10 - mut packages = [
11 - # deps of some rust crates i like to build
12 - fontconfig-devel
13 - freetype-devel
14 - libX11-xcb
15 - libX11-devel
16 - libstdc++-static
17 - libstdc++-devel
18 - alsa-lib-devel
19 - libspatialaudio-devel
20 - pipewire-devel
21 - systemd-devel
22 - libseat-devel
23 - cairo-gobject-devel
24 - pango-devel
25 - libdisplay-info-devel
26 - libinput-devel
27 - mesa-libgbm-devel
28 - openssl-devel
29 - wayland-devel
30 - pipewire-devel
31 - pango-devel
32 - mesa-libgbm-devel
33 - libxkbcommon-devel
34 - libseat-devel
35 - libspatialaudio-devel
36 - # these seem to be deps of the openssl-sys crates build system
37 - perl-File-Compare
38 - perl-File-Copy
39 - perl-FindBin
40 - perl-IPC-Cmd
41 - # java
42 - java-latest-openjdk
43 - java-latest-openjdk-src
44 - java-latest-openjdk-javadoc
45 - java-latest-openjdk-devel
46 - # other langs
47 - llvm
48 - clang
49 - cmake rustup
50 - golang
51 - mold
52 - # system stuff
53 - python3-dnf-plugin-rpmconf
54 - dnf-automatic
55 - # my stuff
56 - aerc
57 - unison
58 - neovim
59 - perl-Image-ExifTool
60 - ]
62 - # gui stuff
63 - if $gui {
64 - let gui_packages = [
65 - gnome-tweaks
66 - zathura
67 - zathura-pdf-mupdf
68 - ]
69 - $packages = $packages | append $gui_packages
71 - flatpak install com.bitwarden.desktop com.discordapp.Discord org.telegram.desktop rs.ruffle.Ruffle
72 - }
74 - sudo dnf install ...$packages
76 - sudo systemctl enable --now dnf-automatic-install.timer
77 -}

x230.symlinks

Modified
43 43 nushell/scripts
44 44 ~/.config/nushell/scripts
46 -nushell/completions
47 -~/.config/nushell/completions
49 46 icc/thinkpad_x230.icc
50 47 ~/.config/icc/thinkpad_x230.icc
70 67 fontconfig
71 68 ~/.config/fontconfig
73 -zed/keymap.json
74 -~/.config/zed/keymap.json
76 -zed/settings.json
77 -~/.config/zed/settings.json
79 70 aerc/binds.conf
80 71 ~/.config/aerc/binds.conf
88 79 pueue/pueued.service
89 80 ~/.config/systemd/user/pueued.service
91 -environment.d
92 -~/.config/environment.d
94 82 firefox/profiles.ini
95 83 ~/.mozilla/firefox/profiles.ini