From 6db68c711a469c2a91d305331ee7afeea28c8d1c Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 4 Dec 2024 09:56:12 -0600 Subject: [PATCH] update zsh completions --- home/private_dot_config/zsh/completions/_gh | 11 +- home/private_dot_config/zsh/completions/_jj | 4606 ++++++++++++ home/private_dot_config/zsh/completions/_pdm | 65 +- home/private_dot_config/zsh/completions/_pixi | 6166 ++++++++++++----- .../zsh/completions/executable_update.sh | 3 +- 5 files changed, 9283 insertions(+), 1568 deletions(-) create mode 100644 home/private_dot_config/zsh/completions/_jj diff --git a/home/private_dot_config/zsh/completions/_gh b/home/private_dot_config/zsh/completions/_gh index 41cf353..07179a0 100644 --- a/home/private_dot_config/zsh/completions/_gh +++ b/home/private_dot_config/zsh/completions/_gh @@ -1,4 +1,5 @@ #compdef gh +compdef _gh gh # zsh completion for gh -*- shell-script -*- @@ -17,8 +18,9 @@ _gh() local shellCompDirectiveNoFileComp=4 local shellCompDirectiveFilterFileExt=8 local shellCompDirectiveFilterDirs=16 + local shellCompDirectiveKeepOrder=32 - local lastParam lastChar flagPrefix requestComp out directive comp lastComp noSpace + local lastParam lastChar flagPrefix requestComp out directive comp lastComp noSpace keepOrder local -a completions __gh_debug "\n========= starting completion logic ==========" @@ -136,6 +138,11 @@ _gh() noSpace="-S ''" fi + if [ $((directive & shellCompDirectiveKeepOrder)) -ne 0 ]; then + __gh_debug "Activating keep order." + keepOrder="-V" + fi + if [ $((directive & shellCompDirectiveFilterFileExt)) -ne 0 ]; then # File extension filtering local filteringCmd @@ -171,7 +178,7 @@ _gh() return $result else __gh_debug "Calling _describe" - if eval _describe "completions" completions $flagPrefix $noSpace; then + if eval _describe $keepOrder "completions" completions $flagPrefix $noSpace; then __gh_debug "_describe found some completions" # Return the success of having called _describe diff --git a/home/private_dot_config/zsh/completions/_jj b/home/private_dot_config/zsh/completions/_jj new file mode 100644 index 0000000..dbafdce --- /dev/null +++ b/home/private_dot_config/zsh/completions/_jj @@ -0,0 +1,4606 @@ +#compdef jj + +autoload -U is-at-least + +_jj() { + typeset -A opt_args + typeset -a _arguments_options + local ret=1 + + if is-at-least 5.2; then + _arguments_options=(-s -S -C) + else + _arguments_options=(-s -C) + fi + + local context curcontext="$curcontext" state line + _arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'-V[Print version]' \ +'--version[Print version]' \ +":: :_jj_commands" \ +"*::: :->jj" \ +&& ret=0 + case $state in + (jj) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:jj-command-$line[1]:" + case $line[1] in + (abandon) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-s[Do not print every abandoned commit on a separate line]' \ +'--summary[Do not print every abandoned commit on a separate line]' \ +'*-r[Ignored (but lets you pass \`-r\` for consistency with other commands)]' \ +'--restore-descendants[Do not modify the content of the children of the abandoned commits]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::revisions -- The revision(s) to abandon:_default' \ +&& ret=0 +;; +(backout) +_arguments "${_arguments_options[@]}" : \ +'*-r+[The revision(s) to apply the reverse of]:REVISIONS:_default' \ +'*--revisions=[The revision(s) to apply the reverse of]:REVISIONS:_default' \ +'*-d+[The revision to apply the reverse changes on top of]:DESTINATION:_default' \ +'*--destination=[The revision to apply the reverse changes on top of]:DESTINATION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(bookmark) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_jj__bookmark_commands" \ +"*::: :->bookmark" \ +&& ret=0 + + case $state in + (bookmark) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:jj-bookmark-command-$line[1]:" + case $line[1] in + (create) +_arguments "${_arguments_options[@]}" : \ +'-r+[The bookmark'\''s target revision]:REVISION:_default' \ +'--revision=[The bookmark'\''s target revision]:REVISION:_default' \ +'--to=[The bookmark'\''s target revision]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- The bookmarks to create:_default' \ +&& ret=0 +;; +(c) +_arguments "${_arguments_options[@]}" : \ +'-r+[The bookmark'\''s target revision]:REVISION:_default' \ +'--revision=[The bookmark'\''s target revision]:REVISION:_default' \ +'--to=[The bookmark'\''s target revision]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- The bookmarks to create:_default' \ +&& ret=0 +;; +(delete) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- The bookmarks to delete:_default' \ +&& ret=0 +;; +(d) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- The bookmarks to delete:_default' \ +&& ret=0 +;; +(forget) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- The bookmarks to forget:_default' \ +&& ret=0 +;; +(f) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- The bookmarks to forget:_default' \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +'(-a --all-remotes)*--remote=[Show all tracking and non-tracking remote bookmarks belonging to this remote]:REMOTE:_default' \ +'*-r+[Show bookmarks whose local targets are in the given revisions]:REVISIONS:_default' \ +'*--revisions=[Show bookmarks whose local targets are in the given revisions]:REVISIONS:_default' \ +'-T+[Render each bookmark using the given template]:TEMPLATE:_default' \ +'--template=[Render each bookmark using the given template]:TEMPLATE:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-a[Show all tracking and non-tracking remote bookmarks including the ones whose targets are synchronized with the local bookmarks]' \ +'--all-remotes[Show all tracking and non-tracking remote bookmarks including the ones whose targets are synchronized with the local bookmarks]' \ +'(-a --all-remotes)-t[Show remote tracked bookmarks only. Omits local Git-tracking bookmarks by default]' \ +'(-a --all-remotes)--tracked[Show remote tracked bookmarks only. Omits local Git-tracking bookmarks by default]' \ +'(-a --all-remotes)-c[Show conflicted bookmarks only]' \ +'(-a --all-remotes)--conflicted[Show conflicted bookmarks only]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- Show bookmarks whose local name matches:_default' \ +&& ret=0 +;; +(l) +_arguments "${_arguments_options[@]}" : \ +'(-a --all-remotes)*--remote=[Show all tracking and non-tracking remote bookmarks belonging to this remote]:REMOTE:_default' \ +'*-r+[Show bookmarks whose local targets are in the given revisions]:REVISIONS:_default' \ +'*--revisions=[Show bookmarks whose local targets are in the given revisions]:REVISIONS:_default' \ +'-T+[Render each bookmark using the given template]:TEMPLATE:_default' \ +'--template=[Render each bookmark using the given template]:TEMPLATE:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-a[Show all tracking and non-tracking remote bookmarks including the ones whose targets are synchronized with the local bookmarks]' \ +'--all-remotes[Show all tracking and non-tracking remote bookmarks including the ones whose targets are synchronized with the local bookmarks]' \ +'(-a --all-remotes)-t[Show remote tracked bookmarks only. Omits local Git-tracking bookmarks by default]' \ +'(-a --all-remotes)--tracked[Show remote tracked bookmarks only. Omits local Git-tracking bookmarks by default]' \ +'(-a --all-remotes)-c[Show conflicted bookmarks only]' \ +'(-a --all-remotes)--conflicted[Show conflicted bookmarks only]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- Show bookmarks whose local name matches:_default' \ +&& ret=0 +;; +(move) +_arguments "${_arguments_options[@]}" : \ +'*--from=[Move bookmarks from the given revisions]:REVISIONS:_default' \ +'--to=[Move bookmarks to this revision]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-B[Allow moving bookmarks backwards or sideways]' \ +'--allow-backwards[Allow moving bookmarks backwards or sideways]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- Move bookmarks matching the given name patterns:_default' \ +&& ret=0 +;; +(m) +_arguments "${_arguments_options[@]}" : \ +'*--from=[Move bookmarks from the given revisions]:REVISIONS:_default' \ +'--to=[Move bookmarks to this revision]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-B[Allow moving bookmarks backwards or sideways]' \ +'--allow-backwards[Allow moving bookmarks backwards or sideways]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- Move bookmarks matching the given name patterns:_default' \ +&& ret=0 +;; +(rename) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':old -- The old name of the bookmark:_default' \ +':new -- The new name of the bookmark:_default' \ +&& ret=0 +;; +(r) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':old -- The old name of the bookmark:_default' \ +':new -- The new name of the bookmark:_default' \ +&& ret=0 +;; +(set) +_arguments "${_arguments_options[@]}" : \ +'-r+[The bookmark'\''s target revision]:REVISION:_default' \ +'--revision=[The bookmark'\''s target revision]:REVISION:_default' \ +'--to=[The bookmark'\''s target revision]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-B[Allow moving the bookmark backwards or sideways]' \ +'--allow-backwards[Allow moving the bookmark backwards or sideways]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- The bookmarks to update:_default' \ +&& ret=0 +;; +(s) +_arguments "${_arguments_options[@]}" : \ +'-r+[The bookmark'\''s target revision]:REVISION:_default' \ +'--revision=[The bookmark'\''s target revision]:REVISION:_default' \ +'--to=[The bookmark'\''s target revision]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-B[Allow moving the bookmark backwards or sideways]' \ +'--allow-backwards[Allow moving the bookmark backwards or sideways]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- The bookmarks to update:_default' \ +&& ret=0 +;; +(track) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- Remote bookmarks to track:_default' \ +&& ret=0 +;; +(t) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- Remote bookmarks to track:_default' \ +&& ret=0 +;; +(untrack) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- Remote bookmarks to untrack:_default' \ +&& ret=0 +;; + esac + ;; +esac +;; +(branch) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_jj__branch_commands" \ +"*::: :->branch" \ +&& ret=0 + + case $state in + (branch) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:jj-branch-command-$line[1]:" + case $line[1] in + (create) +_arguments "${_arguments_options[@]}" : \ +'-r+[The bookmark'\''s target revision]:REVISION:_default' \ +'--revision=[The bookmark'\''s target revision]:REVISION:_default' \ +'--to=[The bookmark'\''s target revision]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- The bookmarks to create:_default' \ +&& ret=0 +;; +(c) +_arguments "${_arguments_options[@]}" : \ +'-r+[The bookmark'\''s target revision]:REVISION:_default' \ +'--revision=[The bookmark'\''s target revision]:REVISION:_default' \ +'--to=[The bookmark'\''s target revision]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- The bookmarks to create:_default' \ +&& ret=0 +;; +(delete) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- The bookmarks to delete:_default' \ +&& ret=0 +;; +(d) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- The bookmarks to delete:_default' \ +&& ret=0 +;; +(forget) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- The bookmarks to forget:_default' \ +&& ret=0 +;; +(f) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- The bookmarks to forget:_default' \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +'(-a --all-remotes)*--remote=[Show all tracking and non-tracking remote bookmarks belonging to this remote]:REMOTE:_default' \ +'*-r+[Show bookmarks whose local targets are in the given revisions]:REVISIONS:_default' \ +'*--revisions=[Show bookmarks whose local targets are in the given revisions]:REVISIONS:_default' \ +'-T+[Render each bookmark using the given template]:TEMPLATE:_default' \ +'--template=[Render each bookmark using the given template]:TEMPLATE:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-a[Show all tracking and non-tracking remote bookmarks including the ones whose targets are synchronized with the local bookmarks]' \ +'--all-remotes[Show all tracking and non-tracking remote bookmarks including the ones whose targets are synchronized with the local bookmarks]' \ +'(-a --all-remotes)-t[Show remote tracked bookmarks only. Omits local Git-tracking bookmarks by default]' \ +'(-a --all-remotes)--tracked[Show remote tracked bookmarks only. Omits local Git-tracking bookmarks by default]' \ +'(-a --all-remotes)-c[Show conflicted bookmarks only]' \ +'(-a --all-remotes)--conflicted[Show conflicted bookmarks only]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- Show bookmarks whose local name matches:_default' \ +&& ret=0 +;; +(l) +_arguments "${_arguments_options[@]}" : \ +'(-a --all-remotes)*--remote=[Show all tracking and non-tracking remote bookmarks belonging to this remote]:REMOTE:_default' \ +'*-r+[Show bookmarks whose local targets are in the given revisions]:REVISIONS:_default' \ +'*--revisions=[Show bookmarks whose local targets are in the given revisions]:REVISIONS:_default' \ +'-T+[Render each bookmark using the given template]:TEMPLATE:_default' \ +'--template=[Render each bookmark using the given template]:TEMPLATE:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-a[Show all tracking and non-tracking remote bookmarks including the ones whose targets are synchronized with the local bookmarks]' \ +'--all-remotes[Show all tracking and non-tracking remote bookmarks including the ones whose targets are synchronized with the local bookmarks]' \ +'(-a --all-remotes)-t[Show remote tracked bookmarks only. Omits local Git-tracking bookmarks by default]' \ +'(-a --all-remotes)--tracked[Show remote tracked bookmarks only. Omits local Git-tracking bookmarks by default]' \ +'(-a --all-remotes)-c[Show conflicted bookmarks only]' \ +'(-a --all-remotes)--conflicted[Show conflicted bookmarks only]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- Show bookmarks whose local name matches:_default' \ +&& ret=0 +;; +(move) +_arguments "${_arguments_options[@]}" : \ +'*--from=[Move bookmarks from the given revisions]:REVISIONS:_default' \ +'--to=[Move bookmarks to this revision]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-B[Allow moving bookmarks backwards or sideways]' \ +'--allow-backwards[Allow moving bookmarks backwards or sideways]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- Move bookmarks matching the given name patterns:_default' \ +&& ret=0 +;; +(m) +_arguments "${_arguments_options[@]}" : \ +'*--from=[Move bookmarks from the given revisions]:REVISIONS:_default' \ +'--to=[Move bookmarks to this revision]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-B[Allow moving bookmarks backwards or sideways]' \ +'--allow-backwards[Allow moving bookmarks backwards or sideways]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- Move bookmarks matching the given name patterns:_default' \ +&& ret=0 +;; +(rename) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':old -- The old name of the bookmark:_default' \ +':new -- The new name of the bookmark:_default' \ +&& ret=0 +;; +(r) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':old -- The old name of the bookmark:_default' \ +':new -- The new name of the bookmark:_default' \ +&& ret=0 +;; +(set) +_arguments "${_arguments_options[@]}" : \ +'-r+[The bookmark'\''s target revision]:REVISION:_default' \ +'--revision=[The bookmark'\''s target revision]:REVISION:_default' \ +'--to=[The bookmark'\''s target revision]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-B[Allow moving the bookmark backwards or sideways]' \ +'--allow-backwards[Allow moving the bookmark backwards or sideways]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- The bookmarks to update:_default' \ +&& ret=0 +;; +(s) +_arguments "${_arguments_options[@]}" : \ +'-r+[The bookmark'\''s target revision]:REVISION:_default' \ +'--revision=[The bookmark'\''s target revision]:REVISION:_default' \ +'--to=[The bookmark'\''s target revision]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-B[Allow moving the bookmark backwards or sideways]' \ +'--allow-backwards[Allow moving the bookmark backwards or sideways]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- The bookmarks to update:_default' \ +&& ret=0 +;; +(track) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- Remote bookmarks to track:_default' \ +&& ret=0 +;; +(t) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- Remote bookmarks to track:_default' \ +&& ret=0 +;; +(untrack) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- Remote bookmarks to untrack:_default' \ +&& ret=0 +;; + esac + ;; +esac +;; +(cat) +_arguments "${_arguments_options[@]}" : \ +'-r+[The revision to get the file contents from]:REVISION:_default' \ +'--revision=[The revision to get the file contents from]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Paths to print:_files' \ +&& ret=0 +;; +(checkout) +_arguments "${_arguments_options[@]}" : \ +'*-m+[The change description to use]:MESSAGE:_default' \ +'*--message=[The change description to use]:MESSAGE:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-r[Ignored (but lets you pass \`-r\` for consistency with other commands)]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':revision -- The revision to update to:_default' \ +&& ret=0 +;; +(chmod) +_arguments "${_arguments_options[@]}" : \ +'-r+[The revision to update]:REVISION:_default' \ +'--revision=[The revision to update]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':mode:((n\:"Make a path non-executable (alias\: normal)" +x\:"Make a path executable (alias\: executable)"))' \ +'*::paths -- Paths to change the executable bit for:_files' \ +&& ret=0 +;; +(commit) +_arguments "${_arguments_options[@]}" : \ +'--tool=[Specify diff editor to be used (implies --interactive)]:NAME:_default' \ +'*-m+[The change description to use (don'\''t open editor)]:MESSAGE:_default' \ +'*--message=[The change description to use (don'\''t open editor)]:MESSAGE:_default' \ +'(--reset-author)--author=[Set author to the provided string]:AUTHOR:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-i[Interactively choose which changes to include in the first commit]' \ +'--interactive[Interactively choose which changes to include in the first commit]' \ +'--reset-author[Reset the author to the configured user]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Put these paths in the first commit:_files' \ +&& ret=0 +;; +(ci) +_arguments "${_arguments_options[@]}" : \ +'--tool=[Specify diff editor to be used (implies --interactive)]:NAME:_default' \ +'*-m+[The change description to use (don'\''t open editor)]:MESSAGE:_default' \ +'*--message=[The change description to use (don'\''t open editor)]:MESSAGE:_default' \ +'(--reset-author)--author=[Set author to the provided string]:AUTHOR:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-i[Interactively choose which changes to include in the first commit]' \ +'--interactive[Interactively choose which changes to include in the first commit]' \ +'--reset-author[Reset the author to the configured user]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Put these paths in the first commit:_files' \ +&& ret=0 +;; +(config) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_jj__config_commands" \ +"*::: :->config" \ +&& ret=0 + + case $state in + (config) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:jj-config-command-$line[1]:" + case $line[1] in + (edit) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--user[Target the user-level config]' \ +'--repo[Target the repo-level config]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(e) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--user[Target the user-level config]' \ +'--repo[Target the repo-level config]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(get) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':name:_default' \ +&& ret=0 +;; +(g) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':name:_default' \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +'-T+[Render each variable using the given template]:TEMPLATE:_default' \ +'--template=[Render each variable using the given template]:TEMPLATE:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'(--user --repo)--include-defaults[Whether to explicitly include built-in default values in the list]' \ +'--include-overridden[Allow printing overridden values]' \ +'--user[Target the user-level config]' \ +'--repo[Target the repo-level config]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::name -- An optional name of a specific config option to look up:_default' \ +&& ret=0 +;; +(l) +_arguments "${_arguments_options[@]}" : \ +'-T+[Render each variable using the given template]:TEMPLATE:_default' \ +'--template=[Render each variable using the given template]:TEMPLATE:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'(--user --repo)--include-defaults[Whether to explicitly include built-in default values in the list]' \ +'--include-overridden[Allow printing overridden values]' \ +'--user[Target the user-level config]' \ +'--repo[Target the repo-level config]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::name -- An optional name of a specific config option to look up:_default' \ +&& ret=0 +;; +(path) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--user[Target the user-level config]' \ +'--repo[Target the repo-level config]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(p) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--user[Target the user-level config]' \ +'--repo[Target the repo-level config]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(set) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--user[Target the user-level config]' \ +'--repo[Target the repo-level config]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':name:_default' \ +':value:_default' \ +&& ret=0 +;; +(s) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--user[Target the user-level config]' \ +'--repo[Target the repo-level config]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':name:_default' \ +':value:_default' \ +&& ret=0 +;; +(unset) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--user[Target the user-level config]' \ +'--repo[Target the repo-level config]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':name:_default' \ +&& ret=0 +;; +(u) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--user[Target the user-level config]' \ +'--repo[Target the repo-level config]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':name:_default' \ +&& ret=0 +;; + esac + ;; +esac +;; +(debug) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_jj__debug_commands" \ +"*::: :->debug" \ +&& ret=0 + + case $state in + (debug) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:jj-debug-command-$line[1]:" + case $line[1] in + (copy-detection) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::revision -- Show changes in this revision, compared to its parent(s):_default' \ +&& ret=0 +;; +(fileset) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':path:_files' \ +&& ret=0 +;; +(index) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(local-working-copy) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(operation) +_arguments "${_arguments_options[@]}" : \ +'--display=[]:DISPLAY:((operation\:"Show only the operation details" +id\:"Show the operation id only" +view\:"Show only the view details" +all\:"Show both the view and the operation"))' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::operation:_default' \ +&& ret=0 +;; +(view) +_arguments "${_arguments_options[@]}" : \ +'--display=[]:DISPLAY:((operation\:"Show only the operation details" +id\:"Show the operation id only" +view\:"Show only the view details" +all\:"Show both the view and the operation"))' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::operation:_default' \ +&& ret=0 +;; +(reindex) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(revset) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':revision:_default' \ +&& ret=0 +;; +(snapshot) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(template) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':template:_default' \ +&& ret=0 +;; +(tree) +_arguments "${_arguments_options[@]}" : \ +'-r+[]:REVISION:_default' \ +'--revision=[]:REVISION:_default' \ +'(-r --revision)--id=[]:ID:_default' \ +'--dir=[]:DIR:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths:_default' \ +&& ret=0 +;; +(watchman) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_jj__debug__watchman_commands" \ +"*::: :->watchman" \ +&& ret=0 + + case $state in + (watchman) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:jj-debug-watchman-command-$line[1]:" + case $line[1] in + (status) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(query-clock) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(query-changed-files) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(reset-clock) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; + esac + ;; +esac +;; +(working-copy) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; + esac + ;; +esac +;; +(describe) +_arguments "${_arguments_options[@]}" : \ +'*-m+[The change description to use (don'\''t open editor)]:MESSAGE:_default' \ +'*--message=[The change description to use (don'\''t open editor)]:MESSAGE:_default' \ +'(--reset-author)--author=[Set author to the provided string]:AUTHOR:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'*-r[Ignored (but lets you pass \`-r\` for consistency with other commands)]' \ +'--stdin[Read the change description from stdin]' \ +'--no-edit[Don'\''t open an editor]' \ +'--reset-author[Reset the author to the configured user]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::revisions -- The revision(s) whose description to edit:_default' \ +&& ret=0 +;; +(desc) +_arguments "${_arguments_options[@]}" : \ +'*-m+[The change description to use (don'\''t open editor)]:MESSAGE:_default' \ +'*--message=[The change description to use (don'\''t open editor)]:MESSAGE:_default' \ +'(--reset-author)--author=[Set author to the provided string]:AUTHOR:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'*-r[Ignored (but lets you pass \`-r\` for consistency with other commands)]' \ +'--stdin[Read the change description from stdin]' \ +'--no-edit[Don'\''t open an editor]' \ +'--reset-author[Reset the author to the configured user]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::revisions -- The revision(s) whose description to edit:_default' \ +&& ret=0 +;; +(diff) +_arguments "${_arguments_options[@]}" : \ +'-r+[Show changes in this revision, compared to its parent(s)]:REVISION:_default' \ +'--revision=[Show changes in this revision, compared to its parent(s)]:REVISION:_default' \ +'(-r --revision)--from=[Show changes from this revision]:FROM:_default' \ +'(-r --revision)--to=[Show changes to this revision]:TO:_default' \ +'--tool=[Generate diff by external command]:TOOL:_default' \ +'--context=[Number of lines of context to show]:CONTEXT:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-s[For each path, show only whether it was modified, added, or deleted]' \ +'--summary[For each path, show only whether it was modified, added, or deleted]' \ +'--stat[Show a histogram of the changes]' \ +'--types[For each path, show only its type before and after]' \ +'--name-only[For each path, show only its path]' \ +'--git[Show a Git-format diff]' \ +'--color-words[Show a word-level diff with changes indicated only by color]' \ +'-w[Ignore whitespace when comparing lines]' \ +'--ignore-all-space[Ignore whitespace when comparing lines]' \ +'(-w --ignore-all-space)-b[Ignore changes in amount of whitespace when comparing lines]' \ +'(-w --ignore-all-space)--ignore-space-change[Ignore changes in amount of whitespace when comparing lines]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Restrict the diff to these paths:_files' \ +&& ret=0 +;; +(diffedit) +_arguments "${_arguments_options[@]}" : \ +'-r+[The revision to touch up]:REVISION:_default' \ +'--revision=[The revision to touch up]:REVISION:_default' \ +'(-r --revision)--from=[Show changes from this revision]:FROM:_default' \ +'(-r --revision)--to=[Edit changes in this revision]:TO:_default' \ +'--tool=[Specify diff editor to be used]:NAME:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--restore-descendants[Preserve the content (not the diff) when rebasing descendants]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(duplicate) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'*-r[Ignored (but lets you pass \`-r\` for consistency with other commands)]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::revisions -- The revision(s) to duplicate:_default' \ +&& ret=0 +;; +(edit) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-r[Ignored (but lets you pass \`-r\` for consistency with other commands)]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':revision -- The commit to edit:_default' \ +&& ret=0 +;; +(evolog) +_arguments "${_arguments_options[@]}" : \ +'-r+[]:REVISION:_default' \ +'--revision=[]:REVISION:_default' \ +'-n+[Limit number of revisions to show]:LIMIT:_default' \ +'--limit=[Limit number of revisions to show]:LIMIT:_default' \ +'(-n --limit)-l+[]:LIMIT:_default' \ +'-T+[Render each revision using the given template]:TEMPLATE:_default' \ +'--template=[Render each revision using the given template]:TEMPLATE:_default' \ +'--tool=[Generate diff by external command]:TOOL:_default' \ +'--context=[Number of lines of context to show]:CONTEXT:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--no-graph[Don'\''t show the graph, show a flat list of revisions]' \ +'-p[Show patch compared to the previous version of this change]' \ +'--patch[Show patch compared to the previous version of this change]' \ +'-s[For each path, show only whether it was modified, added, or deleted]' \ +'--summary[For each path, show only whether it was modified, added, or deleted]' \ +'--stat[Show a histogram of the changes]' \ +'--types[For each path, show only its type before and after]' \ +'--name-only[For each path, show only its path]' \ +'--git[Show a Git-format diff]' \ +'--color-words[Show a word-level diff with changes indicated only by color]' \ +'--ignore-all-space[Ignore whitespace when comparing lines]' \ +'(--ignore-all-space)--ignore-space-change[Ignore changes in amount of whitespace when comparing lines]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(evolution-log) +_arguments "${_arguments_options[@]}" : \ +'-r+[]:REVISION:_default' \ +'--revision=[]:REVISION:_default' \ +'-n+[Limit number of revisions to show]:LIMIT:_default' \ +'--limit=[Limit number of revisions to show]:LIMIT:_default' \ +'(-n --limit)-l+[]:LIMIT:_default' \ +'-T+[Render each revision using the given template]:TEMPLATE:_default' \ +'--template=[Render each revision using the given template]:TEMPLATE:_default' \ +'--tool=[Generate diff by external command]:TOOL:_default' \ +'--context=[Number of lines of context to show]:CONTEXT:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--no-graph[Don'\''t show the graph, show a flat list of revisions]' \ +'-p[Show patch compared to the previous version of this change]' \ +'--patch[Show patch compared to the previous version of this change]' \ +'-s[For each path, show only whether it was modified, added, or deleted]' \ +'--summary[For each path, show only whether it was modified, added, or deleted]' \ +'--stat[Show a histogram of the changes]' \ +'--types[For each path, show only its type before and after]' \ +'--name-only[For each path, show only its path]' \ +'--git[Show a Git-format diff]' \ +'--color-words[Show a word-level diff with changes indicated only by color]' \ +'--ignore-all-space[Ignore whitespace when comparing lines]' \ +'(--ignore-all-space)--ignore-space-change[Ignore changes in amount of whitespace when comparing lines]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(file) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_jj__file_commands" \ +"*::: :->file" \ +&& ret=0 + + case $state in + (file) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:jj-file-command-$line[1]:" + case $line[1] in + (annotate) +_arguments "${_arguments_options[@]}" : \ +'-r+[an optional revision to start at]:REVISION:_default' \ +'--revision=[an optional revision to start at]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':path -- the file to annotate:_files' \ +&& ret=0 +;; +(chmod) +_arguments "${_arguments_options[@]}" : \ +'-r+[The revision to update]:REVISION:_default' \ +'--revision=[The revision to update]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':mode:((n\:"Make a path non-executable (alias\: normal)" +x\:"Make a path executable (alias\: executable)"))' \ +'*::paths -- Paths to change the executable bit for:_files' \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +'-r+[The revision to list files in]:REVISION:_default' \ +'--revision=[The revision to list files in]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Only list files matching these prefixes (instead of all files):_files' \ +&& ret=0 +;; +(show) +_arguments "${_arguments_options[@]}" : \ +'-r+[The revision to get the file contents from]:REVISION:_default' \ +'--revision=[The revision to get the file contents from]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Paths to print:_files' \ +&& ret=0 +;; +(track) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Paths to track:_files' \ +&& ret=0 +;; +(untrack) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Paths to untrack. They must already be ignored:_files' \ +&& ret=0 +;; + esac + ;; +esac +;; +(files) +_arguments "${_arguments_options[@]}" : \ +'-r+[The revision to list files in]:REVISION:_default' \ +'--revision=[The revision to list files in]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Only list files matching these prefixes (instead of all files):_files' \ +&& ret=0 +;; +(fix) +_arguments "${_arguments_options[@]}" : \ +'*-s+[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]:SOURCE:_default' \ +'*--source=[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]:SOURCE:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--include-unchanged-files[Fix unchanged files in addition to changed ones. If no paths are specified, all files in the repo will be fixed]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Fix only these paths:_files' \ +&& ret=0 +;; +(git) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_jj__git_commands" \ +"*::: :->git" \ +&& ret=0 + + case $state in + (git) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:jj-git-command-$line[1]:" + case $line[1] in + (clone) +_arguments "${_arguments_options[@]}" : \ +'--remote=[Name of the newly created remote]:REMOTE_NAME:_default' \ +'--depth=[Create a shallow clone of the given depth]:DEPTH:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--colocate[Whether or not to colocate the Jujutsu repo with the git repo]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':source -- URL or path of the Git repo to clone:_files -/' \ +'::destination -- 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:_files -/' \ +&& ret=0 +;; +(export) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(fetch) +_arguments "${_arguments_options[@]}" : \ +'*-b+[Fetch only some of the branches]:BRANCH:_default' \ +'*--branch=[Fetch only some of the branches]:BRANCH:_default' \ +'*--remote=[The remote to fetch from (only named remotes are supported, can be repeated)]:REMOTE:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'(--remote)--all-remotes[Fetch from all remotes]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(import) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(init) +_arguments "${_arguments_options[@]}" : \ +'(--colocate)--git-repo=[Specifies a path to an **existing** git repository to be used as the backing git repo for the newly created \`jj\` repo]:GIT_REPO:_files -/' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'(--git-repo)--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]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::destination -- 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:_files -/' \ +&& ret=0 +;; +(push) +_arguments "${_arguments_options[@]}" : \ +'--remote=[The remote to push to (only named remotes are supported)]:REMOTE:_default' \ +'*-b+[Push only this bookmark, or bookmarks matching a pattern (can be repeated)]:BOOKMARK:_default' \ +'*--bookmark=[Push only this bookmark, or bookmarks matching a pattern (can be repeated)]:BOOKMARK:_default' \ +'*-r+[Push bookmarks pointing to these commits (can be repeated)]:REVISIONS:_default' \ +'*--revisions=[Push bookmarks pointing to these commits (can be repeated)]:REVISIONS:_default' \ +'*-c+[Push this commit by creating a bookmark based on its change ID (can be repeated)]:CHANGE:_default' \ +'*--change=[Push this commit by creating a bookmark based on its change ID (can be repeated)]:CHANGE:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--all[Push all bookmarks (including deleted bookmarks)]' \ +'--tracked[Push all tracked bookmarks (including deleted bookmarks)]' \ +'--deleted[Push all deleted bookmarks]' \ +'--allow-empty-description[Allow pushing commits with empty descriptions]' \ +'--allow-private[Allow pushing commits that are private]' \ +'--dry-run[Only display what will change on the remote]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(remote) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_jj__git__remote_commands" \ +"*::: :->remote" \ +&& ret=0 + + case $state in + (remote) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:jj-git-remote-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':remote -- The remote'\''s name:_default' \ +':url -- The remote'\''s URL:_default' \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':remote -- The remote'\''s name:_default' \ +&& ret=0 +;; +(rename) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':old -- The name of an existing remote:_default' \ +':new -- The desired name for `old`:_default' \ +&& ret=0 +;; +(set-url) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':remote -- The remote'\''s name:_default' \ +':url -- The desired url for `remote`:_default' \ +&& ret=0 +;; + esac + ;; +esac +;; +(submodule) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_jj__git__submodule_commands" \ +"*::: :->submodule" \ +&& ret=0 + + case $state in + (submodule) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:jj-git-submodule-command-$line[1]:" + case $line[1] in + (print-gitmodules) +_arguments "${_arguments_options[@]}" : \ +'-r+[Read .gitmodules from the given revision]:REVISIONS:_default' \ +'--revisions=[Read .gitmodules from the given revision]:REVISIONS:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(help) +_arguments "${_arguments_options[@]}" : \ +'()-k+[Show help for keywords instead of commands]:KEYWORD:((revsets\:"A functional language for selecting a set of revision" +tutorial\:"Show a tutorial to get started with jj"))' \ +'()--keyword=[Show help for keywords instead of commands]:KEYWORD:((revsets\:"A functional language for selecting a set of revision" +tutorial\:"Show a tutorial to get started with jj"))' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::command -- Print help for the subcommand(s):_default' \ +&& ret=0 +;; +(init) +_arguments "${_arguments_options[@]}" : \ +'--git-repo=[DEPRECATED\: Use \`jj git init\` Path to a git repo the jj repo will be backed by]:GIT_REPO:_files -/' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--git[DEPRECATED\: Use \`jj git init\` Use the Git backend, creating a jj repo backed by a Git repo]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::destination -- The destination directory:_files -/' \ +&& ret=0 +;; +(interdiff) +_arguments "${_arguments_options[@]}" : \ +'--from=[Show changes from this revision]:FROM:_default' \ +'--to=[Show changes to this revision]:TO:_default' \ +'--tool=[Generate diff by external command]:TOOL:_default' \ +'--context=[Number of lines of context to show]:CONTEXT:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-s[For each path, show only whether it was modified, added, or deleted]' \ +'--summary[For each path, show only whether it was modified, added, or deleted]' \ +'--stat[Show a histogram of the changes]' \ +'--types[For each path, show only its type before and after]' \ +'--name-only[For each path, show only its path]' \ +'--git[Show a Git-format diff]' \ +'--color-words[Show a word-level diff with changes indicated only by color]' \ +'-w[Ignore whitespace when comparing lines]' \ +'--ignore-all-space[Ignore whitespace when comparing lines]' \ +'(-w --ignore-all-space)-b[Ignore changes in amount of whitespace when comparing lines]' \ +'(-w --ignore-all-space)--ignore-space-change[Ignore changes in amount of whitespace when comparing lines]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Restrict the diff to these paths:_files' \ +&& ret=0 +;; +(log) +_arguments "${_arguments_options[@]}" : \ +'*-r+[Which revisions to show]:REVISIONS:_default' \ +'*--revisions=[Which revisions to show]:REVISIONS:_default' \ +'-n+[Limit number of revisions to show]:LIMIT:_default' \ +'--limit=[Limit number of revisions to show]:LIMIT:_default' \ +'(-n --limit)-l+[]:LIMIT:_default' \ +'-T+[Render each revision using the given template]:TEMPLATE:_default' \ +'--template=[Render each revision using the given template]:TEMPLATE:_default' \ +'--tool=[Generate diff by external command]:TOOL:_default' \ +'--context=[Number of lines of context to show]:CONTEXT:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--reversed[Show revisions in the opposite order (older revisions first)]' \ +'--no-graph[Don'\''t show the graph, show a flat list of revisions]' \ +'-p[Show patch]' \ +'--patch[Show patch]' \ +'-s[For each path, show only whether it was modified, added, or deleted]' \ +'--summary[For each path, show only whether it was modified, added, or deleted]' \ +'--stat[Show a histogram of the changes]' \ +'--types[For each path, show only its type before and after]' \ +'--name-only[For each path, show only its path]' \ +'--git[Show a Git-format diff]' \ +'--color-words[Show a word-level diff with changes indicated only by color]' \ +'--ignore-all-space[Ignore whitespace when comparing lines]' \ +'(--ignore-all-space)--ignore-space-change[Ignore changes in amount of whitespace when comparing lines]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Show revisions modifying the given paths:_files' \ +&& ret=0 +;; +(merge) +_arguments "${_arguments_options[@]}" : \ +'*-m+[The change description to use]:MESSAGE:_default' \ +'*--message=[The change description to use]:MESSAGE:_default' \ +'()*-A+[Insert the new change after the given commit(s)]:INSERT_AFTER:_default' \ +'()*--insert-after=[Insert the new change after the given commit(s)]:INSERT_AFTER:_default' \ +'()*--after=[Insert the new change after the given commit(s)]:INSERT_AFTER:_default' \ +'()*-B+[Insert the new change before the given commit(s)]:INSERT_BEFORE:_default' \ +'()*--insert-before=[Insert the new change before the given commit(s)]:INSERT_BEFORE:_default' \ +'()*--before=[Insert the new change before the given commit(s)]:INSERT_BEFORE:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'*-d[Ignored (but lets you pass \`-d\`/\`-r\` for consistency with other commands)]' \ +'(--edit)--no-edit[Do not edit the newly created change]' \ +'--edit[No-op flag to pair with --no-edit]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::revisions -- Parent(s) of the new change:_default' \ +&& ret=0 +;; +(move) +_arguments "${_arguments_options[@]}" : \ +'-f+[Move part of this change into the destination]:FROM:_default' \ +'--from=[Move part of this change into the destination]:FROM:_default' \ +'-t+[Move part of the source into this change]:TO:_default' \ +'--to=[Move part of the source into this change]:TO:_default' \ +'--tool=[Specify diff editor to be used (implies --interactive)]:NAME:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-i[Interactively choose which parts to move]' \ +'--interactive[Interactively choose which parts to move]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Move only changes to these paths (instead of all paths):_files' \ +&& ret=0 +;; +(new) +_arguments "${_arguments_options[@]}" : \ +'*-m+[The change description to use]:MESSAGE:_default' \ +'*--message=[The change description to use]:MESSAGE:_default' \ +'()*-A+[Insert the new change after the given commit(s)]:INSERT_AFTER:_default' \ +'()*--insert-after=[Insert the new change after the given commit(s)]:INSERT_AFTER:_default' \ +'()*--after=[Insert the new change after the given commit(s)]:INSERT_AFTER:_default' \ +'()*-B+[Insert the new change before the given commit(s)]:INSERT_BEFORE:_default' \ +'()*--insert-before=[Insert the new change before the given commit(s)]:INSERT_BEFORE:_default' \ +'()*--before=[Insert the new change before the given commit(s)]:INSERT_BEFORE:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'*-d[Ignored (but lets you pass \`-d\`/\`-r\` for consistency with other commands)]' \ +'(--edit)--no-edit[Do not edit the newly created change]' \ +'--edit[No-op flag to pair with --no-edit]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::revisions -- Parent(s) of the new change:_default' \ +&& ret=0 +;; +(next) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-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\`)]' \ +'--edit[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\`)]' \ +'(-e --edit)-n[The inverse of \`--edit\`]' \ +'(-e --edit)--no-edit[The inverse of \`--edit\`]' \ +'()--conflict[Jump to the next conflicted descendant]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::offset -- How many revisions to move forward. Advances to the next child by default:_default' \ +&& ret=0 +;; +(operation) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_jj__operation_commands" \ +"*::: :->operation" \ +&& ret=0 + + case $state in + (operation) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:jj-operation-command-$line[1]:" + case $line[1] in + (abandon) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':operation -- The operation or operation range to abandon:_default' \ +&& ret=0 +;; +(diff) +_arguments "${_arguments_options[@]}" : \ +'--operation=[Show repository changes in this operation, compared to its parent]:OPERATION:_default' \ +'--op=[Show repository changes in this operation, compared to its parent]:OPERATION:_default' \ +'(--operation)--from=[Show repository changes from this operation]:FROM:_default' \ +'(--operation)--to=[Show repository changes to this operation]:TO:_default' \ +'--tool=[Generate diff by external command]:TOOL:_default' \ +'--context=[Number of lines of context to show]:CONTEXT:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--no-graph[Don'\''t show the graph, show a flat list of modified changes]' \ +'-p[Show patch of modifications to changes]' \ +'--patch[Show patch of modifications to changes]' \ +'-s[For each path, show only whether it was modified, added, or deleted]' \ +'--summary[For each path, show only whether it was modified, added, or deleted]' \ +'--stat[Show a histogram of the changes]' \ +'--types[For each path, show only its type before and after]' \ +'--name-only[For each path, show only its path]' \ +'--git[Show a Git-format diff]' \ +'--color-words[Show a word-level diff with changes indicated only by color]' \ +'--ignore-all-space[Ignore whitespace when comparing lines]' \ +'(--ignore-all-space)--ignore-space-change[Ignore changes in amount of whitespace when comparing lines]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(log) +_arguments "${_arguments_options[@]}" : \ +'-n+[Limit number of operations to show]:LIMIT:_default' \ +'--limit=[Limit number of operations to show]:LIMIT:_default' \ +'(-n --limit)-l+[]:LIMIT:_default' \ +'-T+[Render each operation using the given template]:TEMPLATE:_default' \ +'--template=[Render each operation using the given template]:TEMPLATE:_default' \ +'--tool=[Generate diff by external command]:TOOL:_default' \ +'--context=[Number of lines of context to show]:CONTEXT:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--no-graph[Don'\''t show the graph, show a flat list of operations]' \ +'--op-diff[Show changes to the repository at each operation]' \ +'-p[Show patch of modifications to changes (implies --op-diff)]' \ +'--patch[Show patch of modifications to changes (implies --op-diff)]' \ +'-s[For each path, show only whether it was modified, added, or deleted]' \ +'--summary[For each path, show only whether it was modified, added, or deleted]' \ +'--stat[Show a histogram of the changes]' \ +'--types[For each path, show only its type before and after]' \ +'--name-only[For each path, show only its path]' \ +'--git[Show a Git-format diff]' \ +'--color-words[Show a word-level diff with changes indicated only by color]' \ +'--ignore-all-space[Ignore whitespace when comparing lines]' \ +'(--ignore-all-space)--ignore-space-change[Ignore changes in amount of whitespace when comparing lines]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(restore) +_arguments "${_arguments_options[@]}" : \ +'*--what=[What portions of the local state to restore (can be repeated)]:WHAT:((repo\:"The jj repo state and local bookmarks" +remote-tracking\:"The remote-tracking bookmarks. Do not restore these if you'\''d like to push after the undo"))' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':operation -- The operation to restore to:_default' \ +&& ret=0 +;; +(show) +_arguments "${_arguments_options[@]}" : \ +'--tool=[Generate diff by external command]:TOOL:_default' \ +'--context=[Number of lines of context to show]:CONTEXT:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--no-graph[Don'\''t show the graph, show a flat list of modified changes]' \ +'-p[Show patch of modifications to changes]' \ +'--patch[Show patch of modifications to changes]' \ +'-s[For each path, show only whether it was modified, added, or deleted]' \ +'--summary[For each path, show only whether it was modified, added, or deleted]' \ +'--stat[Show a histogram of the changes]' \ +'--types[For each path, show only its type before and after]' \ +'--name-only[For each path, show only its path]' \ +'--git[Show a Git-format diff]' \ +'--color-words[Show a word-level diff with changes indicated only by color]' \ +'--ignore-all-space[Ignore whitespace when comparing lines]' \ +'(--ignore-all-space)--ignore-space-change[Ignore changes in amount of whitespace when comparing lines]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::operation -- Show repository changes in this operation, compared to its parent(s):_default' \ +&& ret=0 +;; +(undo) +_arguments "${_arguments_options[@]}" : \ +'*--what=[What portions of the local state to restore (can be repeated)]:WHAT:((repo\:"The jj repo state and local bookmarks" +remote-tracking\:"The remote-tracking bookmarks. Do not restore these if you'\''d like to push after the undo"))' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::operation -- The operation to undo:_default' \ +&& ret=0 +;; + esac + ;; +esac +;; +(op) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_jj__operation_commands" \ +"*::: :->operation" \ +&& ret=0 + + case $state in + (operation) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:jj-operation-command-$line[1]:" + case $line[1] in + (abandon) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':operation -- The operation or operation range to abandon:_default' \ +&& ret=0 +;; +(diff) +_arguments "${_arguments_options[@]}" : \ +'--operation=[Show repository changes in this operation, compared to its parent]:OPERATION:_default' \ +'--op=[Show repository changes in this operation, compared to its parent]:OPERATION:_default' \ +'(--operation)--from=[Show repository changes from this operation]:FROM:_default' \ +'(--operation)--to=[Show repository changes to this operation]:TO:_default' \ +'--tool=[Generate diff by external command]:TOOL:_default' \ +'--context=[Number of lines of context to show]:CONTEXT:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--no-graph[Don'\''t show the graph, show a flat list of modified changes]' \ +'-p[Show patch of modifications to changes]' \ +'--patch[Show patch of modifications to changes]' \ +'-s[For each path, show only whether it was modified, added, or deleted]' \ +'--summary[For each path, show only whether it was modified, added, or deleted]' \ +'--stat[Show a histogram of the changes]' \ +'--types[For each path, show only its type before and after]' \ +'--name-only[For each path, show only its path]' \ +'--git[Show a Git-format diff]' \ +'--color-words[Show a word-level diff with changes indicated only by color]' \ +'--ignore-all-space[Ignore whitespace when comparing lines]' \ +'(--ignore-all-space)--ignore-space-change[Ignore changes in amount of whitespace when comparing lines]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(log) +_arguments "${_arguments_options[@]}" : \ +'-n+[Limit number of operations to show]:LIMIT:_default' \ +'--limit=[Limit number of operations to show]:LIMIT:_default' \ +'(-n --limit)-l+[]:LIMIT:_default' \ +'-T+[Render each operation using the given template]:TEMPLATE:_default' \ +'--template=[Render each operation using the given template]:TEMPLATE:_default' \ +'--tool=[Generate diff by external command]:TOOL:_default' \ +'--context=[Number of lines of context to show]:CONTEXT:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--no-graph[Don'\''t show the graph, show a flat list of operations]' \ +'--op-diff[Show changes to the repository at each operation]' \ +'-p[Show patch of modifications to changes (implies --op-diff)]' \ +'--patch[Show patch of modifications to changes (implies --op-diff)]' \ +'-s[For each path, show only whether it was modified, added, or deleted]' \ +'--summary[For each path, show only whether it was modified, added, or deleted]' \ +'--stat[Show a histogram of the changes]' \ +'--types[For each path, show only its type before and after]' \ +'--name-only[For each path, show only its path]' \ +'--git[Show a Git-format diff]' \ +'--color-words[Show a word-level diff with changes indicated only by color]' \ +'--ignore-all-space[Ignore whitespace when comparing lines]' \ +'(--ignore-all-space)--ignore-space-change[Ignore changes in amount of whitespace when comparing lines]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(restore) +_arguments "${_arguments_options[@]}" : \ +'*--what=[What portions of the local state to restore (can be repeated)]:WHAT:((repo\:"The jj repo state and local bookmarks" +remote-tracking\:"The remote-tracking bookmarks. Do not restore these if you'\''d like to push after the undo"))' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':operation -- The operation to restore to:_default' \ +&& ret=0 +;; +(show) +_arguments "${_arguments_options[@]}" : \ +'--tool=[Generate diff by external command]:TOOL:_default' \ +'--context=[Number of lines of context to show]:CONTEXT:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--no-graph[Don'\''t show the graph, show a flat list of modified changes]' \ +'-p[Show patch of modifications to changes]' \ +'--patch[Show patch of modifications to changes]' \ +'-s[For each path, show only whether it was modified, added, or deleted]' \ +'--summary[For each path, show only whether it was modified, added, or deleted]' \ +'--stat[Show a histogram of the changes]' \ +'--types[For each path, show only its type before and after]' \ +'--name-only[For each path, show only its path]' \ +'--git[Show a Git-format diff]' \ +'--color-words[Show a word-level diff with changes indicated only by color]' \ +'--ignore-all-space[Ignore whitespace when comparing lines]' \ +'(--ignore-all-space)--ignore-space-change[Ignore changes in amount of whitespace when comparing lines]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::operation -- Show repository changes in this operation, compared to its parent(s):_default' \ +&& ret=0 +;; +(undo) +_arguments "${_arguments_options[@]}" : \ +'*--what=[What portions of the local state to restore (can be repeated)]:WHAT:((repo\:"The jj repo state and local bookmarks" +remote-tracking\:"The remote-tracking bookmarks. Do not restore these if you'\''d like to push after the undo"))' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::operation -- The operation to undo:_default' \ +&& ret=0 +;; + esac + ;; +esac +;; +(parallelize) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::revisions -- Revisions to parallelize:_default' \ +&& ret=0 +;; +(prev) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-e[Edit the parent directly, instead of moving the working-copy commit]' \ +'--edit[Edit the parent directly, instead of moving the working-copy commit]' \ +'(-e --edit)-n[The inverse of \`--edit\`]' \ +'(-e --edit)--no-edit[The inverse of \`--edit\`]' \ +'()--conflict[Jump to the previous conflicted ancestor]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::offset -- How many revisions to move backward. Moves to the parent by default:_default' \ +&& ret=0 +;; +(rebase) +_arguments "${_arguments_options[@]}" : \ +'(-A --insert-after -B --insert-before)*-b+[Rebase the whole branch relative to destination'\''s ancestors (can be repeated)]:BRANCH:_default' \ +'(-A --insert-after -B --insert-before)*--branch=[Rebase the whole branch relative to destination'\''s ancestors (can be repeated)]:BRANCH:_default' \ +'*-s+[Rebase specified revision(s) together with their trees of descendants (can be repeated)]:SOURCE:_default' \ +'*--source=[Rebase specified revision(s) together with their trees of descendants (can be repeated)]:SOURCE:_default' \ +'*-r+[Rebase the given revisions, rebasing descendants onto this revision'\''s parent(s)]:REVISIONS:_default' \ +'*--revisions=[Rebase the given revisions, rebasing descendants onto this revision'\''s parent(s)]:REVISIONS:_default' \ +'*-d+[The revision(s) to rebase onto (can be repeated to create a merge commit)]:DESTINATION:_default' \ +'*--destination=[The revision(s) to rebase onto (can be repeated to create a merge commit)]:DESTINATION:_default' \ +'(-d --destination)*-A+[The revision(s) to insert after (can be repeated to create a merge commit)]:INSERT_AFTER:_default' \ +'(-d --destination)*--insert-after=[The revision(s) to insert after (can be repeated to create a merge commit)]:INSERT_AFTER:_default' \ +'(-d --destination)*--after=[The revision(s) to insert after (can be repeated to create a merge commit)]:INSERT_AFTER:_default' \ +'(-d --destination)*-B+[The revision(s) to insert before (can be repeated to create a merge commit)]:INSERT_BEFORE:_default' \ +'(-d --destination)*--insert-before=[The revision(s) to insert before (can be repeated to create a merge commit)]:INSERT_BEFORE:_default' \ +'(-d --destination)*--before=[The revision(s) to insert before (can be repeated to create a merge commit)]:INSERT_BEFORE:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'(-r --revisions)--skip-empty[Deprecated. Use --skip-emptied instead]' \ +'(-r --revisions)--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]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(resolve) +_arguments "${_arguments_options[@]}" : \ +'-r+[]:REVISION:_default' \ +'--revision=[]:REVISION:_default' \ +'(-l --list)--tool=[Specify 3-way merge tool to be used]:NAME:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-l[Instead of resolving one conflict, list all the conflicts]' \ +'--list[Instead of resolving one conflict, list all the conflicts]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- 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:_files' \ +&& ret=0 +;; +(restore) +_arguments "${_arguments_options[@]}" : \ +'--from=[Revision to restore from (source)]:FROM:_default' \ +'--to=[Revision to restore into (destination)]:TO:_default' \ +'(--to --from)-c+[Undo the changes in a revision as compared to the merge of its parents]:REVISION:_default' \ +'(--to --from)--changes-in=[Undo the changes in a revision as compared to the merge of its parents]:REVISION:_default' \ +'-r+[Prints an error. DO NOT USE]:REVISION:_default' \ +'--revision=[Prints an error. DO NOT USE]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--restore-descendants[Preserve the content (not the diff) when rebasing descendants]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Restore only these paths (instead of all paths):_files' \ +&& ret=0 +;; +(revert) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::_args:_default' \ +&& ret=0 +;; +(root) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(run) +_arguments "${_arguments_options[@]}" : \ +'*-r+[The revisions to change]:REVISIONS:_default' \ +'*--revisions=[The revisions to change]:REVISIONS:_default' \ +'-j+[How many processes should run in parallel, uses by default all cores]:JOBS:_default' \ +'--jobs=[How many processes should run in parallel, uses by default all cores]:JOBS:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-x[A no-op option to match the interface of \`git rebase -x\`]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':shell_command -- The command to run across all selected revisions:_default' \ +&& ret=0 +;; +(show) +_arguments "${_arguments_options[@]}" : \ +'-T+[Render a revision using the given template]:TEMPLATE:_default' \ +'--template=[Render a revision using the given template]:TEMPLATE:_default' \ +'--tool=[Generate diff by external command]:TOOL:_default' \ +'--context=[Number of lines of context to show]:CONTEXT:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-r[Ignored (but lets you pass \`-r\` for consistency with other commands)]' \ +'-s[For each path, show only whether it was modified, added, or deleted]' \ +'--summary[For each path, show only whether it was modified, added, or deleted]' \ +'--stat[Show a histogram of the changes]' \ +'--types[For each path, show only its type before and after]' \ +'--name-only[For each path, show only its path]' \ +'--git[Show a Git-format diff]' \ +'--color-words[Show a word-level diff with changes indicated only by color]' \ +'--ignore-all-space[Ignore whitespace when comparing lines]' \ +'(--ignore-all-space)--ignore-space-change[Ignore changes in amount of whitespace when comparing lines]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::revision -- Show changes in this revision, compared to its parent(s):_default' \ +&& ret=0 +;; +(simplify-parents) +_arguments "${_arguments_options[@]}" : \ +'*-s+[Simplify specified revision(s) together with their trees of descendants (can be repeated)]:SOURCE:_default' \ +'*--source=[Simplify specified revision(s) together with their trees of descendants (can be repeated)]:SOURCE:_default' \ +'*-r+[Simplify specified revision(s) (can be repeated)]:REVISIONS:_default' \ +'*--revisions=[Simplify specified revision(s) (can be repeated)]:REVISIONS:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(sparse) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_jj__sparse_commands" \ +"*::: :->sparse" \ +&& ret=0 + + case $state in + (sparse) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:jj-sparse-command-$line[1]:" + case $line[1] in + (edit) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(reset) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(set) +_arguments "${_arguments_options[@]}" : \ +'*--add=[Patterns to add to the working copy]:ADD:_files' \ +'(--clear)*--remove=[Patterns to remove from the working copy]:REMOVE:_files' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--clear[Include no files in the working copy (combine with --add)]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; + esac + ;; +esac +;; +(split) +_arguments "${_arguments_options[@]}" : \ +'--tool=[Specify diff editor to be used (implies --interactive)]:NAME:_default' \ +'-r+[The revision to split]:REVISION:_default' \ +'--revision=[The revision to split]:REVISION:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-i[Interactively choose which parts to split. This is the default if no paths are provided]' \ +'--interactive[Interactively choose which parts to split. This is the default if no paths are provided]' \ +'-p[Split the revision into two parallel revisions instead of a parent and child]' \ +'--parallel[Split the revision into two parallel revisions instead of a parent and child]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Put these paths in the first commit:_files' \ +&& ret=0 +;; +(squash) +_arguments "${_arguments_options[@]}" : \ +'-r+[Revision to squash into its parent (default\: @)]:REVISION:_default' \ +'--revision=[Revision to squash into its parent (default\: @)]:REVISION:_default' \ +'(-r --revision)*-f+[Revision(s) to squash from (default\: @)]:FROM:_default' \ +'(-r --revision)*--from=[Revision(s) to squash from (default\: @)]:FROM:_default' \ +'(-r --revision)-t+[Revision to squash into (default\: @)]:INTO:_default' \ +'(-r --revision)--into=[Revision to squash into (default\: @)]:INTO:_default' \ +'(-r --revision)--to=[Revision to squash into (default\: @)]:INTO:_default' \ +'*-m+[The description to use for squashed revision (don'\''t open editor)]:MESSAGE:_default' \ +'*--message=[The description to use for squashed revision (don'\''t open editor)]:MESSAGE:_default' \ +'--tool=[Specify diff editor to be used (implies --interactive)]:NAME:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'(-m --message)-u[Use the description of the destination revision and discard the description(s) of the source revision(s)]' \ +'(-m --message)--use-destination-message[Use the description of the destination revision and discard the description(s) of the source revision(s)]' \ +'-i[Interactively choose which parts to squash]' \ +'--interactive[Interactively choose which parts to squash]' \ +'-k[The source revision will not be abandoned]' \ +'--keep-emptied[The source revision will not be abandoned]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Move only changes to these paths (instead of all paths):_files' \ +&& ret=0 +;; +(status) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Restrict the status display to these paths:_files' \ +&& ret=0 +;; +(st) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Restrict the status display to these paths:_files' \ +&& ret=0 +;; +(tag) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_jj__tag_commands" \ +"*::: :->tag" \ +&& ret=0 + + case $state in + (tag) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:jj-tag-command-$line[1]:" + case $line[1] in + (list) +_arguments "${_arguments_options[@]}" : \ +'-T+[Render each tag using the given template]:TEMPLATE:_default' \ +'--template=[Render each tag using the given template]:TEMPLATE:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- Show tags whose local name matches:_default' \ +&& ret=0 +;; +(l) +_arguments "${_arguments_options[@]}" : \ +'-T+[Render each tag using the given template]:TEMPLATE:_default' \ +'--template=[Render each tag using the given template]:TEMPLATE:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::names -- Show tags whose local name matches:_default' \ +&& ret=0 +;; + esac + ;; +esac +;; +(util) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_jj__util_commands" \ +"*::: :->util" \ +&& ret=0 + + case $state in + (util) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:jj-util-command-$line[1]:" + case $line[1] in + (completion) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--bash[Deprecated. Use the SHELL positional argument instead]' \ +'--fish[Deprecated. Use the SHELL positional argument instead]' \ +'--zsh[Deprecated. Use the SHELL positional argument instead]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::shell:(bash elvish fish nushell power-shell zsh)' \ +&& ret=0 +;; +(config-schema) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(gc) +_arguments "${_arguments_options[@]}" : \ +'--expire=[Time threshold]:EXPIRE:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(mangen) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(markdown-help) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; + esac + ;; +esac +;; +(undo) +_arguments "${_arguments_options[@]}" : \ +'*--what=[What portions of the local state to restore (can be repeated)]:WHAT:((repo\:"The jj repo state and local bookmarks" +remote-tracking\:"The remote-tracking bookmarks. Do not restore these if you'\''d like to push after the undo"))' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::operation -- The operation to undo:_default' \ +&& ret=0 +;; +(unsquash) +_arguments "${_arguments_options[@]}" : \ +'-r+[]:REVISION:_default' \ +'--revision=[]:REVISION:_default' \ +'--tool=[Specify diff editor to be used (implies --interactive)]:NAME:_default' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'-i[Interactively choose which parts to unsquash]' \ +'--interactive[Interactively choose which parts to unsquash]' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(untrack) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::paths -- Paths to untrack. They must already be ignored:_files' \ +&& ret=0 +;; +(version) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(workspace) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_jj__workspace_commands" \ +"*::: :->workspace" \ +&& ret=0 + + case $state in + (workspace) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:jj-workspace-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +'--name=[A name for the workspace]:NAME:_default' \ +'*-r+[A list of parent revisions for the working-copy commit of the newly created workspace. You may specify nothing, or any number of parents]:REVISION:_default' \ +'*--revision=[A list of parent revisions for the working-copy commit of the newly created workspace. You may specify nothing, or any number of parents]:REVISION:_default' \ +'--sparse-patterns=[How to handle sparse patterns when creating a new workspace]:SPARSE_PATTERNS:((copy\:"Copy all sparse patterns from the current workspace" +full\:"Include all files in the new workspace" +empty\:"Clear all files from the workspace (it will be empty)"))' \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':destination -- Where to create the new workspace:_default' \ +&& ret=0 +;; +(forget) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::workspaces -- Names of the workspaces to forget. By default, forgets only the current workspace:_default' \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(rename) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':new_workspace_name -- The name of the workspace to update to:_default' \ +&& ret=0 +;; +(root) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(update-stale) +_arguments "${_arguments_options[@]}" : \ +'-R+[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--repository=[Path to repository to operate on]:REPOSITORY:_files -/' \ +'--at-operation=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--at-op=[Operation to load the repo at]:AT_OPERATION:_default' \ +'--color=[When to colorize output (always, never, debug, auto)]:WHEN:_default' \ +'*--config-toml=[Additional configuration options (can be repeated)]:TOML:_default' \ +'--ignore-working-copy[Don'\''t snapshot the working copy, and don'\''t update it]' \ +'--ignore-immutable[Allow rewriting immutable commits]' \ +'--debug[Enable debug logging]' \ +'--quiet[Silence non-primary command output]' \ +'--no-pager[Disable the pager]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +} + +(( $+functions[_jj_commands] )) || +_jj_commands() { + local commands; commands=( +'abandon:Abandon a revision' \ +'backout:Apply the reverse of a revision on top of another revision' \ +'bookmark:Manage bookmarks' \ +'branch:Manage bookmarks' \ +'cat:Print contents of files in a revision' \ +'checkout:Create a new, empty change and edit it in the working copy (DEPRECATED, use \`jj new\`)' \ +'chmod:Sets or removes the executable bit for paths in the repo' \ +'commit:Update the description and create a new change on top' \ +'ci:Update the description and create a new change on top' \ +'config:Manage config options' \ +'debug:Low-level commands not intended for users' \ +'describe:Update the change description or other metadata' \ +'desc:Update the change description or other metadata' \ +'diff:Compare file contents between two revisions' \ +'diffedit:Touch up the content changes in a revision with a diff editor' \ +'duplicate:Create a new change with the same content as an existing one' \ +'edit:Sets the specified revision as the working-copy revision' \ +'evolog:Show how a change has evolved over time' \ +'evolution-log:Show how a change has evolved over time' \ +'file:File operations' \ +'files:List files in a revision (DEPRECATED use \`jj file list\`)' \ +'fix:Update files with formatting fixes or other changes' \ +'git:Commands for working with Git remotes and the underlying Git repo' \ +'help:Print this message or the help of the given subcommand(s)' \ +'init:Create a new repo in the given directory' \ +'interdiff:Compare the changes of two commits' \ +'log:Show revision history' \ +'merge:Merge work from multiple bookmarks (DEPRECATED, use \`jj new\`)' \ +'move:Move changes from one revision into another (DEPRECATED, use \`jj squash\`)' \ +'new:Create a new, empty change and (by default) edit it in the working copy' \ +'next:Move the working-copy commit to the child revision' \ +'operation:Commands for working with the operation log' \ +'op:Commands for working with the operation log' \ +'parallelize:Parallelize revisions by making them siblings' \ +'prev:Change the working copy revision relative to the parent revision' \ +'rebase:Move revisions to different parent(s)' \ +'resolve:Resolve a conflicted file with an external merge tool' \ +'restore:Restore paths from another revision' \ +'revert:A dummy command that accepts any arguments' \ +'root:Show the current workspace root directory' \ +'run:(**Stub**, does not work yet) Run a command across a set of revisions.' \ +'show:Show commit description and changes in a revision' \ +'simplify-parents:Simplify parent edges for the specified revision(s)' \ +'sparse:Manage which paths from the working-copy commit are present in the working copy' \ +'split:Split a revision in two' \ +'squash:Move changes from a revision into another revision' \ +'status:Show high-level repo status' \ +'st:Show high-level repo status' \ +'tag:Manage tags' \ +'util:Infrequently used commands such as for generating shell completions' \ +'undo:Undo an operation (shortcut for \`jj op undo\`)' \ +'unsquash:Move changes from a revision'\''s parent into the revision' \ +'untrack:Stop tracking specified paths in the working copy' \ +'version:Display version information' \ +'workspace:Commands for working with workspaces' \ + ) + _describe -t commands 'jj commands' commands "$@" +} +(( $+functions[_jj__abandon_commands] )) || +_jj__abandon_commands() { + local commands; commands=() + _describe -t commands 'jj abandon commands' commands "$@" +} +(( $+functions[_jj__backout_commands] )) || +_jj__backout_commands() { + local commands; commands=() + _describe -t commands 'jj backout commands' commands "$@" +} +(( $+functions[_jj__bookmark_commands] )) || +_jj__bookmark_commands() { + local commands; commands=( +'create:Create a new bookmark' \ +'c:Create a new bookmark' \ +'delete:Delete an existing bookmark and propagate the deletion to remotes on the next push' \ +'d:Delete an existing bookmark and propagate the deletion to remotes on the next push' \ +'forget:Forget everything about a bookmark, including its local and remote targets' \ +'f:Forget everything about a bookmark, including its local and remote targets' \ +'list:List bookmarks and their targets' \ +'l:List bookmarks and their targets' \ +'move:Move existing bookmarks to target revision' \ +'m:Move existing bookmarks to target revision' \ +'rename:Rename \`old\` bookmark name to \`new\` bookmark name' \ +'r:Rename \`old\` bookmark name to \`new\` bookmark name' \ +'set:Create or update a bookmark to point to a certain commit' \ +'s:Create or update a bookmark to point to a certain commit' \ +'track:Start tracking given remote bookmarks' \ +'t:Start tracking given remote bookmarks' \ +'untrack:Stop tracking given remote bookmarks' \ + ) + _describe -t commands 'jj bookmark commands' commands "$@" +} +(( $+functions[_jj__bookmark__create_commands] )) || +_jj__bookmark__create_commands() { + local commands; commands=() + _describe -t commands 'jj bookmark create commands' commands "$@" +} +(( $+functions[_jj__bookmark__delete_commands] )) || +_jj__bookmark__delete_commands() { + local commands; commands=() + _describe -t commands 'jj bookmark delete commands' commands "$@" +} +(( $+functions[_jj__bookmark__forget_commands] )) || +_jj__bookmark__forget_commands() { + local commands; commands=() + _describe -t commands 'jj bookmark forget commands' commands "$@" +} +(( $+functions[_jj__bookmark__list_commands] )) || +_jj__bookmark__list_commands() { + local commands; commands=() + _describe -t commands 'jj bookmark list commands' commands "$@" +} +(( $+functions[_jj__bookmark__move_commands] )) || +_jj__bookmark__move_commands() { + local commands; commands=() + _describe -t commands 'jj bookmark move commands' commands "$@" +} +(( $+functions[_jj__bookmark__rename_commands] )) || +_jj__bookmark__rename_commands() { + local commands; commands=() + _describe -t commands 'jj bookmark rename commands' commands "$@" +} +(( $+functions[_jj__bookmark__set_commands] )) || +_jj__bookmark__set_commands() { + local commands; commands=() + _describe -t commands 'jj bookmark set commands' commands "$@" +} +(( $+functions[_jj__bookmark__track_commands] )) || +_jj__bookmark__track_commands() { + local commands; commands=() + _describe -t commands 'jj bookmark track commands' commands "$@" +} +(( $+functions[_jj__bookmark__untrack_commands] )) || +_jj__bookmark__untrack_commands() { + local commands; commands=() + _describe -t commands 'jj bookmark untrack commands' commands "$@" +} +(( $+functions[_jj__branch_commands] )) || +_jj__branch_commands() { + local commands; commands=( +'create:Create a new bookmark' \ +'c:Create a new bookmark' \ +'delete:Delete an existing bookmark and propagate the deletion to remotes on the next push' \ +'d:Delete an existing bookmark and propagate the deletion to remotes on the next push' \ +'forget:Forget everything about a bookmark, including its local and remote targets' \ +'f:Forget everything about a bookmark, including its local and remote targets' \ +'list:List bookmarks and their targets' \ +'l:List bookmarks and their targets' \ +'move:Move existing bookmarks to target revision' \ +'m:Move existing bookmarks to target revision' \ +'rename:Rename \`old\` bookmark name to \`new\` bookmark name' \ +'r:Rename \`old\` bookmark name to \`new\` bookmark name' \ +'set:Create or update a bookmark to point to a certain commit' \ +'s:Create or update a bookmark to point to a certain commit' \ +'track:Start tracking given remote bookmarks' \ +'t:Start tracking given remote bookmarks' \ +'untrack:Stop tracking given remote bookmarks' \ + ) + _describe -t commands 'jj branch commands' commands "$@" +} +(( $+functions[_jj__branch__create_commands] )) || +_jj__branch__create_commands() { + local commands; commands=() + _describe -t commands 'jj branch create commands' commands "$@" +} +(( $+functions[_jj__branch__delete_commands] )) || +_jj__branch__delete_commands() { + local commands; commands=() + _describe -t commands 'jj branch delete commands' commands "$@" +} +(( $+functions[_jj__branch__forget_commands] )) || +_jj__branch__forget_commands() { + local commands; commands=() + _describe -t commands 'jj branch forget commands' commands "$@" +} +(( $+functions[_jj__branch__list_commands] )) || +_jj__branch__list_commands() { + local commands; commands=() + _describe -t commands 'jj branch list commands' commands "$@" +} +(( $+functions[_jj__branch__move_commands] )) || +_jj__branch__move_commands() { + local commands; commands=() + _describe -t commands 'jj branch move commands' commands "$@" +} +(( $+functions[_jj__branch__rename_commands] )) || +_jj__branch__rename_commands() { + local commands; commands=() + _describe -t commands 'jj branch rename commands' commands "$@" +} +(( $+functions[_jj__branch__set_commands] )) || +_jj__branch__set_commands() { + local commands; commands=() + _describe -t commands 'jj branch set commands' commands "$@" +} +(( $+functions[_jj__branch__track_commands] )) || +_jj__branch__track_commands() { + local commands; commands=() + _describe -t commands 'jj branch track commands' commands "$@" +} +(( $+functions[_jj__branch__untrack_commands] )) || +_jj__branch__untrack_commands() { + local commands; commands=() + _describe -t commands 'jj branch untrack commands' commands "$@" +} +(( $+functions[_jj__cat_commands] )) || +_jj__cat_commands() { + local commands; commands=() + _describe -t commands 'jj cat commands' commands "$@" +} +(( $+functions[_jj__checkout_commands] )) || +_jj__checkout_commands() { + local commands; commands=() + _describe -t commands 'jj checkout commands' commands "$@" +} +(( $+functions[_jj__chmod_commands] )) || +_jj__chmod_commands() { + local commands; commands=() + _describe -t commands 'jj chmod commands' commands "$@" +} +(( $+functions[_jj__commit_commands] )) || +_jj__commit_commands() { + local commands; commands=() + _describe -t commands 'jj commit commands' commands "$@" +} +(( $+functions[_jj__config_commands] )) || +_jj__config_commands() { + local commands; commands=( +'edit:Start an editor on a jj config file' \ +'e:Start an editor on a jj config file' \ +'get:Get the value of a given config option.' \ +'g:Get the value of a given config option.' \ +'list:List variables set in config file, along with their values' \ +'l:List variables set in config file, along with their values' \ +'path:Print the path to the config file' \ +'p:Print the path to the config file' \ +'set:Update config file to set the given option to a given value' \ +'s:Update config file to set the given option to a given value' \ +'unset:Update config file to unset the given option' \ +'u:Update config file to unset the given option' \ + ) + _describe -t commands 'jj config commands' commands "$@" +} +(( $+functions[_jj__config__edit_commands] )) || +_jj__config__edit_commands() { + local commands; commands=() + _describe -t commands 'jj config edit commands' commands "$@" +} +(( $+functions[_jj__config__get_commands] )) || +_jj__config__get_commands() { + local commands; commands=() + _describe -t commands 'jj config get commands' commands "$@" +} +(( $+functions[_jj__config__list_commands] )) || +_jj__config__list_commands() { + local commands; commands=() + _describe -t commands 'jj config list commands' commands "$@" +} +(( $+functions[_jj__config__path_commands] )) || +_jj__config__path_commands() { + local commands; commands=() + _describe -t commands 'jj config path commands' commands "$@" +} +(( $+functions[_jj__config__set_commands] )) || +_jj__config__set_commands() { + local commands; commands=() + _describe -t commands 'jj config set commands' commands "$@" +} +(( $+functions[_jj__config__unset_commands] )) || +_jj__config__unset_commands() { + local commands; commands=() + _describe -t commands 'jj config unset commands' commands "$@" +} +(( $+functions[_jj__debug_commands] )) || +_jj__debug_commands() { + local commands; commands=( +'copy-detection:Rebuild commit index' \ +'fileset:Parse fileset expression' \ +'index:Show commit index stats' \ +'local-working-copy:Show information about the local working copy state' \ +'operation:Show information about an operation and its view' \ +'view:Show information about an operation and its view' \ +'reindex:Rebuild commit index' \ +'revset:Evaluate revset to full commit IDs' \ +'snapshot:Trigger a snapshot in the op log' \ +'template:Parse a template' \ +'tree:List the recursive entries of a tree' \ +'watchman:' \ +'working-copy:Show information about the working copy state' \ + ) + _describe -t commands 'jj debug commands' commands "$@" +} +(( $+functions[_jj__debug__copy-detection_commands] )) || +_jj__debug__copy-detection_commands() { + local commands; commands=() + _describe -t commands 'jj debug copy-detection commands' commands "$@" +} +(( $+functions[_jj__debug__fileset_commands] )) || +_jj__debug__fileset_commands() { + local commands; commands=() + _describe -t commands 'jj debug fileset commands' commands "$@" +} +(( $+functions[_jj__debug__index_commands] )) || +_jj__debug__index_commands() { + local commands; commands=() + _describe -t commands 'jj debug index commands' commands "$@" +} +(( $+functions[_jj__debug__local-working-copy_commands] )) || +_jj__debug__local-working-copy_commands() { + local commands; commands=() + _describe -t commands 'jj debug local-working-copy commands' commands "$@" +} +(( $+functions[_jj__debug__operation_commands] )) || +_jj__debug__operation_commands() { + local commands; commands=() + _describe -t commands 'jj debug operation commands' commands "$@" +} +(( $+functions[_jj__debug__reindex_commands] )) || +_jj__debug__reindex_commands() { + local commands; commands=() + _describe -t commands 'jj debug reindex commands' commands "$@" +} +(( $+functions[_jj__debug__revset_commands] )) || +_jj__debug__revset_commands() { + local commands; commands=() + _describe -t commands 'jj debug revset commands' commands "$@" +} +(( $+functions[_jj__debug__snapshot_commands] )) || +_jj__debug__snapshot_commands() { + local commands; commands=() + _describe -t commands 'jj debug snapshot commands' commands "$@" +} +(( $+functions[_jj__debug__template_commands] )) || +_jj__debug__template_commands() { + local commands; commands=() + _describe -t commands 'jj debug template commands' commands "$@" +} +(( $+functions[_jj__debug__tree_commands] )) || +_jj__debug__tree_commands() { + local commands; commands=() + _describe -t commands 'jj debug tree commands' commands "$@" +} +(( $+functions[_jj__debug__watchman_commands] )) || +_jj__debug__watchman_commands() { + local commands; commands=( +'status:Check whether \`watchman\` is enabled and whether it'\''s correctly installed' \ +'query-clock:' \ +'query-changed-files:' \ +'reset-clock:' \ + ) + _describe -t commands 'jj debug watchman commands' commands "$@" +} +(( $+functions[_jj__debug__watchman__query-changed-files_commands] )) || +_jj__debug__watchman__query-changed-files_commands() { + local commands; commands=() + _describe -t commands 'jj debug watchman query-changed-files commands' commands "$@" +} +(( $+functions[_jj__debug__watchman__query-clock_commands] )) || +_jj__debug__watchman__query-clock_commands() { + local commands; commands=() + _describe -t commands 'jj debug watchman query-clock commands' commands "$@" +} +(( $+functions[_jj__debug__watchman__reset-clock_commands] )) || +_jj__debug__watchman__reset-clock_commands() { + local commands; commands=() + _describe -t commands 'jj debug watchman reset-clock commands' commands "$@" +} +(( $+functions[_jj__debug__watchman__status_commands] )) || +_jj__debug__watchman__status_commands() { + local commands; commands=() + _describe -t commands 'jj debug watchman status commands' commands "$@" +} +(( $+functions[_jj__debug__working-copy_commands] )) || +_jj__debug__working-copy_commands() { + local commands; commands=() + _describe -t commands 'jj debug working-copy commands' commands "$@" +} +(( $+functions[_jj__describe_commands] )) || +_jj__describe_commands() { + local commands; commands=() + _describe -t commands 'jj describe commands' commands "$@" +} +(( $+functions[_jj__diff_commands] )) || +_jj__diff_commands() { + local commands; commands=() + _describe -t commands 'jj diff commands' commands "$@" +} +(( $+functions[_jj__diffedit_commands] )) || +_jj__diffedit_commands() { + local commands; commands=() + _describe -t commands 'jj diffedit commands' commands "$@" +} +(( $+functions[_jj__duplicate_commands] )) || +_jj__duplicate_commands() { + local commands; commands=() + _describe -t commands 'jj duplicate commands' commands "$@" +} +(( $+functions[_jj__edit_commands] )) || +_jj__edit_commands() { + local commands; commands=() + _describe -t commands 'jj edit commands' commands "$@" +} +(( $+functions[_jj__evolog_commands] )) || +_jj__evolog_commands() { + local commands; commands=() + _describe -t commands 'jj evolog commands' commands "$@" +} +(( $+functions[_jj__file_commands] )) || +_jj__file_commands() { + local commands; commands=( +'annotate:Show the source change for each line of the target file' \ +'chmod:Sets or removes the executable bit for paths in the repo' \ +'list:List files in a revision' \ +'show:Print contents of files in a revision' \ +'track:Start tracking specified paths in the working copy' \ +'untrack:Stop tracking specified paths in the working copy' \ + ) + _describe -t commands 'jj file commands' commands "$@" +} +(( $+functions[_jj__file__annotate_commands] )) || +_jj__file__annotate_commands() { + local commands; commands=() + _describe -t commands 'jj file annotate commands' commands "$@" +} +(( $+functions[_jj__file__chmod_commands] )) || +_jj__file__chmod_commands() { + local commands; commands=() + _describe -t commands 'jj file chmod commands' commands "$@" +} +(( $+functions[_jj__file__list_commands] )) || +_jj__file__list_commands() { + local commands; commands=() + _describe -t commands 'jj file list commands' commands "$@" +} +(( $+functions[_jj__file__show_commands] )) || +_jj__file__show_commands() { + local commands; commands=() + _describe -t commands 'jj file show commands' commands "$@" +} +(( $+functions[_jj__file__track_commands] )) || +_jj__file__track_commands() { + local commands; commands=() + _describe -t commands 'jj file track commands' commands "$@" +} +(( $+functions[_jj__file__untrack_commands] )) || +_jj__file__untrack_commands() { + local commands; commands=() + _describe -t commands 'jj file untrack commands' commands "$@" +} +(( $+functions[_jj__files_commands] )) || +_jj__files_commands() { + local commands; commands=() + _describe -t commands 'jj files commands' commands "$@" +} +(( $+functions[_jj__fix_commands] )) || +_jj__fix_commands() { + local commands; commands=() + _describe -t commands 'jj fix commands' commands "$@" +} +(( $+functions[_jj__git_commands] )) || +_jj__git_commands() { + local commands; commands=( +'clone:Create a new repo backed by a clone of a Git repo' \ +'export:Update the underlying Git repo with changes made in the repo' \ +'fetch:Fetch from a Git remote' \ +'import:Update repo with changes made in the underlying Git repo' \ +'init:Create a new Git backed repo' \ +'push:Push to a Git remote' \ +'remote:Manage Git remotes' \ +'submodule:FOR INTERNAL USE ONLY Interact with git submodules' \ + ) + _describe -t commands 'jj git commands' commands "$@" +} +(( $+functions[_jj__git__clone_commands] )) || +_jj__git__clone_commands() { + local commands; commands=() + _describe -t commands 'jj git clone commands' commands "$@" +} +(( $+functions[_jj__git__export_commands] )) || +_jj__git__export_commands() { + local commands; commands=() + _describe -t commands 'jj git export commands' commands "$@" +} +(( $+functions[_jj__git__fetch_commands] )) || +_jj__git__fetch_commands() { + local commands; commands=() + _describe -t commands 'jj git fetch commands' commands "$@" +} +(( $+functions[_jj__git__import_commands] )) || +_jj__git__import_commands() { + local commands; commands=() + _describe -t commands 'jj git import commands' commands "$@" +} +(( $+functions[_jj__git__init_commands] )) || +_jj__git__init_commands() { + local commands; commands=() + _describe -t commands 'jj git init commands' commands "$@" +} +(( $+functions[_jj__git__push_commands] )) || +_jj__git__push_commands() { + local commands; commands=() + _describe -t commands 'jj git push commands' commands "$@" +} +(( $+functions[_jj__git__remote_commands] )) || +_jj__git__remote_commands() { + local commands; commands=( +'add:Add a Git remote' \ +'list:List Git remotes' \ +'remove:Remove a Git remote and forget its bookmarks' \ +'rename:Rename a Git remote' \ +'set-url:Set the URL of a Git remote' \ + ) + _describe -t commands 'jj git remote commands' commands "$@" +} +(( $+functions[_jj__git__remote__add_commands] )) || +_jj__git__remote__add_commands() { + local commands; commands=() + _describe -t commands 'jj git remote add commands' commands "$@" +} +(( $+functions[_jj__git__remote__list_commands] )) || +_jj__git__remote__list_commands() { + local commands; commands=() + _describe -t commands 'jj git remote list commands' commands "$@" +} +(( $+functions[_jj__git__remote__remove_commands] )) || +_jj__git__remote__remove_commands() { + local commands; commands=() + _describe -t commands 'jj git remote remove commands' commands "$@" +} +(( $+functions[_jj__git__remote__rename_commands] )) || +_jj__git__remote__rename_commands() { + local commands; commands=() + _describe -t commands 'jj git remote rename commands' commands "$@" +} +(( $+functions[_jj__git__remote__set-url_commands] )) || +_jj__git__remote__set-url_commands() { + local commands; commands=() + _describe -t commands 'jj git remote set-url commands' commands "$@" +} +(( $+functions[_jj__git__submodule_commands] )) || +_jj__git__submodule_commands() { + local commands; commands=( +'print-gitmodules:Print the relevant contents from .gitmodules. For debugging purposes only' \ + ) + _describe -t commands 'jj git submodule commands' commands "$@" +} +(( $+functions[_jj__git__submodule__print-gitmodules_commands] )) || +_jj__git__submodule__print-gitmodules_commands() { + local commands; commands=() + _describe -t commands 'jj git submodule print-gitmodules commands' commands "$@" +} +(( $+functions[_jj__help_commands] )) || +_jj__help_commands() { + local commands; commands=() + _describe -t commands 'jj help commands' commands "$@" +} +(( $+functions[_jj__init_commands] )) || +_jj__init_commands() { + local commands; commands=() + _describe -t commands 'jj init commands' commands "$@" +} +(( $+functions[_jj__interdiff_commands] )) || +_jj__interdiff_commands() { + local commands; commands=() + _describe -t commands 'jj interdiff commands' commands "$@" +} +(( $+functions[_jj__log_commands] )) || +_jj__log_commands() { + local commands; commands=() + _describe -t commands 'jj log commands' commands "$@" +} +(( $+functions[_jj__merge_commands] )) || +_jj__merge_commands() { + local commands; commands=() + _describe -t commands 'jj merge commands' commands "$@" +} +(( $+functions[_jj__move_commands] )) || +_jj__move_commands() { + local commands; commands=() + _describe -t commands 'jj move commands' commands "$@" +} +(( $+functions[_jj__new_commands] )) || +_jj__new_commands() { + local commands; commands=() + _describe -t commands 'jj new commands' commands "$@" +} +(( $+functions[_jj__next_commands] )) || +_jj__next_commands() { + local commands; commands=() + _describe -t commands 'jj next commands' commands "$@" +} +(( $+functions[_jj__operation_commands] )) || +_jj__operation_commands() { + local commands; commands=( +'abandon:Abandon operation history' \ +'diff:Compare changes to the repository between two operations' \ +'log:Show the operation log' \ +'restore:Create a new operation that restores the repo to an earlier state' \ +'show:Show changes to the repository in an operation' \ +'undo:Create a new operation that undoes an earlier operation' \ + ) + _describe -t commands 'jj operation commands' commands "$@" +} +(( $+functions[_jj__operation__abandon_commands] )) || +_jj__operation__abandon_commands() { + local commands; commands=() + _describe -t commands 'jj operation abandon commands' commands "$@" +} +(( $+functions[_jj__operation__diff_commands] )) || +_jj__operation__diff_commands() { + local commands; commands=() + _describe -t commands 'jj operation diff commands' commands "$@" +} +(( $+functions[_jj__operation__log_commands] )) || +_jj__operation__log_commands() { + local commands; commands=() + _describe -t commands 'jj operation log commands' commands "$@" +} +(( $+functions[_jj__operation__restore_commands] )) || +_jj__operation__restore_commands() { + local commands; commands=() + _describe -t commands 'jj operation restore commands' commands "$@" +} +(( $+functions[_jj__operation__show_commands] )) || +_jj__operation__show_commands() { + local commands; commands=() + _describe -t commands 'jj operation show commands' commands "$@" +} +(( $+functions[_jj__operation__undo_commands] )) || +_jj__operation__undo_commands() { + local commands; commands=() + _describe -t commands 'jj operation undo commands' commands "$@" +} +(( $+functions[_jj__parallelize_commands] )) || +_jj__parallelize_commands() { + local commands; commands=() + _describe -t commands 'jj parallelize commands' commands "$@" +} +(( $+functions[_jj__prev_commands] )) || +_jj__prev_commands() { + local commands; commands=() + _describe -t commands 'jj prev commands' commands "$@" +} +(( $+functions[_jj__rebase_commands] )) || +_jj__rebase_commands() { + local commands; commands=() + _describe -t commands 'jj rebase commands' commands "$@" +} +(( $+functions[_jj__resolve_commands] )) || +_jj__resolve_commands() { + local commands; commands=() + _describe -t commands 'jj resolve commands' commands "$@" +} +(( $+functions[_jj__restore_commands] )) || +_jj__restore_commands() { + local commands; commands=() + _describe -t commands 'jj restore commands' commands "$@" +} +(( $+functions[_jj__revert_commands] )) || +_jj__revert_commands() { + local commands; commands=() + _describe -t commands 'jj revert commands' commands "$@" +} +(( $+functions[_jj__root_commands] )) || +_jj__root_commands() { + local commands; commands=() + _describe -t commands 'jj root commands' commands "$@" +} +(( $+functions[_jj__run_commands] )) || +_jj__run_commands() { + local commands; commands=() + _describe -t commands 'jj run commands' commands "$@" +} +(( $+functions[_jj__show_commands] )) || +_jj__show_commands() { + local commands; commands=() + _describe -t commands 'jj show commands' commands "$@" +} +(( $+functions[_jj__simplify-parents_commands] )) || +_jj__simplify-parents_commands() { + local commands; commands=() + _describe -t commands 'jj simplify-parents commands' commands "$@" +} +(( $+functions[_jj__sparse_commands] )) || +_jj__sparse_commands() { + local commands; commands=( +'edit:Start an editor to update the patterns that are present in the working copy' \ +'list:List the patterns that are currently present in the working copy' \ +'reset:Reset the patterns to include all files in the working copy' \ +'set:Update the patterns that are present in the working copy' \ + ) + _describe -t commands 'jj sparse commands' commands "$@" +} +(( $+functions[_jj__sparse__edit_commands] )) || +_jj__sparse__edit_commands() { + local commands; commands=() + _describe -t commands 'jj sparse edit commands' commands "$@" +} +(( $+functions[_jj__sparse__list_commands] )) || +_jj__sparse__list_commands() { + local commands; commands=() + _describe -t commands 'jj sparse list commands' commands "$@" +} +(( $+functions[_jj__sparse__reset_commands] )) || +_jj__sparse__reset_commands() { + local commands; commands=() + _describe -t commands 'jj sparse reset commands' commands "$@" +} +(( $+functions[_jj__sparse__set_commands] )) || +_jj__sparse__set_commands() { + local commands; commands=() + _describe -t commands 'jj sparse set commands' commands "$@" +} +(( $+functions[_jj__split_commands] )) || +_jj__split_commands() { + local commands; commands=() + _describe -t commands 'jj split commands' commands "$@" +} +(( $+functions[_jj__squash_commands] )) || +_jj__squash_commands() { + local commands; commands=() + _describe -t commands 'jj squash commands' commands "$@" +} +(( $+functions[_jj__status_commands] )) || +_jj__status_commands() { + local commands; commands=() + _describe -t commands 'jj status commands' commands "$@" +} +(( $+functions[_jj__tag_commands] )) || +_jj__tag_commands() { + local commands; commands=( +'list:List tags' \ +'l:List tags' \ + ) + _describe -t commands 'jj tag commands' commands "$@" +} +(( $+functions[_jj__tag__list_commands] )) || +_jj__tag__list_commands() { + local commands; commands=() + _describe -t commands 'jj tag list commands' commands "$@" +} +(( $+functions[_jj__undo_commands] )) || +_jj__undo_commands() { + local commands; commands=() + _describe -t commands 'jj undo commands' commands "$@" +} +(( $+functions[_jj__unsquash_commands] )) || +_jj__unsquash_commands() { + local commands; commands=() + _describe -t commands 'jj unsquash commands' commands "$@" +} +(( $+functions[_jj__untrack_commands] )) || +_jj__untrack_commands() { + local commands; commands=() + _describe -t commands 'jj untrack commands' commands "$@" +} +(( $+functions[_jj__util_commands] )) || +_jj__util_commands() { + local commands; commands=( +'completion:Print a command-line-completion script' \ +'config-schema:Print the JSON schema for the jj TOML config format' \ +'gc:Run backend-dependent garbage collection' \ +'mangen:Print a ROFF (manpage)' \ +'markdown-help:Print the CLI help for all subcommands in Markdown' \ + ) + _describe -t commands 'jj util commands' commands "$@" +} +(( $+functions[_jj__util__completion_commands] )) || +_jj__util__completion_commands() { + local commands; commands=() + _describe -t commands 'jj util completion commands' commands "$@" +} +(( $+functions[_jj__util__config-schema_commands] )) || +_jj__util__config-schema_commands() { + local commands; commands=() + _describe -t commands 'jj util config-schema commands' commands "$@" +} +(( $+functions[_jj__util__gc_commands] )) || +_jj__util__gc_commands() { + local commands; commands=() + _describe -t commands 'jj util gc commands' commands "$@" +} +(( $+functions[_jj__util__mangen_commands] )) || +_jj__util__mangen_commands() { + local commands; commands=() + _describe -t commands 'jj util mangen commands' commands "$@" +} +(( $+functions[_jj__util__markdown-help_commands] )) || +_jj__util__markdown-help_commands() { + local commands; commands=() + _describe -t commands 'jj util markdown-help commands' commands "$@" +} +(( $+functions[_jj__version_commands] )) || +_jj__version_commands() { + local commands; commands=() + _describe -t commands 'jj version commands' commands "$@" +} +(( $+functions[_jj__workspace_commands] )) || +_jj__workspace_commands() { + local commands; commands=( +'add:Add a workspace' \ +'forget:Stop tracking a workspace'\''s working-copy commit in the repo' \ +'list:List workspaces' \ +'rename:Renames the current workspace' \ +'root:Show the current workspace root directory' \ +'update-stale:Update a workspace that has become stale' \ + ) + _describe -t commands 'jj workspace commands' commands "$@" +} +(( $+functions[_jj__workspace__add_commands] )) || +_jj__workspace__add_commands() { + local commands; commands=() + _describe -t commands 'jj workspace add commands' commands "$@" +} +(( $+functions[_jj__workspace__forget_commands] )) || +_jj__workspace__forget_commands() { + local commands; commands=() + _describe -t commands 'jj workspace forget commands' commands "$@" +} +(( $+functions[_jj__workspace__list_commands] )) || +_jj__workspace__list_commands() { + local commands; commands=() + _describe -t commands 'jj workspace list commands' commands "$@" +} +(( $+functions[_jj__workspace__rename_commands] )) || +_jj__workspace__rename_commands() { + local commands; commands=() + _describe -t commands 'jj workspace rename commands' commands "$@" +} +(( $+functions[_jj__workspace__root_commands] )) || +_jj__workspace__root_commands() { + local commands; commands=() + _describe -t commands 'jj workspace root commands' commands "$@" +} +(( $+functions[_jj__workspace__update-stale_commands] )) || +_jj__workspace__update-stale_commands() { + local commands; commands=() + _describe -t commands 'jj workspace update-stale commands' commands "$@" +} + +if [ "$funcstack[1]" = "_jj" ]; then + _jj "$@" +else + compdef _jj jj +fi diff --git a/home/private_dot_config/zsh/completions/_pdm b/home/private_dot_config/zsh/completions/_pdm index 2cea96f..9e0293f 100644 --- a/home/private_dot_config/zsh/completions/_pdm +++ b/home/private_dot_config/zsh/completions/_pdm @@ -30,7 +30,7 @@ _pdm() { 'list:List packages installed in the current working set' 'lock:Resolve and lock dependencies' 'self:Manage the PDM program itself (previously known as plugin)' - 'outdated:Check for outdated packages and list the latest versions' + 'outdated:Check for outdated packages and list the latest versions on indexes' 'publish:Build and publish the project to PyPI' 'python:Manage installed Python interpreters' 'py:Manage installed Python interpreters' @@ -50,7 +50,8 @@ _pdm() { {-V,--version}'[Show the version and exit]' \ {-I,--ignore-python}'[Ignore the Python path saved in .pdm-python]' \ '--no-cache:Disable the cache for the current command. [env var: PDM_NO_CACHE]' \ - '--pep582:Print the command line to be eval by the shell:shell:(zsh bash fish tcsh csh)' \ + '--pep582:Print the command line to be eval by the shell for PEP 582:shell:(zsh bash fish tcsh csh)' \ + {-n,--non-interactive}"[Don't show interactive prompts but use defaults. \[env var: PDM_NON_INTERACTIVE\]]" \ '*:: :->_subcmds' \ && return 0 @@ -68,6 +69,7 @@ _pdm() { {-d,--dev}'[Add packages into dev dependencies]' {-G,--group}'[Specify the target dependency group to add into]:group:_pdm_groups' {-L,--lockfile}'[Specify another lockfile path, or use `PDM_LOCKFILE` env variable. Default: pdm.lock]:lockfile:_files' + "--override+[Use the constraint file in pip-requirements format for overriding. \[env var: PDM_CONSTRAINT\] This option can be used multiple times. See https://pip.pypa.io/en/stable/user_guide/#constraints-files]:override:_files" '--no-sync[Only write pyproject.toml and do not sync the working set]' '--save-compatible[Save compatible version specifiers]' '--save-wildcard[Save wildcard version specifiers]' @@ -82,7 +84,7 @@ _pdm() { "--frozen-lockfile[Don't try to create or update the lockfile. \[env var: PDM_FROZEN_LOCKFILE\]]" '--venv[Run the command in the virtual environment with the given key. \[env var: PDM_IN_VENV\]]:venv:' {-k,--skip}'[Skip some tasks and/or hooks by their comma-separated names]' - {-u,--unconstrained}'[Ignore the version constraint of packages]' + {-u,--unconstrained}'[Ignore the version constraints in pyproject.toml and overwrite with new ones from the resolution result]' {--pre,--prerelease}'[Allow prereleases to be pinned]' "--stable[Only allow stable versions to be pinned]" {-e+,--editable+}'[Specify editable packages]:packages' @@ -153,9 +155,10 @@ _pdm() { export) arguments+=( {-g,--global}'[Use the global project, supply the project root with `-p` option]' - {-f+,--format+}"[Specify the export file format]:format:(pipfile poetry flit requirements setuppy)" + {-f+,--format+}"[Only requirements.txt is supported for now.]:format:(requirements)" "--no-hashes[Don't include artifact hashes]" "--no-markers[Don't include platform markers]" + "--no-extras[Strip extras from the requirements]" "--expandvars[Expand environment variables in requirements]" "--self[Include the project itself]" "--editable-self[Include the project itself as an editable dependency]" @@ -204,6 +207,8 @@ _pdm() { '--python[Specify the Python version/path to use]:python:' '--copier[Use Copier to generate project]' '--cookiecutter[Use Cookiecutter to generate project]' + '--license[Specify the license (SPDX name)]:license:' + "--project-version[Specify the project's version]:project_version:" '1:template:' ) ;; @@ -214,6 +219,7 @@ _pdm() { "--without+[Exclude groups of optional-dependencies or dev-dependencies]:group:_pdm_groups" {-d,--dev}"[Select dev dependencies]" {-L,--lockfile}'[Specify another lockfile path, or use `PDM_LOCKFILE` env variable. Default: pdm.lock]:lockfile:_files' + "--override+[Use the constraint file in pip-requirements format for overriding. \[env var: PDM_CONSTRAINT\] This option can be used multiple times. See https://pip.pypa.io/en/stable/user_guide/#constraints-files]:override:_files" {--prod,--production}"[Unselect dev dependencies]" {-k,--skip}'[Skip some tasks and/or hooks by their comma-separated names]' "--frozen-lockfile[Don't try to create or update the lockfile. \[env var: PDM_FROZEN_LOCKFILE\]]" @@ -238,7 +244,7 @@ _pdm() { '--json[Output dependencies in JSON document format]' '--csv[Output dependencies in CSV document format]' '--markdown[Output dependencies and legal notices in markdown document format - best effort basis]' - '{--tree,--graph}[Display a tree of dependencies]' + {--tree,--graph}'[Display a tree of dependencies]' "--freeze[Show the installed dependencies as pip's requirements.txt format]" "--include[Dependency groups to include in the output. By default all are included]:include:" "--exclude[Dependency groups to exclude from the output]:exclude:" @@ -258,6 +264,7 @@ _pdm() { "--check[Check if the lock file is up to date and quit]" {-G+,--group+,--with+}'[Select group of optional-dependencies or dev-dependencies(with -d). Can be supplied multiple times, use ":all" to include all groups under the same species]:group:_pdm_groups' "--without+[Exclude groups of optional-dependencies or dev-dependencies]:group:_pdm_groups" + "--override+[Use the constraint file in pip-requirements format for overriding. \[env var: PDM_CONSTRAINT\] This option can be used multiple times. See https://pip.pypa.io/en/stable/user_guide/#constraints-files]:override:_files" {-d,--dev}"[Select dev dependencies]" {--prod,--production}"[Unselect dev dependencies]" '--update-reuse[Reuse pinned versions already present in lock file if possible]' @@ -267,7 +274,11 @@ _pdm() { "--no-default[Don\'t include dependencies from the default group]" "--no-cross-platform[(DEPRECATED) Only lock packages for the current platform]" "--exclude-newer[Exclude packages newer than the given UTC date in format YYYY-MM-DD\[THH:MM:SSZ\]]:exclude-newer:" - {-S,--strategy}'[Specify lock strategy(cross_platform,static_urls,direct_minimal_versions). Add no_ prefix to disable. Support given multiple times or split by comma.]:strategy:' + {-S,--strategy}'[Specify lock strategy(cross_platform,static_urls,direct_minimal_versions). Add no_ prefix to disable. Support given multiple times or split by comma.]:strategy:_pdm_lock_strategy' + "--append[Append the result to the current lock file]" + "--python[The Python range to lock for. E.g. >=3.9, ==3.12.*]:python:" + "--implementation[The Python implementation to lock for. E.g. cpython, pypy]:implementation:" + "--platform[The platform to lock for. E.g. linux, windows, macos, alpine, windows_amd64]:platform:_pdm_lock_platform" ) ;; outdated) @@ -350,6 +361,7 @@ _pdm() { install) arguments+=( '--list[List all available Python versions]' + '--min[Use minimum instead of highest version for installation if `version` is left empty]' ':python:_files' ) ;; @@ -382,6 +394,7 @@ _pdm() { {-G,--group}'[Specify the target dependency group to remove from]:group:_pdm_groups' {-d,--dev}"[Remove packages from dev dependencies]" {-L,--lockfile}'[Specify another lockfile path, or use `PDM_LOCKFILE` env variable. Default: pdm.lock]:lockfile:_files' + "--override+[Use the constraint file in pip-requirements format for overriding. \[env var: PDM_CONSTRAINT\] This option can be used multiple times. See https://pip.pypa.io/en/stable/user_guide/#constraints-files]:override:_files" {-k,--skip}'[Skip some tasks and/or hooks by their comma-separated names]' "--no-sync[Only write pyproject.toml and do not uninstall packages]" '--no-editable[Install non-editable versions for all packages]' @@ -400,6 +413,7 @@ _pdm() { {-g,--global}'[Use the global project, supply the project root with `-p` option]' \ {-l,--list}'[Show all available scripts defined in pyproject.toml]' \ '--json[Output all scripts infos in JSON]' \ + '--recreate[Recreate the script environment for self-contained scripts]' \ {-k,--skip}'[Skip some tasks and/or hooks by their comma-separated names]' \ {-s,--site-packages}'[Load site-packages from the selected interpreter]' \ '--venv[Run the command in the virtual environment with the given key. \[env var: PDM_IN_VENV\]]:venv:' \ @@ -442,7 +456,8 @@ _pdm() { '--dry-run[Only prints actions without actually running them]' {-r,--reinstall}"[Force reinstall existing dependencies]" '--clean[Clean unused packages]' - "--only-keep[Only keep the selected packages]" + "--clean-unselected[Remove all but the selected packages]" + "--only-keep[Remove all but the selected packages]" "--no-default[Don\'t include dependencies from the default group]" {-x,--fail-fast}'[Abort on first installation error]' '--no-editable[Install non-editable versions for all packages]' @@ -458,6 +473,7 @@ _pdm() { {-G+,--group+,--with+}'[Select group of optional-dependencies or dev-dependencies(with -d). Can be supplied multiple times, use ":all" to include all groups under the same species]:group:_pdm_groups' "--without+[Exclude groups of optional-dependencies or dev-dependencies]:group:_pdm_groups" {-L,--lockfile}'[Specify another lockfile path, or use `PDM_LOCKFILE` env variable. Default: pdm.lock]:lockfile:_files' + "--override+[Use the constraint file in pip-requirements format for overriding. \[env var: PDM_CONSTRAINT\] This option can be used multiple times. See https://pip.pypa.io/en/stable/user_guide/#constraints-files]:override:_files" '--save-compatible[Save compatible version specifiers]' '--save-wildcard[Save wildcard version specifiers]' '--save-exact[Save exact version specifiers]' @@ -471,7 +487,7 @@ _pdm() { "--no-sync[Only update lock file but do not sync packages]" "--frozen-lockfile[Don't try to create or update the lockfile. \[env var: PDM_FROZEN_LOCKFILE\]]" {-k,--skip}'[Skip some tasks and/or hooks by their comma-separated names]' - {-u,--unconstrained}'[Ignore the version constraint of packages]' + {-u,--unconstrained}'[Ignore the version constraints in pyproject.toml and overwrite with new ones from the resolution result]' {--pre,--prerelease}'[Allow prereleases to be pinned]' "--stable[Only allow stable versions to be pinned]" {-d,--dev}'[Select dev dependencies]' @@ -489,7 +505,9 @@ _pdm() { ;; use) arguments+=( - {-f,--first}'[Select the first matched interpreter]' + {-f,--first}'[Select the first matched interpreter -- no auto install]' + '--auto-install-min[If `python` argument not given, auto install minimum best match - otherwise has no effect]' + '--auto-install-max[If `python` argument not given, auto install maximum best match - otherwise has no effect]' {-i,--ignore-remembered}'[Ignore the remembered selection]' '--venv[Use the interpreter in the virtual environment with the given name]:venv:' '*:python:_files' @@ -625,6 +643,35 @@ _pdm_packages() { compadd -X packages -a packages } +_pdm_lock_strategy() { + local -a strategy=( + 'cross_platform:(DEPRECATED)Lock packages for all platforms' + 'inherit_metadata:Calculate and store the markers for the packages' + 'static_urls:Store static file URLs in the lockfile' + 'direct_minimal_versions:Store the minimal versions of the dependencies' + 'no_cross_platform:Only lock packages for the current platform' + 'no_static_urls:Do not store static file URLs in the lockfile' + 'no_inherit_metadata:Do not calculate and store the markers for the packages' + 'no_direct_minimal_versions:Do not store the minimal versions of the dependencies' + ) + _describe -t strategy "lock strategy" strategy +} + +_pdm_lock_platform() { + local -a platforms=( + "linux" + "windows" + "macos" + "alpine" + "windows_amd64" + "windows_x86" + "windows_arm64" + "macos_arm64" + "macos_x86_64" + ) + _describe -t platform "platform" platforms +} + _pdm_caching_policy() { [[ ! -f $1 && -n "$1"(Nm+28) ]] } diff --git a/home/private_dot_config/zsh/completions/_pixi b/home/private_dot_config/zsh/completions/_pixi index c155768..326cfa0 100644 --- a/home/private_dot_config/zsh/completions/_pixi +++ b/home/private_dot_config/zsh/completions/_pixi @@ -14,13 +14,13 @@ _pixi() { fi local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ + _arguments "${_arguments_options[@]}" : \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ '-V[Print version]' \ @@ -34,559 +34,467 @@ _pixi() { (( CURRENT += 1 )) curcontext="${curcontext%:*:*}:pixi-command-$line[1]:" case $line[1] in - (completion) -_arguments "${_arguments_options[@]}" \ -'-s+[The shell to generate a completion script for (defaults to '\''bash'\'')]:SHELL:(bash elvish fish powershell zsh)' \ -'--shell=[The shell to generate a completion script for (defaults to '\''bash'\'')]:SHELL:(bash elvish fish powershell zsh)' \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -&& ret=0 -;; -(init) -_arguments "${_arguments_options[@]}" \ + (init) +_arguments "${_arguments_options[@]}" : \ '(-i --import)*-c+[Channels to use in the project]:channel: ' \ '(-i --import)*--channel=[Channels to use in the project]:channel: ' \ '*-p+[Platforms that the project supports]:platform: ' \ '*--platform=[Platforms that the project supports]:platform: ' \ '-i+[Environment.yml file to bootstrap the project]:ENV_FILE:_files' \ '--import=[Environment.yml file to bootstrap the project]:ENV_FILE:_files' \ +'(-i --import --pyproject-toml)--format=[The manifest format to create]:FORMAT:(pixi pyproject)' \ +'-s+[Source Control Management used for this project]:SCM:(github gitlab codeberg)' \ +'--scm=[Source Control Management used for this project]:SCM:(github gitlab codeberg)' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'(-i --import)--pyproject[Create a pyproject.toml manifest instead of a pixi.toml manifest]' \ +'(-i --import --format)--pyproject-toml[Create a pyproject.toml manifest instead of a pixi.toml manifest]' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ '::path -- Where to place the project (defaults to current path):_files' \ && ret=0 ;; (add) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ -'*-p+[The platform(s) for which the dependency should be added]:PLATFORM: ' \ -'*--platform=[The platform(s) for which the dependency should be added]:PLATFORM: ' \ -'-f+[The feature for which the dependency should be added]:FEATURE: ' \ -'--feature=[The feature for which the dependency should be added]:FEATURE: ' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'*-p+[The platform(s) for which the dependency should be modified]:PLATFORMS: ' \ +'*--platform=[The platform(s) for which the dependency should be modified]:PLATFORMS: ' \ +'-f+[The feature for which the dependency should be modified]:FEATURE: ' \ +'--feature=[The feature for which the dependency should be modified]:FEATURE: ' \ '--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'(--build)--host[The specified dependencies are host dependencies. Conflicts with \`build\` and \`pypi\`]' \ -'(--host)--build[The specified dependencies are build dependencies. Conflicts with \`host\` and \`pypi\`]' \ +'(--build --pypi)--host[The specified dependencies are host dependencies. Conflicts with \`build\` and \`pypi\`]' \ +'(--host --pypi)--build[The specified dependencies are build dependencies. Conflicts with \`host\` and \`pypi\`]' \ '(--host --build)--pypi[The specified dependencies are pypi dependencies. Conflicts with \`host\` and \`build\`]' \ '(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ -'--no-install[Don'\''t install the package to the environment, only add the package to the lock-file]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ '--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'--editable[Whether the pypi requirement should be editable]' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::specs -- Specify the dependencies you wish to add to the project:' \ +'*::specs -- The dependencies as names, conda MatchSpecs or PyPi requirements:' \ +&& ret=0 +;; +(a) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'*-p+[The platform(s) for which the dependency should be modified]:PLATFORMS: ' \ +'*--platform=[The platform(s) for which the dependency should be modified]:PLATFORMS: ' \ +'-f+[The feature for which the dependency should be modified]:FEATURE: ' \ +'--feature=[The feature for which the dependency should be modified]:FEATURE: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'(--build --pypi)--host[The specified dependencies are host dependencies. Conflicts with \`build\` and \`pypi\`]' \ +'(--host --pypi)--build[The specified dependencies are build dependencies. Conflicts with \`host\` and \`pypi\`]' \ +'(--host --build)--pypi[The specified dependencies are pypi dependencies. Conflicts with \`host\` and \`build\`]' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'--editable[Whether the pypi requirement should be editable]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::specs -- The dependencies as names, conda MatchSpecs or PyPi requirements:' \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'*-p+[The platform(s) for which the dependency should be modified]:PLATFORMS: ' \ +'*--platform=[The platform(s) for which the dependency should be modified]:PLATFORMS: ' \ +'-f+[The feature for which the dependency should be modified]:FEATURE: ' \ +'--feature=[The feature for which the dependency should be modified]:FEATURE: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'(--build --pypi)--host[The specified dependencies are host dependencies. Conflicts with \`build\` and \`pypi\`]' \ +'(--host --pypi)--build[The specified dependencies are build dependencies. Conflicts with \`host\` and \`pypi\`]' \ +'(--host --build)--pypi[The specified dependencies are pypi dependencies. Conflicts with \`host\` and \`build\`]' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::specs -- The dependencies as names, conda MatchSpecs or PyPi requirements:' \ +&& ret=0 +;; +(rm) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'*-p+[The platform(s) for which the dependency should be modified]:PLATFORMS: ' \ +'*--platform=[The platform(s) for which the dependency should be modified]:PLATFORMS: ' \ +'-f+[The feature for which the dependency should be modified]:FEATURE: ' \ +'--feature=[The feature for which the dependency should be modified]:FEATURE: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'(--build --pypi)--host[The specified dependencies are host dependencies. Conflicts with \`build\` and \`pypi\`]' \ +'(--host --pypi)--build[The specified dependencies are build dependencies. Conflicts with \`host\` and \`pypi\`]' \ +'(--host --build)--pypi[The specified dependencies are pypi dependencies. Conflicts with \`host\` and \`build\`]' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::specs -- The dependencies as names, conda MatchSpecs or PyPi requirements:' \ +&& ret=0 +;; +(install) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'*-e+[The environment to install]:ENVIRONMENT: ' \ +'*--environment=[The environment to install]:ENVIRONMENT: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'(-e --environment)-a[]' \ +'(-e --environment)--all[]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(i) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'*-e+[The environment to install]:ENVIRONMENT: ' \ +'*--environment=[The environment to install]:ENVIRONMENT: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'(-e --environment)-a[]' \ +'(-e --environment)--all[]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(update) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'*-e+[The environments to update. If none is specified, all environments are updated]:ENVIRONMENTS: ' \ +'*--environment=[The environments to update. If none is specified, all environments are updated]:ENVIRONMENTS: ' \ +'*-p+[The platforms to update. If none is specified, all platforms are updated]:PLATFORMS: ' \ +'*--platform=[The platforms to update. If none is specified, all platforms are updated]:PLATFORMS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--no-install[Don'\''t install the (solve) environments needed for pypi-dependencies solving]' \ +'-n[Don'\''t actually write the lockfile or update any environment]' \ +'--dry-run[Don'\''t actually write the lockfile or update any environment]' \ +'--json[Output the changes in JSON format]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +'*::packages -- The packages to update:' \ +&& ret=0 +;; +(upgrade) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'-f+[The feature to update]:FEATURE: ' \ +'--feature=[The feature to update]:FEATURE: ' \ +'()*--exclude=[The packages which should be excluded]:EXCLUDE: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'--json[Output the changes in JSON format]' \ +'-n[Only show the changes that would be made, without actually updating the manifest, lock file, or environment]' \ +'--dry-run[Only show the changes that would be made, without actually updating the manifest, lock file, or environment]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +'*::packages -- The packages to upgrade:' \ && ret=0 ;; (run) local tasks -tasks=("${(@s/ /)$(pixi task list --summary 2> /dev/null)}") +tasks=("${(@s/ /)$(pixi task list --machine-readable 2> /dev/null)}") if [[ -n "$tasks" ]]; then _values 'task' "${tasks[@]}" else return 1 fi -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ -'-e+[]:ENVIRONMENT: ' \ -'--environment=[]:ENVIRONMENT: ' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'-e+[The environment to run the task in]:ENVIRONMENT: ' \ +'--environment=[The environment to run the task in]:ENVIRONMENT: ' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'(--locked)--frozen[]' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ '(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'--force-activate[Do not use the environment activation cache. (default\: true except in experimental mode)]' \ +'--clean-env[Use a clean environment to run the task]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::task -- The pixi task or a task shell command you want to run in the project'\''s environment, which can be an executable in the environment'\''s PATH:' \ +&& ret=0 +;; +(r) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'-e+[The environment to run the task in]:ENVIRONMENT: ' \ +'--environment=[The environment to run the task in]:ENVIRONMENT: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'--force-activate[Do not use the environment activation cache. (default\: true except in experimental mode)]' \ +'--clean-env[Use a clean environment to run the task]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::task -- The pixi task or a task shell command you want to run in the project'\''s environment, which can be an executable in the environment'\''s PATH:' \ +&& ret=0 +;; +(exec) +_arguments "${_arguments_options[@]}" : \ +'*-s+[Matchspecs of packages to install. If this is not provided, the package is guessed from the command]:SPECS: ' \ +'*--spec=[Matchspecs of packages to install. If this is not provided, the package is guessed from the command]:SPECS: ' \ +'*-c+[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'*--channel=[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'-p+[The platform to create the environment for]:PLATFORM: ' \ +'--platform=[The platform to create the environment for]:PLATFORM: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--force-reinstall[If specified a new environment is always created even if one already exists]' \ '--tls-no-verify[Do not verify the TLS certificate of the server]' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'::task -- The task you want to run in the projects environment:' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::command -- The executable to run:_cmdambivalent' \ +&& ret=0 +;; +(x) +_arguments "${_arguments_options[@]}" : \ +'*-s+[Matchspecs of packages to install. If this is not provided, the package is guessed from the command]:SPECS: ' \ +'*--spec=[Matchspecs of packages to install. If this is not provided, the package is guessed from the command]:SPECS: ' \ +'*-c+[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'*--channel=[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'-p+[The platform to create the environment for]:PLATFORM: ' \ +'--platform=[The platform to create the environment for]:PLATFORM: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--force-reinstall[If specified a new environment is always created even if one already exists]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::command -- The executable to run:_cmdambivalent' \ && ret=0 ;; (shell) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ -'-e+[]:ENVIRONMENT: ' \ -'--environment=[]:ENVIRONMENT: ' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'-e+[The environment to activate in the shell]:ENVIRONMENT: ' \ +'--environment=[The environment to activate in the shell]:ENVIRONMENT: ' \ '--change-ps1=[Do not change the PS1 variable when starting a prompt]:CHANGE_PS1:(true false)' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'(--locked)--frozen[]' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ '(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ '--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'--force-activate[Do not use the environment activation cache. (default\: true except in experimental mode)]' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(s) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'-e+[The environment to activate in the shell]:ENVIRONMENT: ' \ +'--environment=[The environment to activate in the shell]:ENVIRONMENT: ' \ +'--change-ps1=[Do not change the PS1 variable when starting a prompt]:CHANGE_PS1:(true false)' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'--force-activate[Do not use the environment activation cache. (default\: true except in experimental mode)]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ && ret=0 ;; (shell-hook) -_arguments "${_arguments_options[@]}" \ -'-s+[Sets the shell, options\: \[\`bash\`, \`zsh\`, \`xonsh\`, \`cmd\`, \`powershell\`, \`fish\`, \`nushell\`\]]:SHELL: ' \ -'--shell=[Sets the shell, options\: \[\`bash\`, \`zsh\`, \`xonsh\`, \`cmd\`, \`powershell\`, \`fish\`, \`nushell\`\]]:SHELL: ' \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'-s+[Sets the shell, options\: \[\`bash\`, \`zsh\`, \`xonsh\`, \`cmd\`, \`powershell\`, \`fish\`, \`nushell\`\]]:SHELL: ' \ +'--shell=[Sets the shell, options\: \[\`bash\`, \`zsh\`, \`xonsh\`, \`cmd\`, \`powershell\`, \`fish\`, \`nushell\`\]]:SHELL: ' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ '-e+[The environment to activate in the script]:ENVIRONMENT: ' \ '--environment=[The environment to activate in the script]:ENVIRONMENT: ' \ +'--change-ps1=[Do not change the PS1 variable when starting a prompt]:CHANGE_PS1:(true false)' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'(--locked)--frozen[]' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ '(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -&& ret=0 -;; -(global) -_arguments "${_arguments_options[@]}" \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -":: :_pixi__global_commands" \ -"*::: :->global" \ -&& ret=0 - - case $state in - (global) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:pixi-global-command-$line[1]:" - case $line[1] in - (install) -_arguments "${_arguments_options[@]}" \ -'*-c+[Represents the channels from which the package will be installed. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ -'*--channel=[Represents the channels from which the package will be installed. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ -'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ '--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'--force-activate[Do not use the environment activation cache. (default\: true except in experimental mode)]' \ +'(-s --shell)--json[Emit the environment variables set by running the activation as JSON]' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ -'*::package -- Specifies the package(s) that is to be installed:' \ -&& ret=0 -;; -(remove) -_arguments "${_arguments_options[@]}" \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'*::package -- Specifies the package(s) that is to be removed:' \ -&& ret=0 -;; -(list) -_arguments "${_arguments_options[@]}" \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -&& ret=0 -;; -(upgrade) -_arguments "${_arguments_options[@]}" \ -'*-c+[Represents the channels from which to upgrade specified package. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ -'*--channel=[Represents the channels from which to upgrade specified package. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -':package -- Specifies the package that is to be upgraded:' \ -&& ret=0 -;; -(upgrade-all) -_arguments "${_arguments_options[@]}" \ -'*-c+[Represents the channels from which to upgrade packages. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ -'*--channel=[Represents the channels from which to upgrade packages. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ -'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'--tls-no-verify[Do not verify the TLS certificate of the server]' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help (see more with '\''--help'\'')]' \ -'--help[Print help (see more with '\''--help'\'')]' \ -&& ret=0 -;; -(help) -_arguments "${_arguments_options[@]}" \ -":: :_pixi__global__help_commands" \ -"*::: :->help" \ -&& ret=0 - - case $state in - (help) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:pixi-global-help-command-$line[1]:" - case $line[1] in - (install) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(remove) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(list) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(upgrade) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(upgrade-all) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(help) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; - esac - ;; -esac -;; - esac - ;; -esac -;; -(auth) -_arguments "${_arguments_options[@]}" \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -":: :_pixi__auth_commands" \ -"*::: :->auth" \ -&& ret=0 - - case $state in - (auth) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:pixi-auth-command-$line[1]:" - case $line[1] in - (login) -_arguments "${_arguments_options[@]}" \ -'--token=[The token to use (for authentication with prefix.dev)]:TOKEN: ' \ -'--username=[The username to use (for basic HTTP authentication)]:USERNAME: ' \ -'--password=[The password to use (for basic HTTP authentication)]:PASSWORD: ' \ -'--conda-token=[The token to use on anaconda.org / quetz authentication]:CONDA_TOKEN: ' \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -':host -- The host to authenticate with (e.g. repo.prefix.dev):' \ -&& ret=0 -;; -(logout) -_arguments "${_arguments_options[@]}" \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -':host -- The host to remove authentication for:' \ -&& ret=0 -;; -(help) -_arguments "${_arguments_options[@]}" \ -":: :_pixi__auth__help_commands" \ -"*::: :->help" \ -&& ret=0 - - case $state in - (help) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:pixi-auth-help-command-$line[1]:" - case $line[1] in - (login) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(logout) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(help) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; - esac - ;; -esac -;; - esac - ;; -esac -;; -(install) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ -'-e+[]:ENVIRONMENT: ' \ -'--environment=[]:ENVIRONMENT: ' \ -'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'(--locked)--frozen[]' \ -'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ -'--tls-no-verify[Do not verify the TLS certificate of the server]' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -&& ret=0 -;; -(task) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -":: :_pixi__task_commands" \ -"*::: :->task" \ -&& ret=0 - - case $state in - (task) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:pixi-task-command-$line[1]:" - case $line[1] in - (add) -_arguments "${_arguments_options[@]}" \ -'*--depends-on=[Depends on these other commands]:DEPENDS_ON: ' \ -'-p+[The platform for which the task should be added]:PLATFORM: ' \ -'--platform=[The platform for which the task should be added]:PLATFORM: ' \ -'-f+[The feature for which the task should be added]:FEATURE: ' \ -'--feature=[The feature for which the task should be added]:FEATURE: ' \ -'--cwd=[The working directory relative to the root of the project]:CWD:_files' \ -'*--env=[The environment variable to set, use --env key=value multiple times for more than one variable]:ENV: ' \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -':name -- Task name:' \ -'*::commands -- One or more commands to actually execute:' \ -&& ret=0 -;; -(remove) -_arguments "${_arguments_options[@]}" \ -'-p+[The platform for which the task should be removed]:PLATFORM: ' \ -'--platform=[The platform for which the task should be removed]:PLATFORM: ' \ -'-f+[The feature for which the task should be removed]:FEATURE: ' \ -'--feature=[The feature for which the task should be removed]:FEATURE: ' \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -'*::names -- Task names to remove:' \ -&& ret=0 -;; -(alias) -_arguments "${_arguments_options[@]}" \ -'-p+[The platform for which the alias should be added]:PLATFORM: ' \ -'--platform=[The platform for which the alias should be added]:PLATFORM: ' \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -':alias -- Alias name:' \ -'*::depends_on -- Depends on these tasks to execute:' \ -&& ret=0 -;; -(list) -_arguments "${_arguments_options[@]}" \ -'-e+[The environment the list should be generated for If not specified, the default environment is used]:ENVIRONMENT: ' \ -'--environment=[The environment the list should be generated for If not specified, the default environment is used]:ENVIRONMENT: ' \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'-s[]' \ -'--summary[]' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -&& ret=0 -;; -(help) -_arguments "${_arguments_options[@]}" \ -":: :_pixi__task__help_commands" \ -"*::: :->help" \ -&& ret=0 - - case $state in - (help) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:pixi-task-help-command-$line[1]:" - case $line[1] in - (add) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(remove) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(alias) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(list) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(help) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; - esac - ;; -esac -;; - esac - ;; -esac -;; -(info) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'--extended[Show cache and environment size]' \ -'--json[Whether to show the output as JSON or not]' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -&& ret=0 -;; -(upload) -_arguments "${_arguments_options[@]}" \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -':host -- The host + channel to upload to:' \ -':package_file -- The file to upload:_files' \ -&& ret=0 -;; -(search) -_arguments "${_arguments_options[@]}" \ -'*-c+[Channel to specifically search package, defaults to project channels or conda-forge]:CHANNEL: ' \ -'*--channel=[Channel to specifically search package, defaults to project channels or conda-forge]:CHANNEL: ' \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ -'-p+[The platform to search for, defaults to current platform]:PLATFORM: ' \ -'--platform=[The platform to search for, defaults to current platform]:PLATFORM: ' \ -'-l+[Limit the number of search results]:LIMIT: ' \ -'--limit=[Limit the number of search results]:LIMIT: ' \ -'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'*-v[Increase logging verbosity]' \ -'*--verbose[Increase logging verbosity]' \ -'(-v --verbose)*-q[Decrease logging verbosity]' \ -'(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ -'-h[Print help]' \ -'--help[Print help]' \ -':package -- Name of package to search:' \ && ret=0 ;; (project) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ ":: :_pixi__project_commands" \ @@ -600,14 +508,14 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-project-command-$line[1]:" case $line[1] in (channel) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ ":: :_pixi__project__channel_commands" \ @@ -621,55 +529,147 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-project-channel-command-$line[1]:" case $line[1] in (add) -_arguments "${_arguments_options[@]}" \ -'-f+[The name of the feature to add the channel to]:FEATURE: ' \ -'--feature=[The name of the feature to add the channel to]:FEATURE: ' \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--priority=[Specify the channel priority]:PRIORITY: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'-f+[The name of the feature to modify]:FEATURE: ' \ +'--feature=[The name of the feature to modify]:FEATURE: ' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'--no-install[Don'\''t update the environment, only add changed packages to the lock-file]' \ +'--prepend[Add the channel(s) to the beginning of the channels list, making them the highest priority]' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +'*::channel -- The channel name or URL:' \ +&& ret=0 +;; +(a) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--priority=[Specify the channel priority]:PRIORITY: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'-f+[The name of the feature to modify]:FEATURE: ' \ +'--feature=[The name of the feature to modify]:FEATURE: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--prepend[Add the channel(s) to the beginning of the channels list, making them the highest priority]' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ '*::channel -- The channel name or URL:' \ && ret=0 ;; (list) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '--urls[Whether to display the channel'\''s names or urls]' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(ls) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--urls[Whether to display the channel'\''s names or urls]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ && ret=0 ;; (remove) -_arguments "${_arguments_options[@]}" \ -'-f+[The name of the feature to remove the channel from]:FEATURE: ' \ -'--feature=[The name of the feature to remove the channel from]:FEATURE: ' \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--priority=[Specify the channel priority]:PRIORITY: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'-f+[The name of the feature to modify]:FEATURE: ' \ +'--feature=[The name of the feature to modify]:FEATURE: ' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'--no-install[Don'\''t update the environment, only remove the channel(s) from the lock-file]' \ +'--prepend[Add the channel(s) to the beginning of the channels list, making them the highest priority]' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ -'*::channel -- The channel name(s) or URL:' \ +'*::channel -- The channel name or URL:' \ +&& ret=0 +;; +(rm) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--priority=[Specify the channel priority]:PRIORITY: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'-f+[The name of the feature to modify]:FEATURE: ' \ +'--feature=[The name of the feature to modify]:FEATURE: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--prepend[Add the channel(s) to the beginning of the channels list, making them the highest priority]' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +'*::channel -- The channel name or URL:' \ && ret=0 ;; (help) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ ":: :_pixi__project__channel__help_commands" \ "*::: :->help" \ && ret=0 @@ -681,19 +681,19 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-project-channel-help-command-$line[1]:" case $line[1] in (add) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (list) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (remove) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (help) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; esac @@ -705,14 +705,14 @@ esac esac ;; (description) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ ":: :_pixi__project__description_commands" \ @@ -726,34 +726,34 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-project-description-command-$line[1]:" case $line[1] in (get) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ && ret=0 ;; (set) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ ':description -- The project description:' \ && ret=0 ;; (help) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ ":: :_pixi__project__description__help_commands" \ "*::: :->help" \ && ret=0 @@ -765,15 +765,15 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-project-description-help-command-$line[1]:" case $line[1] in (get) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (set) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (help) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; esac @@ -785,14 +785,14 @@ esac esac ;; (platform) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ ":: :_pixi__project__platform_commands" \ @@ -806,54 +806,101 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-project-platform-command-$line[1]:" case $line[1] in (add) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-f+[The name of the feature to add the platform to]:FEATURE: ' \ '--feature=[The name of the feature to add the platform to]:FEATURE: ' \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '--no-install[Don'\''t update the environment, only add changed packages to the lock-file]' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +'*::platform -- The platform name(s) to add:' \ +&& ret=0 +;; +(a) +_arguments "${_arguments_options[@]}" : \ +'-f+[The name of the feature to add the platform to]:FEATURE: ' \ +'--feature=[The name of the feature to add the platform to]:FEATURE: ' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--no-install[Don'\''t update the environment, only add changed packages to the lock-file]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ '*::platform -- The platform name(s) to add:' \ && ret=0 ;; (list) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(ls) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ && ret=0 ;; (remove) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-f+[The name of the feature to remove the platform from]:FEATURE: ' \ '--feature=[The name of the feature to remove the platform from]:FEATURE: ' \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '--no-install[Don'\''t update the environment, only remove the platform(s) from the lock-file]' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +'*::platform -- The platform name(s) to remove:' \ +&& ret=0 +;; +(rm) +_arguments "${_arguments_options[@]}" : \ +'-f+[The name of the feature to remove the platform from]:FEATURE: ' \ +'--feature=[The name of the feature to remove the platform from]:FEATURE: ' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--no-install[Don'\''t update the environment, only remove the platform(s) from the lock-file]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ '*::platform -- The platform name(s) to remove:' \ && ret=0 ;; (help) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ ":: :_pixi__project__platform__help_commands" \ "*::: :->help" \ && ret=0 @@ -865,19 +912,19 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-project-platform-help-command-$line[1]:" case $line[1] in (add) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (list) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (remove) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (help) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; esac @@ -889,14 +936,14 @@ esac esac ;; (version) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ ":: :_pixi__project__version_commands" \ @@ -910,73 +957,73 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-project-version-command-$line[1]:" case $line[1] in (get) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ && ret=0 ;; (set) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ ':version -- The new project version:' \ && ret=0 ;; (major) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ && ret=0 ;; (minor) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ && ret=0 ;; (patch) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ && ret=0 ;; (help) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ ":: :_pixi__project__version__help_commands" \ "*::: :->help" \ && ret=0 @@ -988,27 +1035,307 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-project-version-help-command-$line[1]:" case $line[1] in (get) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (set) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (major) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (minor) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (patch) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (help) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(environment) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +":: :_pixi__project__environment_commands" \ +"*::: :->environment" \ +&& ret=0 + + case $state in + (environment) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-project-environment-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +'*-f+[Features to add to the environment]:FEATURES: ' \ +'*--feature=[Features to add to the environment]:FEATURES: ' \ +'--solve-group=[The solve-group to add the environment to]:SOLVE_GROUP: ' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--no-default-feature[Don'\''t include the default feature in the environment]' \ +'--force[Update the manifest even if the environment already exists]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +':name -- The name of the environment to add:' \ +&& ret=0 +;; +(a) +_arguments "${_arguments_options[@]}" : \ +'*-f+[Features to add to the environment]:FEATURES: ' \ +'*--feature=[Features to add to the environment]:FEATURES: ' \ +'--solve-group=[The solve-group to add the environment to]:SOLVE_GROUP: ' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--no-default-feature[Don'\''t include the default feature in the environment]' \ +'--force[Update the manifest even if the environment already exists]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +':name -- The name of the environment to add:' \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(ls) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +':name -- The name of the environment to remove:' \ +&& ret=0 +;; +(rm) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +':name -- The name of the environment to remove:' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__project__environment__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-project-environment-help-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(export) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +":: :_pixi__project__export_commands" \ +"*::: :->export" \ +&& ret=0 + + case $state in + (export) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-project-export-command-$line[1]:" + case $line[1] in + (conda-explicit-spec) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'*-e+[]:ENVIRONMENT: ' \ +'*--environment=[]:ENVIRONMENT: ' \ +'*-p+[The platform to render. Can be repeated for multiple platforms. Defaults to all platforms available for selected environments]:PLATFORM: ' \ +'*--platform=[The platform to render. Can be repeated for multiple platforms. Defaults to all platforms available for selected environments]:PLATFORM: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--ignore-pypi-errors[PyPI dependencies are not supported in the conda explicit spec file]' \ +'--ignore-source-errors[Source dependencies are not supported in the conda explicit spec file]' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +':output_dir -- Output directory for rendered explicit environment spec files:_files' \ +&& ret=0 +;; +(ces) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'*-e+[]:ENVIRONMENT: ' \ +'*--environment=[]:ENVIRONMENT: ' \ +'*-p+[The platform to render. Can be repeated for multiple platforms. Defaults to all platforms available for selected environments]:PLATFORM: ' \ +'*--platform=[The platform to render. Can be repeated for multiple platforms. Defaults to all platforms available for selected environments]:PLATFORM: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--ignore-pypi-errors[PyPI dependencies are not supported in the conda explicit spec file]' \ +'--ignore-source-errors[Source dependencies are not supported in the conda explicit spec file]' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +':output_dir -- Output directory for rendered explicit environment spec files:_files' \ +&& ret=0 +;; +(conda-environment) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'-p+[The platform to render the environment file for. Defaults to the current platform]:PLATFORM: ' \ +'--platform=[The platform to render the environment file for. Defaults to the current platform]:PLATFORM: ' \ +'-e+[The environment to render the environment file for. Defaults to the default environment]:ENVIRONMENT: ' \ +'--environment=[The environment to render the environment file for. Defaults to the default environment]:ENVIRONMENT: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +'::output_path -- Explicit path to export the environment to:_files' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__project__export__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-project-export-help-command-$line[1]:" + case $line[1] in + (conda-explicit-spec) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(conda-environment) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; esac @@ -1020,7 +1347,7 @@ esac esac ;; (help) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ ":: :_pixi__project__help_commands" \ "*::: :->help" \ && ret=0 @@ -1032,7 +1359,7 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-project-help-command-$line[1]:" case $line[1] in (channel) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ ":: :_pixi__project__help__channel_commands" \ "*::: :->channel" \ && ret=0 @@ -1044,15 +1371,15 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-project-help-channel-command-$line[1]:" case $line[1] in (add) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (list) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (remove) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; esac @@ -1060,7 +1387,7 @@ _arguments "${_arguments_options[@]}" \ esac ;; (description) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ ":: :_pixi__project__help__description_commands" \ "*::: :->description" \ && ret=0 @@ -1072,11 +1399,11 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-project-help-description-command-$line[1]:" case $line[1] in (get) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (set) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; esac @@ -1084,7 +1411,7 @@ _arguments "${_arguments_options[@]}" \ esac ;; (platform) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ ":: :_pixi__project__help__platform_commands" \ "*::: :->platform" \ && ret=0 @@ -1096,15 +1423,15 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-project-help-platform-command-$line[1]:" case $line[1] in (add) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (list) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (remove) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; esac @@ -1112,7 +1439,7 @@ _arguments "${_arguments_options[@]}" \ esac ;; (version) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ ":: :_pixi__project__help__version_commands" \ "*::: :->version" \ && ret=0 @@ -1124,23 +1451,75 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-project-help-version-command-$line[1]:" case $line[1] in (get) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (set) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (major) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (minor) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (patch) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(environment) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__project__help__environment_commands" \ +"*::: :->environment" \ +&& ret=0 + + case $state in + (environment) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-project-help-environment-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(export) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__project__help__export_commands" \ +"*::: :->export" \ +&& ret=0 + + case $state in + (export) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-project-help-export-command-$line[1]:" + case $line[1] in + (conda-explicit-spec) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(conda-environment) +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; esac @@ -1148,7 +1527,7 @@ _arguments "${_arguments_options[@]}" \ esac ;; (help) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; esac @@ -1159,91 +1538,1977 @@ esac ;; esac ;; +(task) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +":: :_pixi__task_commands" \ +"*::: :->task" \ +&& ret=0 + + case $state in + (task) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-task-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +'*--depends-on=[Depends on these other commands]:DEPENDS_ON: ' \ +'-p+[The platform for which the task should be added]:PLATFORM: ' \ +'--platform=[The platform for which the task should be added]:PLATFORM: ' \ +'-f+[The feature for which the task should be added]:FEATURE: ' \ +'--feature=[The feature for which the task should be added]:FEATURE: ' \ +'--cwd=[The working directory relative to the root of the project]:CWD:_files' \ +'*--env=[The environment variable to set, use --env key=value multiple times for more than one variable]:ENV: ' \ +'--description=[A description of the task to be added]:DESCRIPTION: ' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--clean-env[Isolate the task from the shell environment, and only use the pixi environment to run the task]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +':name -- Task name:' \ +'*::commands -- One or more commands to actually execute:' \ +&& ret=0 +;; +(a) +_arguments "${_arguments_options[@]}" : \ +'*--depends-on=[Depends on these other commands]:DEPENDS_ON: ' \ +'-p+[The platform for which the task should be added]:PLATFORM: ' \ +'--platform=[The platform for which the task should be added]:PLATFORM: ' \ +'-f+[The feature for which the task should be added]:FEATURE: ' \ +'--feature=[The feature for which the task should be added]:FEATURE: ' \ +'--cwd=[The working directory relative to the root of the project]:CWD:_files' \ +'*--env=[The environment variable to set, use --env key=value multiple times for more than one variable]:ENV: ' \ +'--description=[A description of the task to be added]:DESCRIPTION: ' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--clean-env[Isolate the task from the shell environment, and only use the pixi environment to run the task]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +':name -- Task name:' \ +'*::commands -- One or more commands to actually execute:' \ +&& ret=0 +;; (remove) -_arguments "${_arguments_options[@]}" \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ -'-p+[The platform for which the dependency should be removed]:PLATFORM: ' \ -'--platform=[The platform for which the dependency should be removed]:PLATFORM: ' \ -'-f+[The feature for which the dependency should be removed]:FEATURE: ' \ -'--feature=[The feature for which the dependency should be removed]:FEATURE: ' \ -'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +_arguments "${_arguments_options[@]}" : \ +'-p+[The platform for which the task should be removed]:PLATFORM: ' \ +'--platform=[The platform for which the task should be removed]:PLATFORM: ' \ +'-f+[The feature for which the task should be removed]:FEATURE: ' \ +'--feature=[The feature for which the task should be removed]:FEATURE: ' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'(--build)--host[Whether dependency is a host dependency]' \ -'(--host)--build[Whether dependency is a build dependency]' \ -'--pypi[Whether the dependency is a pypi package]' \ -'--tls-no-verify[Do not verify the TLS certificate of the server]' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ -'*::deps -- List of dependencies you wish to remove from the project:' \ +'*::names -- Task names to remove:' \ && ret=0 ;; -(self-update) -_arguments "${_arguments_options[@]}" \ -'--version=[The desired version (to downgrade or upgrade to). Update to the latest version if not specified]:VERSION: ' \ +(rm) +_arguments "${_arguments_options[@]}" : \ +'-p+[The platform for which the task should be removed]:PLATFORM: ' \ +'--platform=[The platform for which the task should be removed]:PLATFORM: ' \ +'-f+[The feature for which the task should be removed]:FEATURE: ' \ +'--feature=[The feature for which the task should be removed]:FEATURE: ' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'--force[Force the update even if the pixi binary is not found in the default location]' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ +'*::names -- Task names to remove:' \ +&& ret=0 +;; +(alias) +_arguments "${_arguments_options[@]}" : \ +'-p+[The platform for which the alias should be added]:PLATFORM: ' \ +'--platform=[The platform for which the alias should be added]:PLATFORM: ' \ +'--description=[The description of the alias task]:DESCRIPTION: ' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +':alias -- Alias name:' \ +'*::depends_on -- Depends on these tasks to execute:' \ && ret=0 ;; (list) -_arguments "${_arguments_options[@]}" \ -'--platform=[The platform to list packages for. Defaults to the current platform]:PLATFORM: ' \ -'--sort-by=[Sorting strategy]:SORT_BY:(size name kind)' \ -'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \ -'-e+[The environment to list packages for. Defaults to the default environment]:ENVIRONMENT: ' \ -'--environment=[The environment to list packages for. Defaults to the default environment]:ENVIRONMENT: ' \ +_arguments "${_arguments_options[@]}" : \ +'-e+[The environment the list should be generated for. If not specified, the default environment is used]:ENVIRONMENT: ' \ +'--environment=[The environment the list should be generated for. If not specified, the default environment is used]:ENVIRONMENT: ' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'--json[Whether to output in json format]' \ -'--json-pretty[Whether to output in pretty json format]' \ -'(--locked)--frozen[]' \ -'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ -'--no-install[Don'\''t install the environment for pypi solving, only update the lock-file if it can solve without installing]' \ +'-s[Tasks available for this machine per environment]' \ +'--summary[Tasks available for this machine per environment]' \ +'--machine-readable[Output the list of tasks from all environments in machine readable format (space delimited) this output is used for autocomplete by \`pixi run\`]' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help]' \ '--help[Print help]' \ +&& ret=0 +;; +(ls) +_arguments "${_arguments_options[@]}" : \ +'-e+[The environment the list should be generated for. If not specified, the default environment is used]:ENVIRONMENT: ' \ +'--environment=[The environment the list should be generated for. If not specified, the default environment is used]:ENVIRONMENT: ' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'-s[Tasks available for this machine per environment]' \ +'--summary[Tasks available for this machine per environment]' \ +'--machine-readable[Output the list of tasks from all environments in machine readable format (space delimited) this output is used for autocomplete by \`pixi run\`]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__task__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-task-help-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(alias) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(list) +_arguments "${_arguments_options[@]}" : \ +'--platform=[The platform to list packages for. Defaults to the current platform]:PLATFORM: ' \ +'--sort-by=[Sorting strategy]:SORT_BY:(size name kind)' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'-e+[The environment to list packages for. Defaults to the default environment]:ENVIRONMENT: ' \ +'--environment=[The environment to list packages for. Defaults to the default environment]:ENVIRONMENT: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--json[Whether to output in json format]' \ +'--json-pretty[Whether to output in pretty json format]' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'-x[Only list packages that are explicitly defined in the project]' \ +'--explicit[Only list packages that are explicitly defined in the project]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::regex -- List only packages matching a regular expression:' \ +&& ret=0 +;; +(ls) +_arguments "${_arguments_options[@]}" : \ +'--platform=[The platform to list packages for. Defaults to the current platform]:PLATFORM: ' \ +'--sort-by=[Sorting strategy]:SORT_BY:(size name kind)' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'-e+[The environment to list packages for. Defaults to the default environment]:ENVIRONMENT: ' \ +'--environment=[The environment to list packages for. Defaults to the default environment]:ENVIRONMENT: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--json[Whether to output in json format]' \ +'--json-pretty[Whether to output in pretty json format]' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'-x[Only list packages that are explicitly defined in the project]' \ +'--explicit[Only list packages that are explicitly defined in the project]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ '::regex -- List only packages matching a regular expression:' \ && ret=0 ;; (tree) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-p+[The platform to list packages for. Defaults to the current platform]:PLATFORM: ' \ '--platform=[The platform to list packages for. Defaults to the current platform]:PLATFORM: ' \ -'--manifest-path=[The path to '\''pixi.toml'\'']:MANIFEST_PATH:_files' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ '-e+[The environment to list packages for. Defaults to the default environment]:ENVIRONMENT: ' \ '--environment=[The environment to list packages for. Defaults to the default environment]:ENVIRONMENT: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ '--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ -'(--locked)--frozen[]' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ '(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ -'--no-install[Don'\''t install the environment for pypi solving, only update the lock-file if it can solve without installing]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ '-i[Invert tree and show what depends on given package in the regex argument]' \ '--invert[Invert tree and show what depends on given package in the regex argument]' \ '*-v[Increase logging verbosity]' \ '*--verbose[Increase logging verbosity]' \ '(-v --verbose)*-q[Decrease logging verbosity]' \ '(-v --verbose)*--quiet[Decrease logging verbosity]' \ -'--no-progress[Hide all progress bars]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ '-h[Print help (see more with '\''--help'\'')]' \ '--help[Print help (see more with '\''--help'\'')]' \ '::regex -- List only packages matching a regular expression:' \ && ret=0 ;; +(t) +_arguments "${_arguments_options[@]}" : \ +'-p+[The platform to list packages for. Defaults to the current platform]:PLATFORM: ' \ +'--platform=[The platform to list packages for. Defaults to the current platform]:PLATFORM: ' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'-e+[The environment to list packages for. Defaults to the default environment]:ENVIRONMENT: ' \ +'--environment=[The environment to list packages for. Defaults to the default environment]:ENVIRONMENT: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'(--no-install)--no-lockfile-update[Don'\''t update lockfile, implies the no-install as well]' \ +'(--locked)--frozen[Install the environment as defined in the lockfile, doesn'\''t update lockfile if it isn'\''t up-to-date with the manifest file]' \ +'(--frozen)--locked[Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn'\''t up-to-date with the manifest file]' \ +'--no-install[Don'\''t modify the environment, only modify the lock-file]' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--revalidate[Run the complete environment validation. This will reinstall a broken environment]' \ +'-i[Invert tree and show what depends on given package in the regex argument]' \ +'--invert[Invert tree and show what depends on given package in the regex argument]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::regex -- List only packages matching a regular expression:' \ +&& ret=0 +;; +(global) +_arguments "${_arguments_options[@]}" : \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_pixi__global_commands" \ +"*::: :->global" \ +&& ret=0 + + case $state in + (global) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-global-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +'-e+[Specifies the environment that the dependencies need to be added to]:ENVIRONMENT: ' \ +'--environment=[Specifies the environment that the dependencies need to be added to]:ENVIRONMENT: ' \ +'*--expose=[Add one or more mapping which describe which executables are exposed. The syntax is \`exposed_name=executable_name\`, so for example \`python3.10=python\`. Alternatively, you can input only an executable_name and \`executable_name=executable_name\` is assumed]:EXPOSE: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::packages -- Specifies the packages that are to be added to the environment:' \ +&& ret=0 +;; +(a) +_arguments "${_arguments_options[@]}" : \ +'-e+[Specifies the environment that the dependencies need to be added to]:ENVIRONMENT: ' \ +'--environment=[Specifies the environment that the dependencies need to be added to]:ENVIRONMENT: ' \ +'*--expose=[Add one or more mapping which describe which executables are exposed. The syntax is \`exposed_name=executable_name\`, so for example \`python3.10=python\`. Alternatively, you can input only an executable_name and \`executable_name=executable_name\` is assumed]:EXPOSE: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::packages -- Specifies the packages that are to be added to the environment:' \ +&& ret=0 +;; +(edit) +_arguments "${_arguments_options[@]}" : \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::editor -- The editor to use, defaults to `EDITOR` environment variable or `nano` on Unix and `notepad` on Windows:' \ +&& ret=0 +;; +(install) +_arguments "${_arguments_options[@]}" : \ +'*-c+[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'*--channel=[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'-p+[]:PLATFORM: ' \ +'--platform=[]:PLATFORM: ' \ +'-e+[Ensures that all packages will be installed in the same environment]:ENVIRONMENT: ' \ +'--environment=[Ensures that all packages will be installed in the same environment]:ENVIRONMENT: ' \ +'*--expose=[Add one or more mapping which describe which executables are exposed. The syntax is \`exposed_name=executable_name\`, so for example \`python3.10=python\`. Alternatively, you can input only an executable_name and \`executable_name=executable_name\` is assumed]:EXPOSE: ' \ +'*--with=[Add additional dependencies to the environment. Their executables will not be exposed]:WITH: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--force-reinstall[Specifies that the packages should be reinstalled even if they are already installed]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::packages -- Specifies the packages that are to be installed:' \ +&& ret=0 +;; +(i) +_arguments "${_arguments_options[@]}" : \ +'*-c+[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'*--channel=[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'-p+[]:PLATFORM: ' \ +'--platform=[]:PLATFORM: ' \ +'-e+[Ensures that all packages will be installed in the same environment]:ENVIRONMENT: ' \ +'--environment=[Ensures that all packages will be installed in the same environment]:ENVIRONMENT: ' \ +'*--expose=[Add one or more mapping which describe which executables are exposed. The syntax is \`exposed_name=executable_name\`, so for example \`python3.10=python\`. Alternatively, you can input only an executable_name and \`executable_name=executable_name\` is assumed]:EXPOSE: ' \ +'*--with=[Add additional dependencies to the environment. Their executables will not be exposed]:WITH: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--force-reinstall[Specifies that the packages should be reinstalled even if they are already installed]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::packages -- Specifies the packages that are to be installed:' \ +&& ret=0 +;; +(uninstall) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::environment -- Specifies the environments that are to be removed:' \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +'-e+[Specifies the environment that the dependencies need to be removed from]:ENVIRONMENT: ' \ +'--environment=[Specifies the environment that the dependencies need to be removed from]:ENVIRONMENT: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::packages -- Specifies the packages that are to be removed:' \ +&& ret=0 +;; +(rm) +_arguments "${_arguments_options[@]}" : \ +'-e+[Specifies the environment that the dependencies need to be removed from]:ENVIRONMENT: ' \ +'--environment=[Specifies the environment that the dependencies need to be removed from]:ENVIRONMENT: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::packages -- Specifies the packages that are to be removed:' \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'-e+[The name of the environment to list]:ENVIRONMENT: ' \ +'--environment=[The name of the environment to list]:ENVIRONMENT: ' \ +'--sort-by=[Sorting strategy for the package table of an environment]:SORT_BY:(size name)' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::regex -- List only packages matching a regular expression. Without regex syntax it acts like a `contains` filter:' \ +&& ret=0 +;; +(ls) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'-e+[The name of the environment to list]:ENVIRONMENT: ' \ +'--environment=[The name of the environment to list]:ENVIRONMENT: ' \ +'--sort-by=[Sorting strategy for the package table of an environment]:SORT_BY:(size name)' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::regex -- List only packages matching a regular expression. Without regex syntax it acts like a `contains` filter:' \ +&& ret=0 +;; +(sync) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(s) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(expose) +_arguments "${_arguments_options[@]}" : \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_pixi__global__expose_commands" \ +"*::: :->expose" \ +&& ret=0 + + case $state in + (expose) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-global-expose-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +'-e+[The environment to which the binaries should be exposed]:ENVIRONMENT: ' \ +'--environment=[The environment to which the binaries should be exposed]:ENVIRONMENT: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::mappings -- Add one or more mapping which describe which executables are exposed. The syntax is `exposed_name=executable_name`, so for example `python3.10=python`. Alternatively, you can input only an executable_name and `executable_name=executable_name` is assumed:' \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::exposed_names -- The exposed names that should be removed:' \ +&& ret=0 +;; (help) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__global__expose__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-global-expose-help-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(e) +_arguments "${_arguments_options[@]}" : \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_pixi__global__expose_commands" \ +"*::: :->expose" \ +&& ret=0 + + case $state in + (expose) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-global-expose-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +'-e+[The environment to which the binaries should be exposed]:ENVIRONMENT: ' \ +'--environment=[The environment to which the binaries should be exposed]:ENVIRONMENT: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::mappings -- Add one or more mapping which describe which executables are exposed. The syntax is `exposed_name=executable_name`, so for example `python3.10=python`. Alternatively, you can input only an executable_name and `executable_name=executable_name` is assumed:' \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::exposed_names -- The exposed names that should be removed:' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__global__expose__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-global-expose-help-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(update) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +'*::environments -- Specifies the environments that are to be updated:' \ +&& ret=0 +;; +(upgrade) +_arguments "${_arguments_options[@]}" : \ +'*-c+[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'*--channel=[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'--platform=[The platform to install the package for]:PLATFORM: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::specs -- Specifies the packages to upgrade:' \ +&& ret=0 +;; +(upgrade-all) +_arguments "${_arguments_options[@]}" : \ +'*-c+[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'*--channel=[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--platform=[The platform to install the package for]:PLATFORM: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__global__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-global-help-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(edit) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(install) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(uninstall) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(sync) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(expose) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__global__help__expose_commands" \ +"*::: :->expose" \ +&& ret=0 + + case $state in + (expose) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-global-help-expose-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(update) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(upgrade) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(upgrade-all) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(g) +_arguments "${_arguments_options[@]}" : \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_pixi__global_commands" \ +"*::: :->global" \ +&& ret=0 + + case $state in + (global) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-global-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +'-e+[Specifies the environment that the dependencies need to be added to]:ENVIRONMENT: ' \ +'--environment=[Specifies the environment that the dependencies need to be added to]:ENVIRONMENT: ' \ +'*--expose=[Add one or more mapping which describe which executables are exposed. The syntax is \`exposed_name=executable_name\`, so for example \`python3.10=python\`. Alternatively, you can input only an executable_name and \`executable_name=executable_name\` is assumed]:EXPOSE: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::packages -- Specifies the packages that are to be added to the environment:' \ +&& ret=0 +;; +(a) +_arguments "${_arguments_options[@]}" : \ +'-e+[Specifies the environment that the dependencies need to be added to]:ENVIRONMENT: ' \ +'--environment=[Specifies the environment that the dependencies need to be added to]:ENVIRONMENT: ' \ +'*--expose=[Add one or more mapping which describe which executables are exposed. The syntax is \`exposed_name=executable_name\`, so for example \`python3.10=python\`. Alternatively, you can input only an executable_name and \`executable_name=executable_name\` is assumed]:EXPOSE: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::packages -- Specifies the packages that are to be added to the environment:' \ +&& ret=0 +;; +(edit) +_arguments "${_arguments_options[@]}" : \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::editor -- The editor to use, defaults to `EDITOR` environment variable or `nano` on Unix and `notepad` on Windows:' \ +&& ret=0 +;; +(install) +_arguments "${_arguments_options[@]}" : \ +'*-c+[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'*--channel=[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'-p+[]:PLATFORM: ' \ +'--platform=[]:PLATFORM: ' \ +'-e+[Ensures that all packages will be installed in the same environment]:ENVIRONMENT: ' \ +'--environment=[Ensures that all packages will be installed in the same environment]:ENVIRONMENT: ' \ +'*--expose=[Add one or more mapping which describe which executables are exposed. The syntax is \`exposed_name=executable_name\`, so for example \`python3.10=python\`. Alternatively, you can input only an executable_name and \`executable_name=executable_name\` is assumed]:EXPOSE: ' \ +'*--with=[Add additional dependencies to the environment. Their executables will not be exposed]:WITH: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--force-reinstall[Specifies that the packages should be reinstalled even if they are already installed]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::packages -- Specifies the packages that are to be installed:' \ +&& ret=0 +;; +(i) +_arguments "${_arguments_options[@]}" : \ +'*-c+[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'*--channel=[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'-p+[]:PLATFORM: ' \ +'--platform=[]:PLATFORM: ' \ +'-e+[Ensures that all packages will be installed in the same environment]:ENVIRONMENT: ' \ +'--environment=[Ensures that all packages will be installed in the same environment]:ENVIRONMENT: ' \ +'*--expose=[Add one or more mapping which describe which executables are exposed. The syntax is \`exposed_name=executable_name\`, so for example \`python3.10=python\`. Alternatively, you can input only an executable_name and \`executable_name=executable_name\` is assumed]:EXPOSE: ' \ +'*--with=[Add additional dependencies to the environment. Their executables will not be exposed]:WITH: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--force-reinstall[Specifies that the packages should be reinstalled even if they are already installed]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::packages -- Specifies the packages that are to be installed:' \ +&& ret=0 +;; +(uninstall) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::environment -- Specifies the environments that are to be removed:' \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +'-e+[Specifies the environment that the dependencies need to be removed from]:ENVIRONMENT: ' \ +'--environment=[Specifies the environment that the dependencies need to be removed from]:ENVIRONMENT: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::packages -- Specifies the packages that are to be removed:' \ +&& ret=0 +;; +(rm) +_arguments "${_arguments_options[@]}" : \ +'-e+[Specifies the environment that the dependencies need to be removed from]:ENVIRONMENT: ' \ +'--environment=[Specifies the environment that the dependencies need to be removed from]:ENVIRONMENT: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::packages -- Specifies the packages that are to be removed:' \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'-e+[The name of the environment to list]:ENVIRONMENT: ' \ +'--environment=[The name of the environment to list]:ENVIRONMENT: ' \ +'--sort-by=[Sorting strategy for the package table of an environment]:SORT_BY:(size name)' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::regex -- List only packages matching a regular expression. Without regex syntax it acts like a `contains` filter:' \ +&& ret=0 +;; +(ls) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'-e+[The name of the environment to list]:ENVIRONMENT: ' \ +'--environment=[The name of the environment to list]:ENVIRONMENT: ' \ +'--sort-by=[Sorting strategy for the package table of an environment]:SORT_BY:(size name)' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::regex -- List only packages matching a regular expression. Without regex syntax it acts like a `contains` filter:' \ +&& ret=0 +;; +(sync) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(s) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(expose) +_arguments "${_arguments_options[@]}" : \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_pixi__global__expose_commands" \ +"*::: :->expose" \ +&& ret=0 + + case $state in + (expose) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-global-expose-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +'-e+[The environment to which the binaries should be exposed]:ENVIRONMENT: ' \ +'--environment=[The environment to which the binaries should be exposed]:ENVIRONMENT: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::mappings -- Add one or more mapping which describe which executables are exposed. The syntax is `exposed_name=executable_name`, so for example `python3.10=python`. Alternatively, you can input only an executable_name and `executable_name=executable_name` is assumed:' \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::exposed_names -- The exposed names that should be removed:' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__global__expose__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-global-expose-help-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(e) +_arguments "${_arguments_options[@]}" : \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +":: :_pixi__global__expose_commands" \ +"*::: :->expose" \ +&& ret=0 + + case $state in + (expose) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-global-expose-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +'-e+[The environment to which the binaries should be exposed]:ENVIRONMENT: ' \ +'--environment=[The environment to which the binaries should be exposed]:ENVIRONMENT: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::mappings -- Add one or more mapping which describe which executables are exposed. The syntax is `exposed_name=executable_name`, so for example `python3.10=python`. Alternatively, you can input only an executable_name and `executable_name=executable_name` is assumed:' \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::exposed_names -- The exposed names that should be removed:' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__global__expose__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-global-expose-help-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(update) +_arguments "${_arguments_options[@]}" : \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +'*::environments -- Specifies the environments that are to be updated:' \ +&& ret=0 +;; +(upgrade) +_arguments "${_arguments_options[@]}" : \ +'*-c+[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'*--channel=[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'--platform=[The platform to install the package for]:PLATFORM: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'*::specs -- Specifies the packages to upgrade:' \ +&& ret=0 +;; +(upgrade-all) +_arguments "${_arguments_options[@]}" : \ +'*-c+[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'*--channel=[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'--platform=[The platform to install the package for]:PLATFORM: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__global__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-global-help-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(edit) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(install) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(uninstall) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(sync) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(expose) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__global__help__expose_commands" \ +"*::: :->expose" \ +&& ret=0 + + case $state in + (expose) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-global-help-expose-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(update) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(upgrade) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(upgrade-all) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(auth) +_arguments "${_arguments_options[@]}" : \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +":: :_pixi__auth_commands" \ +"*::: :->auth" \ +&& ret=0 + + case $state in + (auth) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-auth-command-$line[1]:" + case $line[1] in + (login) +_arguments "${_arguments_options[@]}" : \ +'--token=[The token to use (for authentication with prefix.dev)]:TOKEN: ' \ +'--username=[The username to use (for basic HTTP authentication)]:USERNAME: ' \ +'--password=[The password to use (for basic HTTP authentication)]:PASSWORD: ' \ +'--conda-token=[The token to use on anaconda.org / quetz authentication]:CONDA_TOKEN: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +':host -- The host to authenticate with (e.g. repo.prefix.dev):' \ +&& ret=0 +;; +(logout) +_arguments "${_arguments_options[@]}" : \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +':host -- The host to remove authentication for:' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__auth__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-auth-help-command-$line[1]:" + case $line[1] in + (login) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(logout) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(config) +_arguments "${_arguments_options[@]}" : \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +":: :_pixi__config_commands" \ +"*::: :->config" \ +&& ret=0 + + case $state in + (config) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-config-command-$line[1]:" + case $line[1] in + (edit) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'(-g --global -s --system)-l[Operation on project-local configuration]' \ +'(-g --global -s --system)--local[Operation on project-local configuration]' \ +'(-l --local -s --system)-g[Operation on global configuration]' \ +'(-l --local -s --system)--global[Operation on global configuration]' \ +'(-l --local -g --global)-s[Operation on system configuration]' \ +'(-l --local -g --global)--system[Operation on system configuration]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +'::editor -- The editor to use, defaults to `EDITOR` environment variable or `nano` on Unix and `notepad` on Windows:' \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--json[Output in JSON format]' \ +'(-g --global -s --system)-l[Operation on project-local configuration]' \ +'(-g --global -s --system)--local[Operation on project-local configuration]' \ +'(-l --local -s --system)-g[Operation on global configuration]' \ +'(-l --local -s --system)--global[Operation on global configuration]' \ +'(-l --local -g --global)-s[Operation on system configuration]' \ +'(-l --local -g --global)--system[Operation on system configuration]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::key -- Configuration key to show (all if not provided):' \ +&& ret=0 +;; +(ls) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--json[Output in JSON format]' \ +'(-g --global -s --system)-l[Operation on project-local configuration]' \ +'(-g --global -s --system)--local[Operation on project-local configuration]' \ +'(-l --local -s --system)-g[Operation on global configuration]' \ +'(-l --local -s --system)--global[Operation on global configuration]' \ +'(-l --local -g --global)-s[Operation on system configuration]' \ +'(-l --local -g --global)--system[Operation on system configuration]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::key -- Configuration key to show (all if not provided):' \ +&& ret=0 +;; +(prepend) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'(-g --global -s --system)-l[Operation on project-local configuration]' \ +'(-g --global -s --system)--local[Operation on project-local configuration]' \ +'(-l --local -s --system)-g[Operation on global configuration]' \ +'(-l --local -s --system)--global[Operation on global configuration]' \ +'(-l --local -g --global)-s[Operation on system configuration]' \ +'(-l --local -g --global)--system[Operation on system configuration]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':key -- Configuration key to set:' \ +':value -- Configuration value to (pre|ap)pend:' \ +&& ret=0 +;; +(append) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'(-g --global -s --system)-l[Operation on project-local configuration]' \ +'(-g --global -s --system)--local[Operation on project-local configuration]' \ +'(-l --local -s --system)-g[Operation on global configuration]' \ +'(-l --local -s --system)--global[Operation on global configuration]' \ +'(-l --local -g --global)-s[Operation on system configuration]' \ +'(-l --local -g --global)--system[Operation on system configuration]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':key -- Configuration key to set:' \ +':value -- Configuration value to (pre|ap)pend:' \ +&& ret=0 +;; +(set) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'(-g --global -s --system)-l[Operation on project-local configuration]' \ +'(-g --global -s --system)--local[Operation on project-local configuration]' \ +'(-l --local -s --system)-g[Operation on global configuration]' \ +'(-l --local -s --system)--global[Operation on global configuration]' \ +'(-l --local -g --global)-s[Operation on system configuration]' \ +'(-l --local -g --global)--system[Operation on system configuration]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':key -- Configuration key to set:' \ +'::value -- Configuration value to set (key will be unset if value not provided):' \ +&& ret=0 +;; +(unset) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'(-g --global -s --system)-l[Operation on project-local configuration]' \ +'(-g --global -s --system)--local[Operation on project-local configuration]' \ +'(-l --local -s --system)-g[Operation on global configuration]' \ +'(-l --local -s --system)--global[Operation on global configuration]' \ +'(-l --local -g --global)-s[Operation on system configuration]' \ +'(-l --local -g --global)--system[Operation on system configuration]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':key -- Configuration key to unset:' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__config__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-config-help-command-$line[1]:" + case $line[1] in + (edit) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(prepend) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(append) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(set) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(unset) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(info) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--extended[Show cache and environment size]' \ +'--json[Whether to show the output as JSON or not]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(upload) +_arguments "${_arguments_options[@]}" : \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':host -- The host + channel to upload to:' \ +':package_file -- The file to upload:_files' \ +&& ret=0 +;; +(search) +_arguments "${_arguments_options[@]}" : \ +'*-c+[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'*--channel=[The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'-p+[The platform to search for, defaults to current platform]:PLATFORM: ' \ +'--platform=[The platform to search for, defaults to current platform]:PLATFORM: ' \ +'-l+[Limit the number of search results]:LIMIT: ' \ +'--limit=[Limit the number of search results]:LIMIT: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':package -- Name of package to search:' \ +&& ret=0 +;; +(self-update) +_arguments "${_arguments_options[@]}" : \ +'--version=[The desired version (to downgrade or upgrade to). Update to the latest version if not specified]:VERSION: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(clean) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'-e+[The environment directory to remove]:ENVIRONMENT: ' \ +'--environment=[The environment directory to remove]:ENVIRONMENT: ' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--activation-cache[Only remove the activation cache]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +":: :_pixi__clean_commands" \ +"*::: :->clean" \ +&& ret=0 + + case $state in + (clean) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-clean-command-$line[1]:" + case $line[1] in + (cache) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--pypi[Clean only the pypi related cache]' \ +'--conda[Clean only the conda related cache]' \ +'--mapping[Clean only the mapping cache]' \ +'--exec[Clean only \`exec\` cache]' \ +'--repodata[Clean only the repodata cache]' \ +'-y[Answer yes to all questions]' \ +'--yes[Answer yes to all questions]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__clean__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-clean-help-command-$line[1]:" + case $line[1] in + (cache) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(completion) +_arguments "${_arguments_options[@]}" : \ +'-s+[The shell to generate a completion script for]:SHELL:((bash\:"Bourne Again SHell (bash)" +elvish\:"Elvish shell" +fish\:"Friendly Interactive SHell (fish)" +nushell\:"Nushell" +powershell\:"PowerShell" +zsh\:"Z SHell (zsh)"))' \ +'--shell=[The shell to generate a completion script for]:SHELL:((bash\:"Bourne Again SHell (bash)" +elvish\:"Elvish shell" +fish\:"Friendly Interactive SHell (fish)" +nushell\:"Nushell" +powershell\:"PowerShell" +zsh\:"Z SHell (zsh)"))' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +&& ret=0 +;; +(build) +_arguments "${_arguments_options[@]}" : \ +'--manifest-path=[The path to \`pixi.toml\` or \`pyproject.toml\`]:MANIFEST_PATH:_files' \ +'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \ +'--pypi-keyring-provider=[Specifies if we want to use uv keyring provider]:PYPI_KEYRING_PROVIDER:(disabled subprocess)' \ +'--concurrent-solves=[Max concurrent solves, default is the number of CPUs]:CONCURRENT_SOLVES: ' \ +'--concurrent-downloads=[Max concurrent network requests, default is 50]:CONCURRENT_DOWNLOADS: ' \ +'-t+[The target platform to build for (defaults to the current platform)]:TARGET_PLATFORM: ' \ +'--target-platform=[The target platform to build for (defaults to the current platform)]:TARGET_PLATFORM: ' \ +'-o+[The output directory to place the build artifacts]:OUTPUT_DIR:_files' \ +'--output-dir=[The output directory to place the build artifacts]:OUTPUT_DIR:_files' \ +'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \ +'--tls-no-verify[Do not verify the TLS certificate of the server]' \ +'--with-system[Use system backend installed tool]' \ +'*-v[Increase logging verbosity]' \ +'*--verbose[Increase logging verbosity]' \ +'(-v --verbose)*-q[Decrease logging verbosity]' \ +'(-v --verbose)*--quiet[Decrease logging verbosity]' \ +'--no-progress[Hide all progress bars, always turned on if stderr is not a terminal]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ ":: :_pixi__help_commands" \ "*::: :->help" \ && ret=0 @@ -1254,140 +3519,48 @@ _arguments "${_arguments_options[@]}" \ (( CURRENT += 1 )) curcontext="${curcontext%:*:*}:pixi-help-command-$line[1]:" case $line[1] in - (completion) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(init) -_arguments "${_arguments_options[@]}" \ + (init) +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (add) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(run) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(shell) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(shell-hook) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(global) -_arguments "${_arguments_options[@]}" \ -":: :_pixi__help__global_commands" \ -"*::: :->global" \ -&& ret=0 - - case $state in - (global) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:pixi-help-global-command-$line[1]:" - case $line[1] in - (install) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (remove) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; -(list) -_arguments "${_arguments_options[@]}" \ +(install) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(update) +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (upgrade) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; -(upgrade-all) -_arguments "${_arguments_options[@]}" \ +(run) +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; - esac - ;; -esac -;; -(auth) -_arguments "${_arguments_options[@]}" \ -":: :_pixi__help__auth_commands" \ -"*::: :->auth" \ -&& ret=0 - - case $state in - (auth) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:pixi-help-auth-command-$line[1]:" - case $line[1] in - (login) -_arguments "${_arguments_options[@]}" \ +(exec) +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; -(logout) -_arguments "${_arguments_options[@]}" \ +(shell) +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; - esac - ;; -esac -;; -(install) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(task) -_arguments "${_arguments_options[@]}" \ -":: :_pixi__help__task_commands" \ -"*::: :->task" \ -&& ret=0 - - case $state in - (task) - words=($line[1] "${words[@]}") - (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:pixi-help-task-command-$line[1]:" - case $line[1] in - (add) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(remove) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(alias) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(list) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; - esac - ;; -esac -;; -(info) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(upload) -_arguments "${_arguments_options[@]}" \ -&& ret=0 -;; -(search) -_arguments "${_arguments_options[@]}" \ +(shell-hook) +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (project) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ ":: :_pixi__help__project_commands" \ "*::: :->project" \ && ret=0 @@ -1399,7 +3572,7 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-help-project-command-$line[1]:" case $line[1] in (channel) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ ":: :_pixi__help__project__channel_commands" \ "*::: :->channel" \ && ret=0 @@ -1411,15 +3584,15 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-help-project-channel-command-$line[1]:" case $line[1] in (add) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (list) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (remove) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; esac @@ -1427,7 +3600,7 @@ _arguments "${_arguments_options[@]}" \ esac ;; (description) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ ":: :_pixi__help__project__description_commands" \ "*::: :->description" \ && ret=0 @@ -1439,11 +3612,11 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-help-project-description-command-$line[1]:" case $line[1] in (get) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (set) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; esac @@ -1451,7 +3624,7 @@ _arguments "${_arguments_options[@]}" \ esac ;; (platform) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ ":: :_pixi__help__project__platform_commands" \ "*::: :->platform" \ && ret=0 @@ -1463,15 +3636,15 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-help-project-platform-command-$line[1]:" case $line[1] in (add) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (list) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (remove) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; esac @@ -1479,7 +3652,7 @@ _arguments "${_arguments_options[@]}" \ esac ;; (version) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ ":: :_pixi__help__project__version_commands" \ "*::: :->version" \ && ret=0 @@ -1491,51 +3664,315 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pixi-help-project-version-command-$line[1]:" case $line[1] in (get) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (set) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (major) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (minor) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (patch) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; esac ;; esac ;; - esac - ;; -esac -;; -(remove) -_arguments "${_arguments_options[@]}" \ +(environment) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__help__project__environment_commands" \ +"*::: :->environment" \ && ret=0 -;; -(self-update) -_arguments "${_arguments_options[@]}" \ + + case $state in + (environment) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-help-project-environment-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (list) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(export) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__help__project__export_commands" \ +"*::: :->export" \ +&& ret=0 + + case $state in + (export) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-help-project-export-command-$line[1]:" + case $line[1] in + (conda-explicit-spec) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(conda-environment) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(task) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__help__task_commands" \ +"*::: :->task" \ +&& ret=0 + + case $state in + (task) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-help-task-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(alias) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(list) +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (tree) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(global) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__help__global_commands" \ +"*::: :->global" \ +&& ret=0 + + case $state in + (global) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-help-global-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(edit) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(install) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(uninstall) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(sync) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(expose) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__help__global__expose_commands" \ +"*::: :->expose" \ +&& ret=0 + + case $state in + (expose) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-help-global-expose-command-$line[1]:" + case $line[1] in + (add) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(update) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(upgrade) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(upgrade-all) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(auth) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__help__auth_commands" \ +"*::: :->auth" \ +&& ret=0 + + case $state in + (auth) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-help-auth-command-$line[1]:" + case $line[1] in + (login) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(logout) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(config) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__help__config_commands" \ +"*::: :->config" \ +&& ret=0 + + case $state in + (config) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-help-config-command-$line[1]:" + case $line[1] in + (edit) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(prepend) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(append) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(set) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(unset) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(info) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(upload) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(search) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(self-update) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(clean) +_arguments "${_arguments_options[@]}" : \ +":: :_pixi__help__clean_commands" \ +"*::: :->clean" \ +&& ret=0 + + case $state in + (clean) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:pixi-help-clean-command-$line[1]:" + case $line[1] in + (cache) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(completion) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(build) +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (help) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; esac @@ -1550,24 +3987,39 @@ esac (( $+functions[_pixi_commands] )) || _pixi_commands() { local commands; commands=( -'completion:Generates a completion script for a shell' \ 'init:Creates a new project' \ -'add:Adds a dependency to the project' \ -'run:Runs task in project' \ -'shell:Start a shell in the pixi environment of the project' \ -'shell-hook:Print the activation script so users can source it in their shell, without needing the pixi executable' \ -'global:Global is the main entry point for the part of pixi that executes on the global(system) level' \ -'auth:Login to prefix.dev or anaconda.org servers to access private channels' \ +'add:Adds dependencies to the project' \ +'a:Adds dependencies to the project' \ +'remove:Removes dependencies from the project' \ +'rm:Removes dependencies from the project' \ 'install:Install all dependencies' \ -'task:Command management in project' \ -'info:Information about the system, project and environments for the current machine' \ -'upload:Upload a package to a prefix.dev channel' \ -'search:Search a package, output will list the latest version of package' \ +'i:Install all dependencies' \ +'update:Update dependencies as recorded in the local lock file' \ +'upgrade:Update the version of packages to the latest possible version, disregarding the manifest version constraints' \ +'run:Runs task in project' \ +'r:Runs task in project' \ +'exec:Run a command in a temporary environment' \ +'x:Run a command in a temporary environment' \ +'shell:Start a shell in the pixi environment of the project' \ +'s:Start a shell in the pixi environment of the project' \ +'shell-hook:Print the pixi environment activation script' \ 'project:Modify the project configuration file through the command line' \ -'remove:Remove the dependency from the project' \ -'self-update:Update pixi to the latest version or a specific version. If the pixi binary is not found in the default location (e.g. \`~/.pixi/bin/pixi\`), pixi won'\''t updated to prevent breaking the current installation (Homebrew, etc). The behaviour can be overridden with the \`--force\` flag' \ -'list:List project'\''s packages. Highlighted packages are explicit dependencies' \ +'task:Interact with tasks in the project' \ +'list:List project'\''s packages' \ +'ls:List project'\''s packages' \ 'tree:Show a tree of project dependencies' \ +'t:Show a tree of project dependencies' \ +'global:Subcommand for global package management actions' \ +'g:Subcommand for global package management actions' \ +'auth:Login to prefix.dev or anaconda.org servers to access private channels' \ +'config:Configuration management' \ +'info:Information about the system, project and environments for the current machine' \ +'upload:Upload a conda package' \ +'search:Search a conda package' \ +'self-update:Update pixi to the latest version or a specific version' \ +'clean:Clean the parts of your system which are touched by pixi. Defaults to cleaning the environments and task cache. Use the \`cache\` subcommand to clean the cache' \ +'completion:Generates a completion script for a shell' \ +'build:Project configuration' \ 'help:Print this message or the help of the given subcommand(s)' \ ) _describe -t commands 'pixi commands' commands "$@" @@ -1577,81 +4029,6 @@ _pixi__add_commands() { local commands; commands=() _describe -t commands 'pixi add commands' commands "$@" } -(( $+functions[_pixi__help__add_commands] )) || -_pixi__help__add_commands() { - local commands; commands=() - _describe -t commands 'pixi help add commands' commands "$@" -} -(( $+functions[_pixi__help__project__channel__add_commands] )) || -_pixi__help__project__channel__add_commands() { - local commands; commands=() - _describe -t commands 'pixi help project channel add commands' commands "$@" -} -(( $+functions[_pixi__help__project__platform__add_commands] )) || -_pixi__help__project__platform__add_commands() { - local commands; commands=() - _describe -t commands 'pixi help project platform add commands' commands "$@" -} -(( $+functions[_pixi__help__task__add_commands] )) || -_pixi__help__task__add_commands() { - local commands; commands=() - _describe -t commands 'pixi help task add commands' commands "$@" -} -(( $+functions[_pixi__project__channel__add_commands] )) || -_pixi__project__channel__add_commands() { - local commands; commands=() - _describe -t commands 'pixi project channel add commands' commands "$@" -} -(( $+functions[_pixi__project__channel__help__add_commands] )) || -_pixi__project__channel__help__add_commands() { - local commands; commands=() - _describe -t commands 'pixi project channel help add commands' commands "$@" -} -(( $+functions[_pixi__project__help__channel__add_commands] )) || -_pixi__project__help__channel__add_commands() { - local commands; commands=() - _describe -t commands 'pixi project help channel add commands' commands "$@" -} -(( $+functions[_pixi__project__help__platform__add_commands] )) || -_pixi__project__help__platform__add_commands() { - local commands; commands=() - _describe -t commands 'pixi project help platform add commands' commands "$@" -} -(( $+functions[_pixi__project__platform__add_commands] )) || -_pixi__project__platform__add_commands() { - local commands; commands=() - _describe -t commands 'pixi project platform add commands' commands "$@" -} -(( $+functions[_pixi__project__platform__help__add_commands] )) || -_pixi__project__platform__help__add_commands() { - local commands; commands=() - _describe -t commands 'pixi project platform help add commands' commands "$@" -} -(( $+functions[_pixi__task__add_commands] )) || -_pixi__task__add_commands() { - local commands; commands=() - _describe -t commands 'pixi task add commands' commands "$@" -} -(( $+functions[_pixi__task__help__add_commands] )) || -_pixi__task__help__add_commands() { - local commands; commands=() - _describe -t commands 'pixi task help add commands' commands "$@" -} -(( $+functions[_pixi__help__task__alias_commands] )) || -_pixi__help__task__alias_commands() { - local commands; commands=() - _describe -t commands 'pixi help task alias commands' commands "$@" -} -(( $+functions[_pixi__task__alias_commands] )) || -_pixi__task__alias_commands() { - local commands; commands=() - _describe -t commands 'pixi task alias commands' commands "$@" -} -(( $+functions[_pixi__task__help__alias_commands] )) || -_pixi__task__help__alias_commands() { - local commands; commands=() - _describe -t commands 'pixi task help alias commands' commands "$@" -} (( $+functions[_pixi__auth_commands] )) || _pixi__auth_commands() { local commands; commands=( @@ -1661,140 +4038,6 @@ _pixi__auth_commands() { ) _describe -t commands 'pixi auth commands' commands "$@" } -(( $+functions[_pixi__help__auth_commands] )) || -_pixi__help__auth_commands() { - local commands; commands=( -'login:Store authentication information for a given host' \ -'logout:Remove authentication information for a given host' \ - ) - _describe -t commands 'pixi help auth commands' commands "$@" -} -(( $+functions[_pixi__help__project__channel_commands] )) || -_pixi__help__project__channel_commands() { - local commands; commands=( -'add:Adds a channel to the project file and updates the lockfile' \ -'list:List the channels in the project file' \ -'remove:Remove channel(s) from the project file and updates the lockfile' \ - ) - _describe -t commands 'pixi help project channel commands' commands "$@" -} -(( $+functions[_pixi__project__channel_commands] )) || -_pixi__project__channel_commands() { - local commands; commands=( -'add:Adds a channel to the project file and updates the lockfile' \ -'list:List the channels in the project file' \ -'remove:Remove channel(s) from the project file and updates the lockfile' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'pixi project channel commands' commands "$@" -} -(( $+functions[_pixi__project__help__channel_commands] )) || -_pixi__project__help__channel_commands() { - local commands; commands=( -'add:Adds a channel to the project file and updates the lockfile' \ -'list:List the channels in the project file' \ -'remove:Remove channel(s) from the project file and updates the lockfile' \ - ) - _describe -t commands 'pixi project help channel commands' commands "$@" -} -(( $+functions[_pixi__completion_commands] )) || -_pixi__completion_commands() { - local commands; commands=() - _describe -t commands 'pixi completion commands' commands "$@" -} -(( $+functions[_pixi__help__completion_commands] )) || -_pixi__help__completion_commands() { - local commands; commands=() - _describe -t commands 'pixi help completion commands' commands "$@" -} -(( $+functions[_pixi__help__project__description_commands] )) || -_pixi__help__project__description_commands() { - local commands; commands=( -'get:Get the project description' \ -'set:Set the project description' \ - ) - _describe -t commands 'pixi help project description commands' commands "$@" -} -(( $+functions[_pixi__project__description_commands] )) || -_pixi__project__description_commands() { - local commands; commands=( -'get:Get the project description' \ -'set:Set the project description' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'pixi project description commands' commands "$@" -} -(( $+functions[_pixi__project__help__description_commands] )) || -_pixi__project__help__description_commands() { - local commands; commands=( -'get:Get the project description' \ -'set:Set the project description' \ - ) - _describe -t commands 'pixi project help description commands' commands "$@" -} -(( $+functions[_pixi__help__project__description__get_commands] )) || -_pixi__help__project__description__get_commands() { - local commands; commands=() - _describe -t commands 'pixi help project description get commands' commands "$@" -} -(( $+functions[_pixi__help__project__version__get_commands] )) || -_pixi__help__project__version__get_commands() { - local commands; commands=() - _describe -t commands 'pixi help project version get commands' commands "$@" -} -(( $+functions[_pixi__project__description__get_commands] )) || -_pixi__project__description__get_commands() { - local commands; commands=() - _describe -t commands 'pixi project description get commands' commands "$@" -} -(( $+functions[_pixi__project__description__help__get_commands] )) || -_pixi__project__description__help__get_commands() { - local commands; commands=() - _describe -t commands 'pixi project description help get commands' commands "$@" -} -(( $+functions[_pixi__project__help__description__get_commands] )) || -_pixi__project__help__description__get_commands() { - local commands; commands=() - _describe -t commands 'pixi project help description get commands' commands "$@" -} -(( $+functions[_pixi__project__help__version__get_commands] )) || -_pixi__project__help__version__get_commands() { - local commands; commands=() - _describe -t commands 'pixi project help version get commands' commands "$@" -} -(( $+functions[_pixi__project__version__get_commands] )) || -_pixi__project__version__get_commands() { - local commands; commands=() - _describe -t commands 'pixi project version get commands' commands "$@" -} -(( $+functions[_pixi__project__version__help__get_commands] )) || -_pixi__project__version__help__get_commands() { - local commands; commands=() - _describe -t commands 'pixi project version help get commands' commands "$@" -} -(( $+functions[_pixi__global_commands] )) || -_pixi__global_commands() { - local commands; commands=( -'install:Installs the defined package in a global accessible location' \ -'remove:Removes a package previously installed into a globally accessible location via \`pixi global install\`' \ -'list:Lists all packages previously installed into a globally accessible location via \`pixi global install\`' \ -'upgrade:Upgrade specific package which is installed globally' \ -'upgrade-all:Upgrade all globally installed packages' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'pixi global commands' commands "$@" -} -(( $+functions[_pixi__help__global_commands] )) || -_pixi__help__global_commands() { - local commands; commands=( -'install:Installs the defined package in a global accessible location' \ -'remove:Removes a package previously installed into a globally accessible location via \`pixi global install\`' \ -'list:Lists all packages previously installed into a globally accessible location via \`pixi global install\`' \ -'upgrade:Upgrade specific package which is installed globally' \ -'upgrade-all:Upgrade all globally installed packages' \ - ) - _describe -t commands 'pixi help global commands' commands "$@" -} (( $+functions[_pixi__auth__help_commands] )) || _pixi__auth__help_commands() { local commands; commands=( @@ -1809,360 +4052,700 @@ _pixi__auth__help__help_commands() { local commands; commands=() _describe -t commands 'pixi auth help help commands' commands "$@" } -(( $+functions[_pixi__global__help_commands] )) || -_pixi__global__help_commands() { - local commands; commands=( -'install:Installs the defined package in a global accessible location' \ -'remove:Removes a package previously installed into a globally accessible location via \`pixi global install\`' \ -'list:Lists all packages previously installed into a globally accessible location via \`pixi global install\`' \ -'upgrade:Upgrade specific package which is installed globally' \ -'upgrade-all:Upgrade all globally installed packages' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'pixi global help commands' commands "$@" -} -(( $+functions[_pixi__global__help__help_commands] )) || -_pixi__global__help__help_commands() { - local commands; commands=() - _describe -t commands 'pixi global help help commands' commands "$@" -} -(( $+functions[_pixi__help_commands] )) || -_pixi__help_commands() { - local commands; commands=( -'completion:Generates a completion script for a shell' \ -'init:Creates a new project' \ -'add:Adds a dependency to the project' \ -'run:Runs task in project' \ -'shell:Start a shell in the pixi environment of the project' \ -'shell-hook:Print the activation script so users can source it in their shell, without needing the pixi executable' \ -'global:Global is the main entry point for the part of pixi that executes on the global(system) level' \ -'auth:Login to prefix.dev or anaconda.org servers to access private channels' \ -'install:Install all dependencies' \ -'task:Command management in project' \ -'info:Information about the system, project and environments for the current machine' \ -'upload:Upload a package to a prefix.dev channel' \ -'search:Search a package, output will list the latest version of package' \ -'project:Modify the project configuration file through the command line' \ -'remove:Remove the dependency from the project' \ -'self-update:Update pixi to the latest version or a specific version. If the pixi binary is not found in the default location (e.g. \`~/.pixi/bin/pixi\`), pixi won'\''t updated to prevent breaking the current installation (Homebrew, etc). The behaviour can be overridden with the \`--force\` flag' \ -'list:List project'\''s packages. Highlighted packages are explicit dependencies' \ -'tree:Show a tree of project dependencies' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'pixi help commands' commands "$@" -} -(( $+functions[_pixi__help__help_commands] )) || -_pixi__help__help_commands() { - local commands; commands=() - _describe -t commands 'pixi help help commands' commands "$@" -} -(( $+functions[_pixi__project__channel__help_commands] )) || -_pixi__project__channel__help_commands() { - local commands; commands=( -'add:Adds a channel to the project file and updates the lockfile' \ -'list:List the channels in the project file' \ -'remove:Remove channel(s) from the project file and updates the lockfile' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'pixi project channel help commands' commands "$@" -} -(( $+functions[_pixi__project__channel__help__help_commands] )) || -_pixi__project__channel__help__help_commands() { - local commands; commands=() - _describe -t commands 'pixi project channel help help commands' commands "$@" -} -(( $+functions[_pixi__project__description__help_commands] )) || -_pixi__project__description__help_commands() { - local commands; commands=( -'get:Get the project description' \ -'set:Set the project description' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'pixi project description help commands' commands "$@" -} -(( $+functions[_pixi__project__description__help__help_commands] )) || -_pixi__project__description__help__help_commands() { - local commands; commands=() - _describe -t commands 'pixi project description help help commands' commands "$@" -} -(( $+functions[_pixi__project__help_commands] )) || -_pixi__project__help_commands() { - local commands; commands=( -'channel:Commands to manage project channels' \ -'description:Commands to manage project description' \ -'platform:Commands to manage project channels' \ -'version:Commands to manage project description' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'pixi project help commands' commands "$@" -} -(( $+functions[_pixi__project__help__help_commands] )) || -_pixi__project__help__help_commands() { - local commands; commands=() - _describe -t commands 'pixi project help help commands' commands "$@" -} -(( $+functions[_pixi__project__platform__help_commands] )) || -_pixi__project__platform__help_commands() { - local commands; commands=( -'add:Adds a platform(s) to the project file and updates the lockfile' \ -'list:List the platforms in the project file' \ -'remove:Remove platform(s) from the project file and updates the lockfile' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'pixi project platform help commands' commands "$@" -} -(( $+functions[_pixi__project__platform__help__help_commands] )) || -_pixi__project__platform__help__help_commands() { - local commands; commands=() - _describe -t commands 'pixi project platform help help commands' commands "$@" -} -(( $+functions[_pixi__project__version__help_commands] )) || -_pixi__project__version__help_commands() { - local commands; commands=( -'get:Get the project version' \ -'set:Set the project version' \ -'major:Bump the project version to MAJOR' \ -'minor:Bump the project version to MINOR' \ -'patch:Bump the project version to PATCH' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'pixi project version help commands' commands "$@" -} -(( $+functions[_pixi__project__version__help__help_commands] )) || -_pixi__project__version__help__help_commands() { - local commands; commands=() - _describe -t commands 'pixi project version help help commands' commands "$@" -} -(( $+functions[_pixi__task__help_commands] )) || -_pixi__task__help_commands() { - local commands; commands=( -'add:Add a command to the project' \ -'remove:Remove a command from the project' \ -'alias:Alias another specific command' \ -'list:List all tasks' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'pixi task help commands' commands "$@" -} -(( $+functions[_pixi__task__help__help_commands] )) || -_pixi__task__help__help_commands() { - local commands; commands=() - _describe -t commands 'pixi task help help commands' commands "$@" -} -(( $+functions[_pixi__help__info_commands] )) || -_pixi__help__info_commands() { - local commands; commands=() - _describe -t commands 'pixi help info commands' commands "$@" -} -(( $+functions[_pixi__info_commands] )) || -_pixi__info_commands() { - local commands; commands=() - _describe -t commands 'pixi info commands' commands "$@" -} -(( $+functions[_pixi__help__init_commands] )) || -_pixi__help__init_commands() { - local commands; commands=() - _describe -t commands 'pixi help init commands' commands "$@" -} -(( $+functions[_pixi__init_commands] )) || -_pixi__init_commands() { - local commands; commands=() - _describe -t commands 'pixi init commands' commands "$@" -} -(( $+functions[_pixi__global__help__install_commands] )) || -_pixi__global__help__install_commands() { - local commands; commands=() - _describe -t commands 'pixi global help install commands' commands "$@" -} -(( $+functions[_pixi__global__install_commands] )) || -_pixi__global__install_commands() { - local commands; commands=() - _describe -t commands 'pixi global install commands' commands "$@" -} -(( $+functions[_pixi__help__global__install_commands] )) || -_pixi__help__global__install_commands() { - local commands; commands=() - _describe -t commands 'pixi help global install commands' commands "$@" -} -(( $+functions[_pixi__help__install_commands] )) || -_pixi__help__install_commands() { - local commands; commands=() - _describe -t commands 'pixi help install commands' commands "$@" -} -(( $+functions[_pixi__install_commands] )) || -_pixi__install_commands() { - local commands; commands=() - _describe -t commands 'pixi install commands' commands "$@" -} -(( $+functions[_pixi__global__help__list_commands] )) || -_pixi__global__help__list_commands() { - local commands; commands=() - _describe -t commands 'pixi global help list commands' commands "$@" -} -(( $+functions[_pixi__global__list_commands] )) || -_pixi__global__list_commands() { - local commands; commands=() - _describe -t commands 'pixi global list commands' commands "$@" -} -(( $+functions[_pixi__help__global__list_commands] )) || -_pixi__help__global__list_commands() { - local commands; commands=() - _describe -t commands 'pixi help global list commands' commands "$@" -} -(( $+functions[_pixi__help__list_commands] )) || -_pixi__help__list_commands() { - local commands; commands=() - _describe -t commands 'pixi help list commands' commands "$@" -} -(( $+functions[_pixi__help__project__channel__list_commands] )) || -_pixi__help__project__channel__list_commands() { - local commands; commands=() - _describe -t commands 'pixi help project channel list commands' commands "$@" -} -(( $+functions[_pixi__help__project__platform__list_commands] )) || -_pixi__help__project__platform__list_commands() { - local commands; commands=() - _describe -t commands 'pixi help project platform list commands' commands "$@" -} -(( $+functions[_pixi__help__task__list_commands] )) || -_pixi__help__task__list_commands() { - local commands; commands=() - _describe -t commands 'pixi help task list commands' commands "$@" -} -(( $+functions[_pixi__list_commands] )) || -_pixi__list_commands() { - local commands; commands=() - _describe -t commands 'pixi list commands' commands "$@" -} -(( $+functions[_pixi__project__channel__help__list_commands] )) || -_pixi__project__channel__help__list_commands() { - local commands; commands=() - _describe -t commands 'pixi project channel help list commands' commands "$@" -} -(( $+functions[_pixi__project__channel__list_commands] )) || -_pixi__project__channel__list_commands() { - local commands; commands=() - _describe -t commands 'pixi project channel list commands' commands "$@" -} -(( $+functions[_pixi__project__help__channel__list_commands] )) || -_pixi__project__help__channel__list_commands() { - local commands; commands=() - _describe -t commands 'pixi project help channel list commands' commands "$@" -} -(( $+functions[_pixi__project__help__platform__list_commands] )) || -_pixi__project__help__platform__list_commands() { - local commands; commands=() - _describe -t commands 'pixi project help platform list commands' commands "$@" -} -(( $+functions[_pixi__project__platform__help__list_commands] )) || -_pixi__project__platform__help__list_commands() { - local commands; commands=() - _describe -t commands 'pixi project platform help list commands' commands "$@" -} -(( $+functions[_pixi__project__platform__list_commands] )) || -_pixi__project__platform__list_commands() { - local commands; commands=() - _describe -t commands 'pixi project platform list commands' commands "$@" -} -(( $+functions[_pixi__task__help__list_commands] )) || -_pixi__task__help__list_commands() { - local commands; commands=() - _describe -t commands 'pixi task help list commands' commands "$@" -} -(( $+functions[_pixi__task__list_commands] )) || -_pixi__task__list_commands() { - local commands; commands=() - _describe -t commands 'pixi task list commands' commands "$@" -} (( $+functions[_pixi__auth__help__login_commands] )) || _pixi__auth__help__login_commands() { local commands; commands=() _describe -t commands 'pixi auth help login commands' commands "$@" } -(( $+functions[_pixi__auth__login_commands] )) || -_pixi__auth__login_commands() { - local commands; commands=() - _describe -t commands 'pixi auth login commands' commands "$@" -} -(( $+functions[_pixi__help__auth__login_commands] )) || -_pixi__help__auth__login_commands() { - local commands; commands=() - _describe -t commands 'pixi help auth login commands' commands "$@" -} (( $+functions[_pixi__auth__help__logout_commands] )) || _pixi__auth__help__logout_commands() { local commands; commands=() _describe -t commands 'pixi auth help logout commands' commands "$@" } +(( $+functions[_pixi__auth__login_commands] )) || +_pixi__auth__login_commands() { + local commands; commands=() + _describe -t commands 'pixi auth login commands' commands "$@" +} (( $+functions[_pixi__auth__logout_commands] )) || _pixi__auth__logout_commands() { local commands; commands=() _describe -t commands 'pixi auth logout commands' commands "$@" } +(( $+functions[_pixi__build_commands] )) || +_pixi__build_commands() { + local commands; commands=() + _describe -t commands 'pixi build commands' commands "$@" +} +(( $+functions[_pixi__clean_commands] )) || +_pixi__clean_commands() { + local commands; commands=( +'cache:Clean the cache of your system which are touched by pixi' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi clean commands' commands "$@" +} +(( $+functions[_pixi__clean__cache_commands] )) || +_pixi__clean__cache_commands() { + local commands; commands=() + _describe -t commands 'pixi clean cache commands' commands "$@" +} +(( $+functions[_pixi__clean__help_commands] )) || +_pixi__clean__help_commands() { + local commands; commands=( +'cache:Clean the cache of your system which are touched by pixi' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi clean help commands' commands "$@" +} +(( $+functions[_pixi__clean__help__cache_commands] )) || +_pixi__clean__help__cache_commands() { + local commands; commands=() + _describe -t commands 'pixi clean help cache commands' commands "$@" +} +(( $+functions[_pixi__clean__help__help_commands] )) || +_pixi__clean__help__help_commands() { + local commands; commands=() + _describe -t commands 'pixi clean help help commands' commands "$@" +} +(( $+functions[_pixi__completion_commands] )) || +_pixi__completion_commands() { + local commands; commands=() + _describe -t commands 'pixi completion commands' commands "$@" +} +(( $+functions[_pixi__config_commands] )) || +_pixi__config_commands() { + local commands; commands=( +'edit:Edit the configuration file' \ +'list:List configuration values' \ +'ls:List configuration values' \ +'prepend:Prepend a value to a list configuration key' \ +'append:Append a value to a list configuration key' \ +'set:Set a configuration value' \ +'unset:Unset a configuration value' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi config commands' commands "$@" +} +(( $+functions[_pixi__config__append_commands] )) || +_pixi__config__append_commands() { + local commands; commands=() + _describe -t commands 'pixi config append commands' commands "$@" +} +(( $+functions[_pixi__config__edit_commands] )) || +_pixi__config__edit_commands() { + local commands; commands=() + _describe -t commands 'pixi config edit commands' commands "$@" +} +(( $+functions[_pixi__config__help_commands] )) || +_pixi__config__help_commands() { + local commands; commands=( +'edit:Edit the configuration file' \ +'list:List configuration values' \ +'prepend:Prepend a value to a list configuration key' \ +'append:Append a value to a list configuration key' \ +'set:Set a configuration value' \ +'unset:Unset a configuration value' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi config help commands' commands "$@" +} +(( $+functions[_pixi__config__help__append_commands] )) || +_pixi__config__help__append_commands() { + local commands; commands=() + _describe -t commands 'pixi config help append commands' commands "$@" +} +(( $+functions[_pixi__config__help__edit_commands] )) || +_pixi__config__help__edit_commands() { + local commands; commands=() + _describe -t commands 'pixi config help edit commands' commands "$@" +} +(( $+functions[_pixi__config__help__help_commands] )) || +_pixi__config__help__help_commands() { + local commands; commands=() + _describe -t commands 'pixi config help help commands' commands "$@" +} +(( $+functions[_pixi__config__help__list_commands] )) || +_pixi__config__help__list_commands() { + local commands; commands=() + _describe -t commands 'pixi config help list commands' commands "$@" +} +(( $+functions[_pixi__config__help__prepend_commands] )) || +_pixi__config__help__prepend_commands() { + local commands; commands=() + _describe -t commands 'pixi config help prepend commands' commands "$@" +} +(( $+functions[_pixi__config__help__set_commands] )) || +_pixi__config__help__set_commands() { + local commands; commands=() + _describe -t commands 'pixi config help set commands' commands "$@" +} +(( $+functions[_pixi__config__help__unset_commands] )) || +_pixi__config__help__unset_commands() { + local commands; commands=() + _describe -t commands 'pixi config help unset commands' commands "$@" +} +(( $+functions[_pixi__config__list_commands] )) || +_pixi__config__list_commands() { + local commands; commands=() + _describe -t commands 'pixi config list commands' commands "$@" +} +(( $+functions[_pixi__config__prepend_commands] )) || +_pixi__config__prepend_commands() { + local commands; commands=() + _describe -t commands 'pixi config prepend commands' commands "$@" +} +(( $+functions[_pixi__config__set_commands] )) || +_pixi__config__set_commands() { + local commands; commands=() + _describe -t commands 'pixi config set commands' commands "$@" +} +(( $+functions[_pixi__config__unset_commands] )) || +_pixi__config__unset_commands() { + local commands; commands=() + _describe -t commands 'pixi config unset commands' commands "$@" +} +(( $+functions[_pixi__exec_commands] )) || +_pixi__exec_commands() { + local commands; commands=() + _describe -t commands 'pixi exec commands' commands "$@" +} +(( $+functions[_pixi__global_commands] )) || +_pixi__global_commands() { + local commands; commands=( +'add:Adds dependencies to an environment' \ +'a:Adds dependencies to an environment' \ +'edit:Edit the global manifest file' \ +'install:Installs the defined packages in a globally accessible location and exposes their command line applications.' \ +'i:Installs the defined packages in a globally accessible location and exposes their command line applications.' \ +'uninstall:Uninstalls environments from the global environment.' \ +'remove:Removes dependencies from an environment' \ +'rm:Removes dependencies from an environment' \ +'list:Lists all packages previously installed into a globally accessible location via \`pixi global install\`.' \ +'ls:Lists all packages previously installed into a globally accessible location via \`pixi global install\`.' \ +'sync:Sync global manifest with installed environments' \ +'s:Sync global manifest with installed environments' \ +'expose:Interact with the exposure of binaries in the global environment' \ +'e:Interact with the exposure of binaries in the global environment' \ +'update:Updates environments in the global environment' \ +'upgrade:Upgrade specific package which is installed globally. This command has been removed, please use \`pixi global update\` instead' \ +'upgrade-all:Upgrade all globally installed packages This command has been removed, please use \`pixi global update\` instead' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi global commands' commands "$@" +} +(( $+functions[_pixi__global__add_commands] )) || +_pixi__global__add_commands() { + local commands; commands=() + _describe -t commands 'pixi global add commands' commands "$@" +} +(( $+functions[_pixi__global__edit_commands] )) || +_pixi__global__edit_commands() { + local commands; commands=() + _describe -t commands 'pixi global edit commands' commands "$@" +} +(( $+functions[_pixi__global__expose_commands] )) || +_pixi__global__expose_commands() { + local commands; commands=( +'add:Add exposed binaries from an environment to your global environment' \ +'remove:Remove exposed binaries from the global environment' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi global expose commands' commands "$@" +} +(( $+functions[_pixi__global__expose__add_commands] )) || +_pixi__global__expose__add_commands() { + local commands; commands=() + _describe -t commands 'pixi global expose add commands' commands "$@" +} +(( $+functions[_pixi__global__expose__help_commands] )) || +_pixi__global__expose__help_commands() { + local commands; commands=( +'add:Add exposed binaries from an environment to your global environment' \ +'remove:Remove exposed binaries from the global environment' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi global expose help commands' commands "$@" +} +(( $+functions[_pixi__global__expose__help__add_commands] )) || +_pixi__global__expose__help__add_commands() { + local commands; commands=() + _describe -t commands 'pixi global expose help add commands' commands "$@" +} +(( $+functions[_pixi__global__expose__help__help_commands] )) || +_pixi__global__expose__help__help_commands() { + local commands; commands=() + _describe -t commands 'pixi global expose help help commands' commands "$@" +} +(( $+functions[_pixi__global__expose__help__remove_commands] )) || +_pixi__global__expose__help__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi global expose help remove commands' commands "$@" +} +(( $+functions[_pixi__global__expose__remove_commands] )) || +_pixi__global__expose__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi global expose remove commands' commands "$@" +} +(( $+functions[_pixi__global__help_commands] )) || +_pixi__global__help_commands() { + local commands; commands=( +'add:Adds dependencies to an environment' \ +'edit:Edit the global manifest file' \ +'install:Installs the defined packages in a globally accessible location and exposes their command line applications.' \ +'uninstall:Uninstalls environments from the global environment.' \ +'remove:Removes dependencies from an environment' \ +'list:Lists all packages previously installed into a globally accessible location via \`pixi global install\`.' \ +'sync:Sync global manifest with installed environments' \ +'expose:Interact with the exposure of binaries in the global environment' \ +'update:Updates environments in the global environment' \ +'upgrade:Upgrade specific package which is installed globally. This command has been removed, please use \`pixi global update\` instead' \ +'upgrade-all:Upgrade all globally installed packages This command has been removed, please use \`pixi global update\` instead' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi global help commands' commands "$@" +} +(( $+functions[_pixi__global__help__add_commands] )) || +_pixi__global__help__add_commands() { + local commands; commands=() + _describe -t commands 'pixi global help add commands' commands "$@" +} +(( $+functions[_pixi__global__help__edit_commands] )) || +_pixi__global__help__edit_commands() { + local commands; commands=() + _describe -t commands 'pixi global help edit commands' commands "$@" +} +(( $+functions[_pixi__global__help__expose_commands] )) || +_pixi__global__help__expose_commands() { + local commands; commands=( +'add:Add exposed binaries from an environment to your global environment' \ +'remove:Remove exposed binaries from the global environment' \ + ) + _describe -t commands 'pixi global help expose commands' commands "$@" +} +(( $+functions[_pixi__global__help__expose__add_commands] )) || +_pixi__global__help__expose__add_commands() { + local commands; commands=() + _describe -t commands 'pixi global help expose add commands' commands "$@" +} +(( $+functions[_pixi__global__help__expose__remove_commands] )) || +_pixi__global__help__expose__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi global help expose remove commands' commands "$@" +} +(( $+functions[_pixi__global__help__help_commands] )) || +_pixi__global__help__help_commands() { + local commands; commands=() + _describe -t commands 'pixi global help help commands' commands "$@" +} +(( $+functions[_pixi__global__help__install_commands] )) || +_pixi__global__help__install_commands() { + local commands; commands=() + _describe -t commands 'pixi global help install commands' commands "$@" +} +(( $+functions[_pixi__global__help__list_commands] )) || +_pixi__global__help__list_commands() { + local commands; commands=() + _describe -t commands 'pixi global help list commands' commands "$@" +} +(( $+functions[_pixi__global__help__remove_commands] )) || +_pixi__global__help__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi global help remove commands' commands "$@" +} +(( $+functions[_pixi__global__help__sync_commands] )) || +_pixi__global__help__sync_commands() { + local commands; commands=() + _describe -t commands 'pixi global help sync commands' commands "$@" +} +(( $+functions[_pixi__global__help__uninstall_commands] )) || +_pixi__global__help__uninstall_commands() { + local commands; commands=() + _describe -t commands 'pixi global help uninstall commands' commands "$@" +} +(( $+functions[_pixi__global__help__update_commands] )) || +_pixi__global__help__update_commands() { + local commands; commands=() + _describe -t commands 'pixi global help update commands' commands "$@" +} +(( $+functions[_pixi__global__help__upgrade_commands] )) || +_pixi__global__help__upgrade_commands() { + local commands; commands=() + _describe -t commands 'pixi global help upgrade commands' commands "$@" +} +(( $+functions[_pixi__global__help__upgrade-all_commands] )) || +_pixi__global__help__upgrade-all_commands() { + local commands; commands=() + _describe -t commands 'pixi global help upgrade-all commands' commands "$@" +} +(( $+functions[_pixi__global__install_commands] )) || +_pixi__global__install_commands() { + local commands; commands=() + _describe -t commands 'pixi global install commands' commands "$@" +} +(( $+functions[_pixi__global__list_commands] )) || +_pixi__global__list_commands() { + local commands; commands=() + _describe -t commands 'pixi global list commands' commands "$@" +} +(( $+functions[_pixi__global__remove_commands] )) || +_pixi__global__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi global remove commands' commands "$@" +} +(( $+functions[_pixi__global__sync_commands] )) || +_pixi__global__sync_commands() { + local commands; commands=() + _describe -t commands 'pixi global sync commands' commands "$@" +} +(( $+functions[_pixi__global__uninstall_commands] )) || +_pixi__global__uninstall_commands() { + local commands; commands=() + _describe -t commands 'pixi global uninstall commands' commands "$@" +} +(( $+functions[_pixi__global__update_commands] )) || +_pixi__global__update_commands() { + local commands; commands=() + _describe -t commands 'pixi global update commands' commands "$@" +} +(( $+functions[_pixi__global__upgrade_commands] )) || +_pixi__global__upgrade_commands() { + local commands; commands=() + _describe -t commands 'pixi global upgrade commands' commands "$@" +} +(( $+functions[_pixi__global__upgrade-all_commands] )) || +_pixi__global__upgrade-all_commands() { + local commands; commands=() + _describe -t commands 'pixi global upgrade-all commands' commands "$@" +} +(( $+functions[_pixi__help_commands] )) || +_pixi__help_commands() { + local commands; commands=( +'init:Creates a new project' \ +'add:Adds dependencies to the project' \ +'remove:Removes dependencies from the project' \ +'install:Install all dependencies' \ +'update:Update dependencies as recorded in the local lock file' \ +'upgrade:Update the version of packages to the latest possible version, disregarding the manifest version constraints' \ +'run:Runs task in project' \ +'exec:Run a command in a temporary environment' \ +'shell:Start a shell in the pixi environment of the project' \ +'shell-hook:Print the pixi environment activation script' \ +'project:Modify the project configuration file through the command line' \ +'task:Interact with tasks in the project' \ +'list:List project'\''s packages' \ +'tree:Show a tree of project dependencies' \ +'global:Subcommand for global package management actions' \ +'auth:Login to prefix.dev or anaconda.org servers to access private channels' \ +'config:Configuration management' \ +'info:Information about the system, project and environments for the current machine' \ +'upload:Upload a conda package' \ +'search:Search a conda package' \ +'self-update:Update pixi to the latest version or a specific version' \ +'clean:Clean the parts of your system which are touched by pixi. Defaults to cleaning the environments and task cache. Use the \`cache\` subcommand to clean the cache' \ +'completion:Generates a completion script for a shell' \ +'build:Project configuration' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi help commands' commands "$@" +} +(( $+functions[_pixi__help__add_commands] )) || +_pixi__help__add_commands() { + local commands; commands=() + _describe -t commands 'pixi help add commands' commands "$@" +} +(( $+functions[_pixi__help__auth_commands] )) || +_pixi__help__auth_commands() { + local commands; commands=( +'login:Store authentication information for a given host' \ +'logout:Remove authentication information for a given host' \ + ) + _describe -t commands 'pixi help auth commands' commands "$@" +} +(( $+functions[_pixi__help__auth__login_commands] )) || +_pixi__help__auth__login_commands() { + local commands; commands=() + _describe -t commands 'pixi help auth login commands' commands "$@" +} (( $+functions[_pixi__help__auth__logout_commands] )) || _pixi__help__auth__logout_commands() { local commands; commands=() _describe -t commands 'pixi help auth logout commands' commands "$@" } -(( $+functions[_pixi__help__project__version__major_commands] )) || -_pixi__help__project__version__major_commands() { +(( $+functions[_pixi__help__build_commands] )) || +_pixi__help__build_commands() { local commands; commands=() - _describe -t commands 'pixi help project version major commands' commands "$@" + _describe -t commands 'pixi help build commands' commands "$@" } -(( $+functions[_pixi__project__help__version__major_commands] )) || -_pixi__project__help__version__major_commands() { - local commands; commands=() - _describe -t commands 'pixi project help version major commands' commands "$@" +(( $+functions[_pixi__help__clean_commands] )) || +_pixi__help__clean_commands() { + local commands; commands=( +'cache:Clean the cache of your system which are touched by pixi' \ + ) + _describe -t commands 'pixi help clean commands' commands "$@" } -(( $+functions[_pixi__project__version__help__major_commands] )) || -_pixi__project__version__help__major_commands() { +(( $+functions[_pixi__help__clean__cache_commands] )) || +_pixi__help__clean__cache_commands() { local commands; commands=() - _describe -t commands 'pixi project version help major commands' commands "$@" + _describe -t commands 'pixi help clean cache commands' commands "$@" } -(( $+functions[_pixi__project__version__major_commands] )) || -_pixi__project__version__major_commands() { +(( $+functions[_pixi__help__completion_commands] )) || +_pixi__help__completion_commands() { local commands; commands=() - _describe -t commands 'pixi project version major commands' commands "$@" + _describe -t commands 'pixi help completion commands' commands "$@" } -(( $+functions[_pixi__help__project__version__minor_commands] )) || -_pixi__help__project__version__minor_commands() { - local commands; commands=() - _describe -t commands 'pixi help project version minor commands' commands "$@" +(( $+functions[_pixi__help__config_commands] )) || +_pixi__help__config_commands() { + local commands; commands=( +'edit:Edit the configuration file' \ +'list:List configuration values' \ +'prepend:Prepend a value to a list configuration key' \ +'append:Append a value to a list configuration key' \ +'set:Set a configuration value' \ +'unset:Unset a configuration value' \ + ) + _describe -t commands 'pixi help config commands' commands "$@" } -(( $+functions[_pixi__project__help__version__minor_commands] )) || -_pixi__project__help__version__minor_commands() { +(( $+functions[_pixi__help__config__append_commands] )) || +_pixi__help__config__append_commands() { local commands; commands=() - _describe -t commands 'pixi project help version minor commands' commands "$@" + _describe -t commands 'pixi help config append commands' commands "$@" } -(( $+functions[_pixi__project__version__help__minor_commands] )) || -_pixi__project__version__help__minor_commands() { +(( $+functions[_pixi__help__config__edit_commands] )) || +_pixi__help__config__edit_commands() { local commands; commands=() - _describe -t commands 'pixi project version help minor commands' commands "$@" + _describe -t commands 'pixi help config edit commands' commands "$@" } -(( $+functions[_pixi__project__version__minor_commands] )) || -_pixi__project__version__minor_commands() { +(( $+functions[_pixi__help__config__list_commands] )) || +_pixi__help__config__list_commands() { local commands; commands=() - _describe -t commands 'pixi project version minor commands' commands "$@" + _describe -t commands 'pixi help config list commands' commands "$@" } -(( $+functions[_pixi__help__project__version__patch_commands] )) || -_pixi__help__project__version__patch_commands() { +(( $+functions[_pixi__help__config__prepend_commands] )) || +_pixi__help__config__prepend_commands() { local commands; commands=() - _describe -t commands 'pixi help project version patch commands' commands "$@" + _describe -t commands 'pixi help config prepend commands' commands "$@" } -(( $+functions[_pixi__project__help__version__patch_commands] )) || -_pixi__project__help__version__patch_commands() { +(( $+functions[_pixi__help__config__set_commands] )) || +_pixi__help__config__set_commands() { local commands; commands=() - _describe -t commands 'pixi project help version patch commands' commands "$@" + _describe -t commands 'pixi help config set commands' commands "$@" } -(( $+functions[_pixi__project__version__help__patch_commands] )) || -_pixi__project__version__help__patch_commands() { +(( $+functions[_pixi__help__config__unset_commands] )) || +_pixi__help__config__unset_commands() { local commands; commands=() - _describe -t commands 'pixi project version help patch commands' commands "$@" + _describe -t commands 'pixi help config unset commands' commands "$@" } -(( $+functions[_pixi__project__version__patch_commands] )) || -_pixi__project__version__patch_commands() { +(( $+functions[_pixi__help__exec_commands] )) || +_pixi__help__exec_commands() { local commands; commands=() - _describe -t commands 'pixi project version patch commands' commands "$@" + _describe -t commands 'pixi help exec commands' commands "$@" +} +(( $+functions[_pixi__help__global_commands] )) || +_pixi__help__global_commands() { + local commands; commands=( +'add:Adds dependencies to an environment' \ +'edit:Edit the global manifest file' \ +'install:Installs the defined packages in a globally accessible location and exposes their command line applications.' \ +'uninstall:Uninstalls environments from the global environment.' \ +'remove:Removes dependencies from an environment' \ +'list:Lists all packages previously installed into a globally accessible location via \`pixi global install\`.' \ +'sync:Sync global manifest with installed environments' \ +'expose:Interact with the exposure of binaries in the global environment' \ +'update:Updates environments in the global environment' \ +'upgrade:Upgrade specific package which is installed globally. This command has been removed, please use \`pixi global update\` instead' \ +'upgrade-all:Upgrade all globally installed packages This command has been removed, please use \`pixi global update\` instead' \ + ) + _describe -t commands 'pixi help global commands' commands "$@" +} +(( $+functions[_pixi__help__global__add_commands] )) || +_pixi__help__global__add_commands() { + local commands; commands=() + _describe -t commands 'pixi help global add commands' commands "$@" +} +(( $+functions[_pixi__help__global__edit_commands] )) || +_pixi__help__global__edit_commands() { + local commands; commands=() + _describe -t commands 'pixi help global edit commands' commands "$@" +} +(( $+functions[_pixi__help__global__expose_commands] )) || +_pixi__help__global__expose_commands() { + local commands; commands=( +'add:Add exposed binaries from an environment to your global environment' \ +'remove:Remove exposed binaries from the global environment' \ + ) + _describe -t commands 'pixi help global expose commands' commands "$@" +} +(( $+functions[_pixi__help__global__expose__add_commands] )) || +_pixi__help__global__expose__add_commands() { + local commands; commands=() + _describe -t commands 'pixi help global expose add commands' commands "$@" +} +(( $+functions[_pixi__help__global__expose__remove_commands] )) || +_pixi__help__global__expose__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi help global expose remove commands' commands "$@" +} +(( $+functions[_pixi__help__global__install_commands] )) || +_pixi__help__global__install_commands() { + local commands; commands=() + _describe -t commands 'pixi help global install commands' commands "$@" +} +(( $+functions[_pixi__help__global__list_commands] )) || +_pixi__help__global__list_commands() { + local commands; commands=() + _describe -t commands 'pixi help global list commands' commands "$@" +} +(( $+functions[_pixi__help__global__remove_commands] )) || +_pixi__help__global__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi help global remove commands' commands "$@" +} +(( $+functions[_pixi__help__global__sync_commands] )) || +_pixi__help__global__sync_commands() { + local commands; commands=() + _describe -t commands 'pixi help global sync commands' commands "$@" +} +(( $+functions[_pixi__help__global__uninstall_commands] )) || +_pixi__help__global__uninstall_commands() { + local commands; commands=() + _describe -t commands 'pixi help global uninstall commands' commands "$@" +} +(( $+functions[_pixi__help__global__update_commands] )) || +_pixi__help__global__update_commands() { + local commands; commands=() + _describe -t commands 'pixi help global update commands' commands "$@" +} +(( $+functions[_pixi__help__global__upgrade_commands] )) || +_pixi__help__global__upgrade_commands() { + local commands; commands=() + _describe -t commands 'pixi help global upgrade commands' commands "$@" +} +(( $+functions[_pixi__help__global__upgrade-all_commands] )) || +_pixi__help__global__upgrade-all_commands() { + local commands; commands=() + _describe -t commands 'pixi help global upgrade-all commands' commands "$@" +} +(( $+functions[_pixi__help__help_commands] )) || +_pixi__help__help_commands() { + local commands; commands=() + _describe -t commands 'pixi help help commands' commands "$@" +} +(( $+functions[_pixi__help__info_commands] )) || +_pixi__help__info_commands() { + local commands; commands=() + _describe -t commands 'pixi help info commands' commands "$@" +} +(( $+functions[_pixi__help__init_commands] )) || +_pixi__help__init_commands() { + local commands; commands=() + _describe -t commands 'pixi help init commands' commands "$@" +} +(( $+functions[_pixi__help__install_commands] )) || +_pixi__help__install_commands() { + local commands; commands=() + _describe -t commands 'pixi help install commands' commands "$@" +} +(( $+functions[_pixi__help__list_commands] )) || +_pixi__help__list_commands() { + local commands; commands=() + _describe -t commands 'pixi help list commands' commands "$@" +} +(( $+functions[_pixi__help__project_commands] )) || +_pixi__help__project_commands() { + local commands; commands=( +'channel:Commands to manage project channels' \ +'description:Commands to manage project description' \ +'platform:Commands to manage project platforms' \ +'version:Commands to manage project version' \ +'environment:Commands to manage project environments' \ +'export:Commands to export projects to other formats' \ + ) + _describe -t commands 'pixi help project commands' commands "$@" +} +(( $+functions[_pixi__help__project__channel_commands] )) || +_pixi__help__project__channel_commands() { + local commands; commands=( +'add:Adds a channel to the project file and updates the lockfile' \ +'list:List the channels in the project file' \ +'remove:Remove channel(s) from the project file and updates the lockfile' \ + ) + _describe -t commands 'pixi help project channel commands' commands "$@" +} +(( $+functions[_pixi__help__project__channel__add_commands] )) || +_pixi__help__project__channel__add_commands() { + local commands; commands=() + _describe -t commands 'pixi help project channel add commands' commands "$@" +} +(( $+functions[_pixi__help__project__channel__list_commands] )) || +_pixi__help__project__channel__list_commands() { + local commands; commands=() + _describe -t commands 'pixi help project channel list commands' commands "$@" +} +(( $+functions[_pixi__help__project__channel__remove_commands] )) || +_pixi__help__project__channel__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi help project channel remove commands' commands "$@" +} +(( $+functions[_pixi__help__project__description_commands] )) || +_pixi__help__project__description_commands() { + local commands; commands=( +'get:Get the project description' \ +'set:Set the project description' \ + ) + _describe -t commands 'pixi help project description commands' commands "$@" +} +(( $+functions[_pixi__help__project__description__get_commands] )) || +_pixi__help__project__description__get_commands() { + local commands; commands=() + _describe -t commands 'pixi help project description get commands' commands "$@" +} +(( $+functions[_pixi__help__project__description__set_commands] )) || +_pixi__help__project__description__set_commands() { + local commands; commands=() + _describe -t commands 'pixi help project description set commands' commands "$@" +} +(( $+functions[_pixi__help__project__environment_commands] )) || +_pixi__help__project__environment_commands() { + local commands; commands=( +'add:Adds an environment to the manifest file' \ +'list:List the environments in the manifest file' \ +'remove:Remove an environment from the manifest file' \ + ) + _describe -t commands 'pixi help project environment commands' commands "$@" +} +(( $+functions[_pixi__help__project__environment__add_commands] )) || +_pixi__help__project__environment__add_commands() { + local commands; commands=() + _describe -t commands 'pixi help project environment add commands' commands "$@" +} +(( $+functions[_pixi__help__project__environment__list_commands] )) || +_pixi__help__project__environment__list_commands() { + local commands; commands=() + _describe -t commands 'pixi help project environment list commands' commands "$@" +} +(( $+functions[_pixi__help__project__environment__remove_commands] )) || +_pixi__help__project__environment__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi help project environment remove commands' commands "$@" +} +(( $+functions[_pixi__help__project__export_commands] )) || +_pixi__help__project__export_commands() { + local commands; commands=( +'conda-explicit-spec:Export project environment to a conda explicit specification file' \ +'conda-environment:Export project environment to a conda environment.yaml file' \ + ) + _describe -t commands 'pixi help project export commands' commands "$@" +} +(( $+functions[_pixi__help__project__export__conda-environment_commands] )) || +_pixi__help__project__export__conda-environment_commands() { + local commands; commands=() + _describe -t commands 'pixi help project export conda-environment commands' commands "$@" +} +(( $+functions[_pixi__help__project__export__conda-explicit-spec_commands] )) || +_pixi__help__project__export__conda-explicit-spec_commands() { + local commands; commands=() + _describe -t commands 'pixi help project export conda-explicit-spec commands' commands "$@" } (( $+functions[_pixi__help__project__platform_commands] )) || _pixi__help__project__platform_commands() { @@ -2173,287 +4756,21 @@ _pixi__help__project__platform_commands() { ) _describe -t commands 'pixi help project platform commands' commands "$@" } -(( $+functions[_pixi__project__help__platform_commands] )) || -_pixi__project__help__platform_commands() { - local commands; commands=( -'add:Adds a platform(s) to the project file and updates the lockfile' \ -'list:List the platforms in the project file' \ -'remove:Remove platform(s) from the project file and updates the lockfile' \ - ) - _describe -t commands 'pixi project help platform commands' commands "$@" -} -(( $+functions[_pixi__project__platform_commands] )) || -_pixi__project__platform_commands() { - local commands; commands=( -'add:Adds a platform(s) to the project file and updates the lockfile' \ -'list:List the platforms in the project file' \ -'remove:Remove platform(s) from the project file and updates the lockfile' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'pixi project platform commands' commands "$@" -} -(( $+functions[_pixi__help__project_commands] )) || -_pixi__help__project_commands() { - local commands; commands=( -'channel:Commands to manage project channels' \ -'description:Commands to manage project description' \ -'platform:Commands to manage project channels' \ -'version:Commands to manage project description' \ - ) - _describe -t commands 'pixi help project commands' commands "$@" -} -(( $+functions[_pixi__project_commands] )) || -_pixi__project_commands() { - local commands; commands=( -'channel:Commands to manage project channels' \ -'description:Commands to manage project description' \ -'platform:Commands to manage project channels' \ -'version:Commands to manage project description' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'pixi project commands' commands "$@" -} -(( $+functions[_pixi__global__help__remove_commands] )) || -_pixi__global__help__remove_commands() { +(( $+functions[_pixi__help__project__platform__add_commands] )) || +_pixi__help__project__platform__add_commands() { local commands; commands=() - _describe -t commands 'pixi global help remove commands' commands "$@" + _describe -t commands 'pixi help project platform add commands' commands "$@" } -(( $+functions[_pixi__global__remove_commands] )) || -_pixi__global__remove_commands() { +(( $+functions[_pixi__help__project__platform__list_commands] )) || +_pixi__help__project__platform__list_commands() { local commands; commands=() - _describe -t commands 'pixi global remove commands' commands "$@" -} -(( $+functions[_pixi__help__global__remove_commands] )) || -_pixi__help__global__remove_commands() { - local commands; commands=() - _describe -t commands 'pixi help global remove commands' commands "$@" -} -(( $+functions[_pixi__help__project__channel__remove_commands] )) || -_pixi__help__project__channel__remove_commands() { - local commands; commands=() - _describe -t commands 'pixi help project channel remove commands' commands "$@" + _describe -t commands 'pixi help project platform list commands' commands "$@" } (( $+functions[_pixi__help__project__platform__remove_commands] )) || _pixi__help__project__platform__remove_commands() { local commands; commands=() _describe -t commands 'pixi help project platform remove commands' commands "$@" } -(( $+functions[_pixi__help__remove_commands] )) || -_pixi__help__remove_commands() { - local commands; commands=() - _describe -t commands 'pixi help remove commands' commands "$@" -} -(( $+functions[_pixi__help__task__remove_commands] )) || -_pixi__help__task__remove_commands() { - local commands; commands=() - _describe -t commands 'pixi help task remove commands' commands "$@" -} -(( $+functions[_pixi__project__channel__help__remove_commands] )) || -_pixi__project__channel__help__remove_commands() { - local commands; commands=() - _describe -t commands 'pixi project channel help remove commands' commands "$@" -} -(( $+functions[_pixi__project__channel__remove_commands] )) || -_pixi__project__channel__remove_commands() { - local commands; commands=() - _describe -t commands 'pixi project channel remove commands' commands "$@" -} -(( $+functions[_pixi__project__help__channel__remove_commands] )) || -_pixi__project__help__channel__remove_commands() { - local commands; commands=() - _describe -t commands 'pixi project help channel remove commands' commands "$@" -} -(( $+functions[_pixi__project__help__platform__remove_commands] )) || -_pixi__project__help__platform__remove_commands() { - local commands; commands=() - _describe -t commands 'pixi project help platform remove commands' commands "$@" -} -(( $+functions[_pixi__project__platform__help__remove_commands] )) || -_pixi__project__platform__help__remove_commands() { - local commands; commands=() - _describe -t commands 'pixi project platform help remove commands' commands "$@" -} -(( $+functions[_pixi__project__platform__remove_commands] )) || -_pixi__project__platform__remove_commands() { - local commands; commands=() - _describe -t commands 'pixi project platform remove commands' commands "$@" -} -(( $+functions[_pixi__remove_commands] )) || -_pixi__remove_commands() { - local commands; commands=() - _describe -t commands 'pixi remove commands' commands "$@" -} -(( $+functions[_pixi__task__help__remove_commands] )) || -_pixi__task__help__remove_commands() { - local commands; commands=() - _describe -t commands 'pixi task help remove commands' commands "$@" -} -(( $+functions[_pixi__task__remove_commands] )) || -_pixi__task__remove_commands() { - local commands; commands=() - _describe -t commands 'pixi task remove commands' commands "$@" -} -(( $+functions[_pixi__help__run_commands] )) || -_pixi__help__run_commands() { - local commands; commands=() - _describe -t commands 'pixi help run commands' commands "$@" -} -(( $+functions[_pixi__run_commands] )) || -_pixi__run_commands() { - local commands; commands=() - _describe -t commands 'pixi run commands' commands "$@" -} -(( $+functions[_pixi__help__search_commands] )) || -_pixi__help__search_commands() { - local commands; commands=() - _describe -t commands 'pixi help search commands' commands "$@" -} -(( $+functions[_pixi__search_commands] )) || -_pixi__search_commands() { - local commands; commands=() - _describe -t commands 'pixi search commands' commands "$@" -} -(( $+functions[_pixi__help__self-update_commands] )) || -_pixi__help__self-update_commands() { - local commands; commands=() - _describe -t commands 'pixi help self-update commands' commands "$@" -} -(( $+functions[_pixi__self-update_commands] )) || -_pixi__self-update_commands() { - local commands; commands=() - _describe -t commands 'pixi self-update commands' commands "$@" -} -(( $+functions[_pixi__help__project__description__set_commands] )) || -_pixi__help__project__description__set_commands() { - local commands; commands=() - _describe -t commands 'pixi help project description set commands' commands "$@" -} -(( $+functions[_pixi__help__project__version__set_commands] )) || -_pixi__help__project__version__set_commands() { - local commands; commands=() - _describe -t commands 'pixi help project version set commands' commands "$@" -} -(( $+functions[_pixi__project__description__help__set_commands] )) || -_pixi__project__description__help__set_commands() { - local commands; commands=() - _describe -t commands 'pixi project description help set commands' commands "$@" -} -(( $+functions[_pixi__project__description__set_commands] )) || -_pixi__project__description__set_commands() { - local commands; commands=() - _describe -t commands 'pixi project description set commands' commands "$@" -} -(( $+functions[_pixi__project__help__description__set_commands] )) || -_pixi__project__help__description__set_commands() { - local commands; commands=() - _describe -t commands 'pixi project help description set commands' commands "$@" -} -(( $+functions[_pixi__project__help__version__set_commands] )) || -_pixi__project__help__version__set_commands() { - local commands; commands=() - _describe -t commands 'pixi project help version set commands' commands "$@" -} -(( $+functions[_pixi__project__version__help__set_commands] )) || -_pixi__project__version__help__set_commands() { - local commands; commands=() - _describe -t commands 'pixi project version help set commands' commands "$@" -} -(( $+functions[_pixi__project__version__set_commands] )) || -_pixi__project__version__set_commands() { - local commands; commands=() - _describe -t commands 'pixi project version set commands' commands "$@" -} -(( $+functions[_pixi__help__shell_commands] )) || -_pixi__help__shell_commands() { - local commands; commands=() - _describe -t commands 'pixi help shell commands' commands "$@" -} -(( $+functions[_pixi__shell_commands] )) || -_pixi__shell_commands() { - local commands; commands=() - _describe -t commands 'pixi shell commands' commands "$@" -} -(( $+functions[_pixi__help__shell-hook_commands] )) || -_pixi__help__shell-hook_commands() { - local commands; commands=() - _describe -t commands 'pixi help shell-hook commands' commands "$@" -} -(( $+functions[_pixi__shell-hook_commands] )) || -_pixi__shell-hook_commands() { - local commands; commands=() - _describe -t commands 'pixi shell-hook commands' commands "$@" -} -(( $+functions[_pixi__help__task_commands] )) || -_pixi__help__task_commands() { - local commands; commands=( -'add:Add a command to the project' \ -'remove:Remove a command from the project' \ -'alias:Alias another specific command' \ -'list:List all tasks' \ - ) - _describe -t commands 'pixi help task commands' commands "$@" -} -(( $+functions[_pixi__task_commands] )) || -_pixi__task_commands() { - local commands; commands=( -'add:Add a command to the project' \ -'remove:Remove a command from the project' \ -'alias:Alias another specific command' \ -'list:List all tasks' \ -'help:Print this message or the help of the given subcommand(s)' \ - ) - _describe -t commands 'pixi task commands' commands "$@" -} -(( $+functions[_pixi__help__tree_commands] )) || -_pixi__help__tree_commands() { - local commands; commands=() - _describe -t commands 'pixi help tree commands' commands "$@" -} -(( $+functions[_pixi__tree_commands] )) || -_pixi__tree_commands() { - local commands; commands=() - _describe -t commands 'pixi tree commands' commands "$@" -} -(( $+functions[_pixi__global__help__upgrade_commands] )) || -_pixi__global__help__upgrade_commands() { - local commands; commands=() - _describe -t commands 'pixi global help upgrade commands' commands "$@" -} -(( $+functions[_pixi__global__upgrade_commands] )) || -_pixi__global__upgrade_commands() { - local commands; commands=() - _describe -t commands 'pixi global upgrade commands' commands "$@" -} -(( $+functions[_pixi__help__global__upgrade_commands] )) || -_pixi__help__global__upgrade_commands() { - local commands; commands=() - _describe -t commands 'pixi help global upgrade commands' commands "$@" -} -(( $+functions[_pixi__global__help__upgrade-all_commands] )) || -_pixi__global__help__upgrade-all_commands() { - local commands; commands=() - _describe -t commands 'pixi global help upgrade-all commands' commands "$@" -} -(( $+functions[_pixi__global__upgrade-all_commands] )) || -_pixi__global__upgrade-all_commands() { - local commands; commands=() - _describe -t commands 'pixi global upgrade-all commands' commands "$@" -} -(( $+functions[_pixi__help__global__upgrade-all_commands] )) || -_pixi__help__global__upgrade-all_commands() { - local commands; commands=() - _describe -t commands 'pixi help global upgrade-all commands' commands "$@" -} -(( $+functions[_pixi__help__upload_commands] )) || -_pixi__help__upload_commands() { - local commands; commands=() - _describe -t commands 'pixi help upload commands' commands "$@" -} -(( $+functions[_pixi__upload_commands] )) || -_pixi__upload_commands() { - local commands; commands=() - _describe -t commands 'pixi upload commands' commands "$@" -} (( $+functions[_pixi__help__project__version_commands] )) || _pixi__help__project__version_commands() { local commands; commands=( @@ -2465,6 +4782,473 @@ _pixi__help__project__version_commands() { ) _describe -t commands 'pixi help project version commands' commands "$@" } +(( $+functions[_pixi__help__project__version__get_commands] )) || +_pixi__help__project__version__get_commands() { + local commands; commands=() + _describe -t commands 'pixi help project version get commands' commands "$@" +} +(( $+functions[_pixi__help__project__version__major_commands] )) || +_pixi__help__project__version__major_commands() { + local commands; commands=() + _describe -t commands 'pixi help project version major commands' commands "$@" +} +(( $+functions[_pixi__help__project__version__minor_commands] )) || +_pixi__help__project__version__minor_commands() { + local commands; commands=() + _describe -t commands 'pixi help project version minor commands' commands "$@" +} +(( $+functions[_pixi__help__project__version__patch_commands] )) || +_pixi__help__project__version__patch_commands() { + local commands; commands=() + _describe -t commands 'pixi help project version patch commands' commands "$@" +} +(( $+functions[_pixi__help__project__version__set_commands] )) || +_pixi__help__project__version__set_commands() { + local commands; commands=() + _describe -t commands 'pixi help project version set commands' commands "$@" +} +(( $+functions[_pixi__help__remove_commands] )) || +_pixi__help__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi help remove commands' commands "$@" +} +(( $+functions[_pixi__help__run_commands] )) || +_pixi__help__run_commands() { + local commands; commands=() + _describe -t commands 'pixi help run commands' commands "$@" +} +(( $+functions[_pixi__help__search_commands] )) || +_pixi__help__search_commands() { + local commands; commands=() + _describe -t commands 'pixi help search commands' commands "$@" +} +(( $+functions[_pixi__help__self-update_commands] )) || +_pixi__help__self-update_commands() { + local commands; commands=() + _describe -t commands 'pixi help self-update commands' commands "$@" +} +(( $+functions[_pixi__help__shell_commands] )) || +_pixi__help__shell_commands() { + local commands; commands=() + _describe -t commands 'pixi help shell commands' commands "$@" +} +(( $+functions[_pixi__help__shell-hook_commands] )) || +_pixi__help__shell-hook_commands() { + local commands; commands=() + _describe -t commands 'pixi help shell-hook commands' commands "$@" +} +(( $+functions[_pixi__help__task_commands] )) || +_pixi__help__task_commands() { + local commands; commands=( +'add:Add a command to the project' \ +'remove:Remove a command from the project' \ +'alias:Alias another specific command' \ +'list:List all tasks in the project' \ + ) + _describe -t commands 'pixi help task commands' commands "$@" +} +(( $+functions[_pixi__help__task__add_commands] )) || +_pixi__help__task__add_commands() { + local commands; commands=() + _describe -t commands 'pixi help task add commands' commands "$@" +} +(( $+functions[_pixi__help__task__alias_commands] )) || +_pixi__help__task__alias_commands() { + local commands; commands=() + _describe -t commands 'pixi help task alias commands' commands "$@" +} +(( $+functions[_pixi__help__task__list_commands] )) || +_pixi__help__task__list_commands() { + local commands; commands=() + _describe -t commands 'pixi help task list commands' commands "$@" +} +(( $+functions[_pixi__help__task__remove_commands] )) || +_pixi__help__task__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi help task remove commands' commands "$@" +} +(( $+functions[_pixi__help__tree_commands] )) || +_pixi__help__tree_commands() { + local commands; commands=() + _describe -t commands 'pixi help tree commands' commands "$@" +} +(( $+functions[_pixi__help__update_commands] )) || +_pixi__help__update_commands() { + local commands; commands=() + _describe -t commands 'pixi help update commands' commands "$@" +} +(( $+functions[_pixi__help__upgrade_commands] )) || +_pixi__help__upgrade_commands() { + local commands; commands=() + _describe -t commands 'pixi help upgrade commands' commands "$@" +} +(( $+functions[_pixi__help__upload_commands] )) || +_pixi__help__upload_commands() { + local commands; commands=() + _describe -t commands 'pixi help upload commands' commands "$@" +} +(( $+functions[_pixi__info_commands] )) || +_pixi__info_commands() { + local commands; commands=() + _describe -t commands 'pixi info commands' commands "$@" +} +(( $+functions[_pixi__init_commands] )) || +_pixi__init_commands() { + local commands; commands=() + _describe -t commands 'pixi init commands' commands "$@" +} +(( $+functions[_pixi__install_commands] )) || +_pixi__install_commands() { + local commands; commands=() + _describe -t commands 'pixi install commands' commands "$@" +} +(( $+functions[_pixi__list_commands] )) || +_pixi__list_commands() { + local commands; commands=() + _describe -t commands 'pixi list commands' commands "$@" +} +(( $+functions[_pixi__project_commands] )) || +_pixi__project_commands() { + local commands; commands=( +'channel:Commands to manage project channels' \ +'description:Commands to manage project description' \ +'platform:Commands to manage project platforms' \ +'version:Commands to manage project version' \ +'environment:Commands to manage project environments' \ +'export:Commands to export projects to other formats' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi project commands' commands "$@" +} +(( $+functions[_pixi__project__channel_commands] )) || +_pixi__project__channel_commands() { + local commands; commands=( +'add:Adds a channel to the project file and updates the lockfile' \ +'a:Adds a channel to the project file and updates the lockfile' \ +'list:List the channels in the project file' \ +'ls:List the channels in the project file' \ +'remove:Remove channel(s) from the project file and updates the lockfile' \ +'rm:Remove channel(s) from the project file and updates the lockfile' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi project channel commands' commands "$@" +} +(( $+functions[_pixi__project__channel__add_commands] )) || +_pixi__project__channel__add_commands() { + local commands; commands=() + _describe -t commands 'pixi project channel add commands' commands "$@" +} +(( $+functions[_pixi__project__channel__help_commands] )) || +_pixi__project__channel__help_commands() { + local commands; commands=( +'add:Adds a channel to the project file and updates the lockfile' \ +'list:List the channels in the project file' \ +'remove:Remove channel(s) from the project file and updates the lockfile' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi project channel help commands' commands "$@" +} +(( $+functions[_pixi__project__channel__help__add_commands] )) || +_pixi__project__channel__help__add_commands() { + local commands; commands=() + _describe -t commands 'pixi project channel help add commands' commands "$@" +} +(( $+functions[_pixi__project__channel__help__help_commands] )) || +_pixi__project__channel__help__help_commands() { + local commands; commands=() + _describe -t commands 'pixi project channel help help commands' commands "$@" +} +(( $+functions[_pixi__project__channel__help__list_commands] )) || +_pixi__project__channel__help__list_commands() { + local commands; commands=() + _describe -t commands 'pixi project channel help list commands' commands "$@" +} +(( $+functions[_pixi__project__channel__help__remove_commands] )) || +_pixi__project__channel__help__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi project channel help remove commands' commands "$@" +} +(( $+functions[_pixi__project__channel__list_commands] )) || +_pixi__project__channel__list_commands() { + local commands; commands=() + _describe -t commands 'pixi project channel list commands' commands "$@" +} +(( $+functions[_pixi__project__channel__remove_commands] )) || +_pixi__project__channel__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi project channel remove commands' commands "$@" +} +(( $+functions[_pixi__project__description_commands] )) || +_pixi__project__description_commands() { + local commands; commands=( +'get:Get the project description' \ +'set:Set the project description' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi project description commands' commands "$@" +} +(( $+functions[_pixi__project__description__get_commands] )) || +_pixi__project__description__get_commands() { + local commands; commands=() + _describe -t commands 'pixi project description get commands' commands "$@" +} +(( $+functions[_pixi__project__description__help_commands] )) || +_pixi__project__description__help_commands() { + local commands; commands=( +'get:Get the project description' \ +'set:Set the project description' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi project description help commands' commands "$@" +} +(( $+functions[_pixi__project__description__help__get_commands] )) || +_pixi__project__description__help__get_commands() { + local commands; commands=() + _describe -t commands 'pixi project description help get commands' commands "$@" +} +(( $+functions[_pixi__project__description__help__help_commands] )) || +_pixi__project__description__help__help_commands() { + local commands; commands=() + _describe -t commands 'pixi project description help help commands' commands "$@" +} +(( $+functions[_pixi__project__description__help__set_commands] )) || +_pixi__project__description__help__set_commands() { + local commands; commands=() + _describe -t commands 'pixi project description help set commands' commands "$@" +} +(( $+functions[_pixi__project__description__set_commands] )) || +_pixi__project__description__set_commands() { + local commands; commands=() + _describe -t commands 'pixi project description set commands' commands "$@" +} +(( $+functions[_pixi__project__environment_commands] )) || +_pixi__project__environment_commands() { + local commands; commands=( +'add:Adds an environment to the manifest file' \ +'a:Adds an environment to the manifest file' \ +'list:List the environments in the manifest file' \ +'ls:List the environments in the manifest file' \ +'remove:Remove an environment from the manifest file' \ +'rm:Remove an environment from the manifest file' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi project environment commands' commands "$@" +} +(( $+functions[_pixi__project__environment__add_commands] )) || +_pixi__project__environment__add_commands() { + local commands; commands=() + _describe -t commands 'pixi project environment add commands' commands "$@" +} +(( $+functions[_pixi__project__environment__help_commands] )) || +_pixi__project__environment__help_commands() { + local commands; commands=( +'add:Adds an environment to the manifest file' \ +'list:List the environments in the manifest file' \ +'remove:Remove an environment from the manifest file' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi project environment help commands' commands "$@" +} +(( $+functions[_pixi__project__environment__help__add_commands] )) || +_pixi__project__environment__help__add_commands() { + local commands; commands=() + _describe -t commands 'pixi project environment help add commands' commands "$@" +} +(( $+functions[_pixi__project__environment__help__help_commands] )) || +_pixi__project__environment__help__help_commands() { + local commands; commands=() + _describe -t commands 'pixi project environment help help commands' commands "$@" +} +(( $+functions[_pixi__project__environment__help__list_commands] )) || +_pixi__project__environment__help__list_commands() { + local commands; commands=() + _describe -t commands 'pixi project environment help list commands' commands "$@" +} +(( $+functions[_pixi__project__environment__help__remove_commands] )) || +_pixi__project__environment__help__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi project environment help remove commands' commands "$@" +} +(( $+functions[_pixi__project__environment__list_commands] )) || +_pixi__project__environment__list_commands() { + local commands; commands=() + _describe -t commands 'pixi project environment list commands' commands "$@" +} +(( $+functions[_pixi__project__environment__remove_commands] )) || +_pixi__project__environment__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi project environment remove commands' commands "$@" +} +(( $+functions[_pixi__project__export_commands] )) || +_pixi__project__export_commands() { + local commands; commands=( +'conda-explicit-spec:Export project environment to a conda explicit specification file' \ +'ces:Export project environment to a conda explicit specification file' \ +'conda-environment:Export project environment to a conda environment.yaml file' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi project export commands' commands "$@" +} +(( $+functions[_pixi__project__export__conda-environment_commands] )) || +_pixi__project__export__conda-environment_commands() { + local commands; commands=() + _describe -t commands 'pixi project export conda-environment commands' commands "$@" +} +(( $+functions[_pixi__project__export__conda-explicit-spec_commands] )) || +_pixi__project__export__conda-explicit-spec_commands() { + local commands; commands=() + _describe -t commands 'pixi project export conda-explicit-spec commands' commands "$@" +} +(( $+functions[_pixi__project__export__help_commands] )) || +_pixi__project__export__help_commands() { + local commands; commands=( +'conda-explicit-spec:Export project environment to a conda explicit specification file' \ +'conda-environment:Export project environment to a conda environment.yaml file' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi project export help commands' commands "$@" +} +(( $+functions[_pixi__project__export__help__conda-environment_commands] )) || +_pixi__project__export__help__conda-environment_commands() { + local commands; commands=() + _describe -t commands 'pixi project export help conda-environment commands' commands "$@" +} +(( $+functions[_pixi__project__export__help__conda-explicit-spec_commands] )) || +_pixi__project__export__help__conda-explicit-spec_commands() { + local commands; commands=() + _describe -t commands 'pixi project export help conda-explicit-spec commands' commands "$@" +} +(( $+functions[_pixi__project__export__help__help_commands] )) || +_pixi__project__export__help__help_commands() { + local commands; commands=() + _describe -t commands 'pixi project export help help commands' commands "$@" +} +(( $+functions[_pixi__project__help_commands] )) || +_pixi__project__help_commands() { + local commands; commands=( +'channel:Commands to manage project channels' \ +'description:Commands to manage project description' \ +'platform:Commands to manage project platforms' \ +'version:Commands to manage project version' \ +'environment:Commands to manage project environments' \ +'export:Commands to export projects to other formats' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi project help commands' commands "$@" +} +(( $+functions[_pixi__project__help__channel_commands] )) || +_pixi__project__help__channel_commands() { + local commands; commands=( +'add:Adds a channel to the project file and updates the lockfile' \ +'list:List the channels in the project file' \ +'remove:Remove channel(s) from the project file and updates the lockfile' \ + ) + _describe -t commands 'pixi project help channel commands' commands "$@" +} +(( $+functions[_pixi__project__help__channel__add_commands] )) || +_pixi__project__help__channel__add_commands() { + local commands; commands=() + _describe -t commands 'pixi project help channel add commands' commands "$@" +} +(( $+functions[_pixi__project__help__channel__list_commands] )) || +_pixi__project__help__channel__list_commands() { + local commands; commands=() + _describe -t commands 'pixi project help channel list commands' commands "$@" +} +(( $+functions[_pixi__project__help__channel__remove_commands] )) || +_pixi__project__help__channel__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi project help channel remove commands' commands "$@" +} +(( $+functions[_pixi__project__help__description_commands] )) || +_pixi__project__help__description_commands() { + local commands; commands=( +'get:Get the project description' \ +'set:Set the project description' \ + ) + _describe -t commands 'pixi project help description commands' commands "$@" +} +(( $+functions[_pixi__project__help__description__get_commands] )) || +_pixi__project__help__description__get_commands() { + local commands; commands=() + _describe -t commands 'pixi project help description get commands' commands "$@" +} +(( $+functions[_pixi__project__help__description__set_commands] )) || +_pixi__project__help__description__set_commands() { + local commands; commands=() + _describe -t commands 'pixi project help description set commands' commands "$@" +} +(( $+functions[_pixi__project__help__environment_commands] )) || +_pixi__project__help__environment_commands() { + local commands; commands=( +'add:Adds an environment to the manifest file' \ +'list:List the environments in the manifest file' \ +'remove:Remove an environment from the manifest file' \ + ) + _describe -t commands 'pixi project help environment commands' commands "$@" +} +(( $+functions[_pixi__project__help__environment__add_commands] )) || +_pixi__project__help__environment__add_commands() { + local commands; commands=() + _describe -t commands 'pixi project help environment add commands' commands "$@" +} +(( $+functions[_pixi__project__help__environment__list_commands] )) || +_pixi__project__help__environment__list_commands() { + local commands; commands=() + _describe -t commands 'pixi project help environment list commands' commands "$@" +} +(( $+functions[_pixi__project__help__environment__remove_commands] )) || +_pixi__project__help__environment__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi project help environment remove commands' commands "$@" +} +(( $+functions[_pixi__project__help__export_commands] )) || +_pixi__project__help__export_commands() { + local commands; commands=( +'conda-explicit-spec:Export project environment to a conda explicit specification file' \ +'conda-environment:Export project environment to a conda environment.yaml file' \ + ) + _describe -t commands 'pixi project help export commands' commands "$@" +} +(( $+functions[_pixi__project__help__export__conda-environment_commands] )) || +_pixi__project__help__export__conda-environment_commands() { + local commands; commands=() + _describe -t commands 'pixi project help export conda-environment commands' commands "$@" +} +(( $+functions[_pixi__project__help__export__conda-explicit-spec_commands] )) || +_pixi__project__help__export__conda-explicit-spec_commands() { + local commands; commands=() + _describe -t commands 'pixi project help export conda-explicit-spec commands' commands "$@" +} +(( $+functions[_pixi__project__help__help_commands] )) || +_pixi__project__help__help_commands() { + local commands; commands=() + _describe -t commands 'pixi project help help commands' commands "$@" +} +(( $+functions[_pixi__project__help__platform_commands] )) || +_pixi__project__help__platform_commands() { + local commands; commands=( +'add:Adds a platform(s) to the project file and updates the lockfile' \ +'list:List the platforms in the project file' \ +'remove:Remove platform(s) from the project file and updates the lockfile' \ + ) + _describe -t commands 'pixi project help platform commands' commands "$@" +} +(( $+functions[_pixi__project__help__platform__add_commands] )) || +_pixi__project__help__platform__add_commands() { + local commands; commands=() + _describe -t commands 'pixi project help platform add commands' commands "$@" +} +(( $+functions[_pixi__project__help__platform__list_commands] )) || +_pixi__project__help__platform__list_commands() { + local commands; commands=() + _describe -t commands 'pixi project help platform list commands' commands "$@" +} +(( $+functions[_pixi__project__help__platform__remove_commands] )) || +_pixi__project__help__platform__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi project help platform remove commands' commands "$@" +} (( $+functions[_pixi__project__help__version_commands] )) || _pixi__project__help__version_commands() { local commands; commands=( @@ -2476,6 +5260,89 @@ _pixi__project__help__version_commands() { ) _describe -t commands 'pixi project help version commands' commands "$@" } +(( $+functions[_pixi__project__help__version__get_commands] )) || +_pixi__project__help__version__get_commands() { + local commands; commands=() + _describe -t commands 'pixi project help version get commands' commands "$@" +} +(( $+functions[_pixi__project__help__version__major_commands] )) || +_pixi__project__help__version__major_commands() { + local commands; commands=() + _describe -t commands 'pixi project help version major commands' commands "$@" +} +(( $+functions[_pixi__project__help__version__minor_commands] )) || +_pixi__project__help__version__minor_commands() { + local commands; commands=() + _describe -t commands 'pixi project help version minor commands' commands "$@" +} +(( $+functions[_pixi__project__help__version__patch_commands] )) || +_pixi__project__help__version__patch_commands() { + local commands; commands=() + _describe -t commands 'pixi project help version patch commands' commands "$@" +} +(( $+functions[_pixi__project__help__version__set_commands] )) || +_pixi__project__help__version__set_commands() { + local commands; commands=() + _describe -t commands 'pixi project help version set commands' commands "$@" +} +(( $+functions[_pixi__project__platform_commands] )) || +_pixi__project__platform_commands() { + local commands; commands=( +'add:Adds a platform(s) to the project file and updates the lockfile' \ +'a:Adds a platform(s) to the project file and updates the lockfile' \ +'list:List the platforms in the project file' \ +'ls:List the platforms in the project file' \ +'remove:Remove platform(s) from the project file and updates the lockfile' \ +'rm:Remove platform(s) from the project file and updates the lockfile' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi project platform commands' commands "$@" +} +(( $+functions[_pixi__project__platform__add_commands] )) || +_pixi__project__platform__add_commands() { + local commands; commands=() + _describe -t commands 'pixi project platform add commands' commands "$@" +} +(( $+functions[_pixi__project__platform__help_commands] )) || +_pixi__project__platform__help_commands() { + local commands; commands=( +'add:Adds a platform(s) to the project file and updates the lockfile' \ +'list:List the platforms in the project file' \ +'remove:Remove platform(s) from the project file and updates the lockfile' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi project platform help commands' commands "$@" +} +(( $+functions[_pixi__project__platform__help__add_commands] )) || +_pixi__project__platform__help__add_commands() { + local commands; commands=() + _describe -t commands 'pixi project platform help add commands' commands "$@" +} +(( $+functions[_pixi__project__platform__help__help_commands] )) || +_pixi__project__platform__help__help_commands() { + local commands; commands=() + _describe -t commands 'pixi project platform help help commands' commands "$@" +} +(( $+functions[_pixi__project__platform__help__list_commands] )) || +_pixi__project__platform__help__list_commands() { + local commands; commands=() + _describe -t commands 'pixi project platform help list commands' commands "$@" +} +(( $+functions[_pixi__project__platform__help__remove_commands] )) || +_pixi__project__platform__help__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi project platform help remove commands' commands "$@" +} +(( $+functions[_pixi__project__platform__list_commands] )) || +_pixi__project__platform__list_commands() { + local commands; commands=() + _describe -t commands 'pixi project platform list commands' commands "$@" +} +(( $+functions[_pixi__project__platform__remove_commands] )) || +_pixi__project__platform__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi project platform remove commands' commands "$@" +} (( $+functions[_pixi__project__version_commands] )) || _pixi__project__version_commands() { local commands; commands=( @@ -2488,6 +5355,193 @@ _pixi__project__version_commands() { ) _describe -t commands 'pixi project version commands' commands "$@" } +(( $+functions[_pixi__project__version__get_commands] )) || +_pixi__project__version__get_commands() { + local commands; commands=() + _describe -t commands 'pixi project version get commands' commands "$@" +} +(( $+functions[_pixi__project__version__help_commands] )) || +_pixi__project__version__help_commands() { + local commands; commands=( +'get:Get the project version' \ +'set:Set the project version' \ +'major:Bump the project version to MAJOR' \ +'minor:Bump the project version to MINOR' \ +'patch:Bump the project version to PATCH' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi project version help commands' commands "$@" +} +(( $+functions[_pixi__project__version__help__get_commands] )) || +_pixi__project__version__help__get_commands() { + local commands; commands=() + _describe -t commands 'pixi project version help get commands' commands "$@" +} +(( $+functions[_pixi__project__version__help__help_commands] )) || +_pixi__project__version__help__help_commands() { + local commands; commands=() + _describe -t commands 'pixi project version help help commands' commands "$@" +} +(( $+functions[_pixi__project__version__help__major_commands] )) || +_pixi__project__version__help__major_commands() { + local commands; commands=() + _describe -t commands 'pixi project version help major commands' commands "$@" +} +(( $+functions[_pixi__project__version__help__minor_commands] )) || +_pixi__project__version__help__minor_commands() { + local commands; commands=() + _describe -t commands 'pixi project version help minor commands' commands "$@" +} +(( $+functions[_pixi__project__version__help__patch_commands] )) || +_pixi__project__version__help__patch_commands() { + local commands; commands=() + _describe -t commands 'pixi project version help patch commands' commands "$@" +} +(( $+functions[_pixi__project__version__help__set_commands] )) || +_pixi__project__version__help__set_commands() { + local commands; commands=() + _describe -t commands 'pixi project version help set commands' commands "$@" +} +(( $+functions[_pixi__project__version__major_commands] )) || +_pixi__project__version__major_commands() { + local commands; commands=() + _describe -t commands 'pixi project version major commands' commands "$@" +} +(( $+functions[_pixi__project__version__minor_commands] )) || +_pixi__project__version__minor_commands() { + local commands; commands=() + _describe -t commands 'pixi project version minor commands' commands "$@" +} +(( $+functions[_pixi__project__version__patch_commands] )) || +_pixi__project__version__patch_commands() { + local commands; commands=() + _describe -t commands 'pixi project version patch commands' commands "$@" +} +(( $+functions[_pixi__project__version__set_commands] )) || +_pixi__project__version__set_commands() { + local commands; commands=() + _describe -t commands 'pixi project version set commands' commands "$@" +} +(( $+functions[_pixi__remove_commands] )) || +_pixi__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi remove commands' commands "$@" +} +(( $+functions[_pixi__run_commands] )) || +_pixi__run_commands() { + local commands; commands=() + _describe -t commands 'pixi run commands' commands "$@" +} +(( $+functions[_pixi__search_commands] )) || +_pixi__search_commands() { + local commands; commands=() + _describe -t commands 'pixi search commands' commands "$@" +} +(( $+functions[_pixi__self-update_commands] )) || +_pixi__self-update_commands() { + local commands; commands=() + _describe -t commands 'pixi self-update commands' commands "$@" +} +(( $+functions[_pixi__shell_commands] )) || +_pixi__shell_commands() { + local commands; commands=() + _describe -t commands 'pixi shell commands' commands "$@" +} +(( $+functions[_pixi__shell-hook_commands] )) || +_pixi__shell-hook_commands() { + local commands; commands=() + _describe -t commands 'pixi shell-hook commands' commands "$@" +} +(( $+functions[_pixi__task_commands] )) || +_pixi__task_commands() { + local commands; commands=( +'add:Add a command to the project' \ +'a:Add a command to the project' \ +'remove:Remove a command from the project' \ +'rm:Remove a command from the project' \ +'alias:Alias another specific command' \ +'list:List all tasks in the project' \ +'ls:List all tasks in the project' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi task commands' commands "$@" +} +(( $+functions[_pixi__task__add_commands] )) || +_pixi__task__add_commands() { + local commands; commands=() + _describe -t commands 'pixi task add commands' commands "$@" +} +(( $+functions[_pixi__task__alias_commands] )) || +_pixi__task__alias_commands() { + local commands; commands=() + _describe -t commands 'pixi task alias commands' commands "$@" +} +(( $+functions[_pixi__task__help_commands] )) || +_pixi__task__help_commands() { + local commands; commands=( +'add:Add a command to the project' \ +'remove:Remove a command from the project' \ +'alias:Alias another specific command' \ +'list:List all tasks in the project' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'pixi task help commands' commands "$@" +} +(( $+functions[_pixi__task__help__add_commands] )) || +_pixi__task__help__add_commands() { + local commands; commands=() + _describe -t commands 'pixi task help add commands' commands "$@" +} +(( $+functions[_pixi__task__help__alias_commands] )) || +_pixi__task__help__alias_commands() { + local commands; commands=() + _describe -t commands 'pixi task help alias commands' commands "$@" +} +(( $+functions[_pixi__task__help__help_commands] )) || +_pixi__task__help__help_commands() { + local commands; commands=() + _describe -t commands 'pixi task help help commands' commands "$@" +} +(( $+functions[_pixi__task__help__list_commands] )) || +_pixi__task__help__list_commands() { + local commands; commands=() + _describe -t commands 'pixi task help list commands' commands "$@" +} +(( $+functions[_pixi__task__help__remove_commands] )) || +_pixi__task__help__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi task help remove commands' commands "$@" +} +(( $+functions[_pixi__task__list_commands] )) || +_pixi__task__list_commands() { + local commands; commands=() + _describe -t commands 'pixi task list commands' commands "$@" +} +(( $+functions[_pixi__task__remove_commands] )) || +_pixi__task__remove_commands() { + local commands; commands=() + _describe -t commands 'pixi task remove commands' commands "$@" +} +(( $+functions[_pixi__tree_commands] )) || +_pixi__tree_commands() { + local commands; commands=() + _describe -t commands 'pixi tree commands' commands "$@" +} +(( $+functions[_pixi__update_commands] )) || +_pixi__update_commands() { + local commands; commands=() + _describe -t commands 'pixi update commands' commands "$@" +} +(( $+functions[_pixi__upgrade_commands] )) || +_pixi__upgrade_commands() { + local commands; commands=() + _describe -t commands 'pixi upgrade commands' commands "$@" +} +(( $+functions[_pixi__upload_commands] )) || +_pixi__upload_commands() { + local commands; commands=() + _describe -t commands 'pixi upload commands' commands "$@" +} if [ "$funcstack[1]" = "_pixi" ]; then _pixi "$@" diff --git a/home/private_dot_config/zsh/completions/executable_update.sh b/home/private_dot_config/zsh/completions/executable_update.sh index 36a191e..9b7fff7 100644 --- a/home/private_dot_config/zsh/completions/executable_update.sh +++ b/home/private_dot_config/zsh/completions/executable_update.sh @@ -8,8 +8,8 @@ is-exe () { gen() { if is-exe "$1"; then - echo "$1 updated" "$@" | sed "s#$HOME#\$HOME#g" >$CURDIR/"_$argv[1]" + echo "$1 updated" else echo "skipping $1" fi @@ -24,3 +24,4 @@ gen rye self completion -s zsh gen gh completion -s zsh gen pixi completion -s zsh gen rclone completion zsh - +gen jj util completion zsh