update completions
This commit is contained in:
parent
da65fe28c5
commit
f923f7339f
2 changed files with 147 additions and 45 deletions
|
@ -1,7 +1,7 @@
|
||||||
#compdef pdm
|
#compdef pdm
|
||||||
|
|
||||||
PDM_PYTHON="$HOME/.cache/viv/venvs/c63f4950/bin/python"
|
PDM_PYTHON="$HOME/.cache/viv/venvs/c63f4950/bin/python"
|
||||||
PDM_PIP_INDEXES=($(command ${PDM_PYTHON} -m pdm config pypi.url))
|
PDM_PYPI_URL=$(PDM_CHECK_UPDATE=0 "${PDM_PYTHON}" -m pdm config pypi.url)
|
||||||
|
|
||||||
_pdm() {
|
_pdm() {
|
||||||
emulate -L zsh -o extended_glob
|
emulate -L zsh -o extended_glob
|
||||||
|
@ -142,7 +142,7 @@ _pdm() {
|
||||||
'2:value:_files' && return 0
|
'2:value:_files' && return 0
|
||||||
if [[ $state == keys ]]; then
|
if [[ $state == keys ]]; then
|
||||||
local l mbegin mend match keys=()
|
local l mbegin mend match keys=()
|
||||||
for l in ${(f)"$(command ${PDM_PYTHON} -m pdm config)"}; do
|
for l in ${(f)"$(PDM_CHECK_UPDATE=0 command ${PDM_PYTHON} -m pdm config)"}; do
|
||||||
if [[ $l == (#b)" "#(*)" = "(*) ]]; then
|
if [[ $l == (#b)" "#(*)" = "(*) ]]; then
|
||||||
keys+=("$match[1]:$match[2]")
|
keys+=("$match[1]:$match[2]")
|
||||||
fi
|
fi
|
||||||
|
@ -595,7 +595,7 @@ EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
_pdm_scripts() {
|
_pdm_scripts() {
|
||||||
local scripts=() package_dir=$($PDM_PYTHON -m pdm info --packages)
|
local scripts=() package_dir=$(PDM_CHECK_UPDATE=0 $PDM_PYTHON -m pdm info --packages)
|
||||||
if [[ -f pyproject.toml ]]; then
|
if [[ -f pyproject.toml ]]; then
|
||||||
local l in_scripts=0
|
local l in_scripts=0
|
||||||
while IFS= read -r l; do
|
while IFS= read -r l; do
|
||||||
|
@ -633,9 +633,7 @@ _pdm_pip_packages_update() {
|
||||||
typeset -g _pdm_packages
|
typeset -g _pdm_packages
|
||||||
if _cache_invalid pdm_packages || ! _retrieve_cache pdm_packages; then
|
if _cache_invalid pdm_packages || ! _retrieve_cache pdm_packages; then
|
||||||
local index
|
local index
|
||||||
for index in $PDM_PIP_INDEXES; do
|
_pdm_packages+=($(command curl -sL $PDM_PYPI_URL | command sed -nE '/<a href/ s/.*>(.+)<.*/\1/p'))
|
||||||
_pdm_packages+=($(command curl -sL $index | command sed -nE '/<a href/ s/.*>(.+)<.*/\1/p'))
|
|
||||||
done
|
|
||||||
_store_cache pdm_packages _pdm_packages
|
_store_cache pdm_packages _pdm_packages
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,6 +20,7 @@ _pixi() {
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
'-V[Print version]' \
|
'-V[Print version]' \
|
||||||
|
@ -42,6 +43,7 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
|
@ -55,10 +57,12 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'-i+[Environment.yml file to bootstrap the project]:ENV_FILE:_files' \
|
'-i+[Environment.yml file to bootstrap the project]:ENV_FILE:_files' \
|
||||||
'--import=[Environment.yml file to bootstrap the project]:ENV_FILE:_files' \
|
'--import=[Environment.yml file to bootstrap the project]:ENV_FILE:_files' \
|
||||||
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
'--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]' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
'::path -- Where to place the project (defaults to current path):_files' \
|
'::path -- Where to place the project (defaults to current path):_files' \
|
||||||
|
@ -66,21 +70,24 @@ _arguments "${_arguments_options[@]}" \
|
||||||
;;
|
;;
|
||||||
(add)
|
(add)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.toml'\'']:MANIFEST_PATH:_files' \
|
'--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: ' \
|
'*-p+[The platform(s) for which the dependency should be added]:PLATFORM: ' \
|
||||||
'*--platform=[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: ' \
|
'-f+[The feature for which the dependency should be added]:FEATURE: ' \
|
||||||
'--feature=[The feature for which the dependency should be added]:FEATURE: ' \
|
'--feature=[The feature for which the dependency should be added]:FEATURE: ' \
|
||||||
|
'--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)' \
|
'--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\`]' \
|
'(--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\`]' \
|
'(--host)--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\`]' \
|
'(--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)--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]' \
|
'--no-install[Don'\''t install the package to the environment, only add the package to the lock-file]' \
|
||||||
|
'--tls-no-verify[Do not verify the TLS certificate of the server]' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help (see more with '\''--help'\'')]' \
|
'-h[Print help (see more with '\''--help'\'')]' \
|
||||||
'--help[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 -- Specify the dependencies you wish to add to the project:' \
|
||||||
|
@ -96,16 +103,19 @@ else
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.toml'\'']:MANIFEST_PATH:_files' \
|
'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \
|
||||||
'-e+[]:ENVIRONMENT: ' \
|
'-e+[]:ENVIRONMENT: ' \
|
||||||
'--environment=[]: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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'(--locked)--frozen[Don'\''t check or update the lockfile, continue with previously installed environment]' \
|
'(--locked)--frozen[]' \
|
||||||
'(--frozen)--locked[Check if lockfile is up to date, aborts when lockfile 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]' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
'::task -- The task you want to run in the projects environment:' \
|
'::task -- The task you want to run in the projects environment:' \
|
||||||
|
@ -113,16 +123,20 @@ _arguments "${_arguments_options[@]}" \
|
||||||
;;
|
;;
|
||||||
(shell)
|
(shell)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.toml'\'']:MANIFEST_PATH:_files' \
|
'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \
|
||||||
'-e+[]:ENVIRONMENT: ' \
|
'-e+[]:ENVIRONMENT: ' \
|
||||||
'--environment=[]:ENVIRONMENT: ' \
|
'--environment=[]:ENVIRONMENT: ' \
|
||||||
|
'--auth-file=[Path to the file containing the authentication token]:AUTH_FILE:_files' \
|
||||||
|
'--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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'(--locked)--frozen[Don'\''t check or update the lockfile, continue with previously installed environment]' \
|
'(--locked)--frozen[]' \
|
||||||
'(--frozen)--locked[Check if lockfile is up to date, aborts when lockfile 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]' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
|
@ -131,16 +145,17 @@ _arguments "${_arguments_options[@]}" \
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'-s+[Sets the shell, options\: \[\`bash\`, \`zsh\`, \`xonsh\`, \`cmd\`, \`powershell\`, \`fish\`, \`nushell\`\]]:SHELL: ' \
|
'-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: ' \
|
'--shell=[Sets the shell, options\: \[\`bash\`, \`zsh\`, \`xonsh\`, \`cmd\`, \`powershell\`, \`fish\`, \`nushell\`\]]:SHELL: ' \
|
||||||
'--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 activate in the script]:ENVIRONMENT: ' \
|
'-e+[The environment to activate in the script]:ENVIRONMENT: ' \
|
||||||
'--environment=[The environment to activate in the script]:ENVIRONMENT: ' \
|
'--environment=[The environment to activate in the script]:ENVIRONMENT: ' \
|
||||||
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'(--locked)--frozen[Don'\''t check or update the lockfile, continue with previously installed environment]' \
|
'(--locked)--frozen[]' \
|
||||||
'(--frozen)--locked[Check if lockfile is up to date, aborts when lockfile 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]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
|
@ -152,6 +167,7 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help (see more with '\''--help'\'')]' \
|
'-h[Print help (see more with '\''--help'\'')]' \
|
||||||
'--help[Print help (see more with '\''--help'\'')]' \
|
'--help[Print help (see more with '\''--help'\'')]' \
|
||||||
":: :_pixi__global_commands" \
|
":: :_pixi__global_commands" \
|
||||||
|
@ -168,11 +184,14 @@ _arguments "${_arguments_options[@]}" \
|
||||||
_arguments "${_arguments_options[@]}" \
|
_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: ' \
|
'*-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: ' \
|
'*--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)' \
|
'--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]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help (see more with '\''--help'\'')]' \
|
'-h[Print help (see more with '\''--help'\'')]' \
|
||||||
'--help[Print help (see more with '\''--help'\'')]' \
|
'--help[Print help (see more with '\''--help'\'')]' \
|
||||||
'*::package -- Specifies the package(s) that is to be installed:' \
|
'*::package -- Specifies the package(s) that is to be installed:' \
|
||||||
|
@ -185,6 +204,7 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
'*::package -- Specifies the package(s) that is to be removed:' \
|
'*::package -- Specifies the package(s) that is to be removed:' \
|
||||||
|
@ -197,6 +217,7 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
|
@ -210,6 +231,7 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help (see more with '\''--help'\'')]' \
|
'-h[Print help (see more with '\''--help'\'')]' \
|
||||||
'--help[Print help (see more with '\''--help'\'')]' \
|
'--help[Print help (see more with '\''--help'\'')]' \
|
||||||
':package -- Specifies the package that is to be upgraded:' \
|
':package -- Specifies the package that is to be upgraded:' \
|
||||||
|
@ -219,11 +241,14 @@ _arguments "${_arguments_options[@]}" \
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'*-c+[Represents the channels from which to upgrade packages. Multiple channels can be specified by using this field multiple times]:CHANNEL: ' \
|
'*-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: ' \
|
'*--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)' \
|
'--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]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help (see more with '\''--help'\'')]' \
|
'-h[Print help (see more with '\''--help'\'')]' \
|
||||||
'--help[Print help (see more with '\''--help'\'')]' \
|
'--help[Print help (see more with '\''--help'\'')]' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
|
@ -279,6 +304,7 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
":: :_pixi__auth_commands" \
|
":: :_pixi__auth_commands" \
|
||||||
|
@ -302,6 +328,7 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
':host -- The host to authenticate with (e.g. repo.prefix.dev):' \
|
':host -- The host to authenticate with (e.g. repo.prefix.dev):' \
|
||||||
|
@ -314,6 +341,7 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
':host -- The host to remove authentication for:' \
|
':host -- The host to remove authentication for:' \
|
||||||
|
@ -353,28 +381,32 @@ esac
|
||||||
;;
|
;;
|
||||||
(install)
|
(install)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.toml'\'']:MANIFEST_PATH:_files' \
|
'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \
|
||||||
'-e+[]:ENVIRONMENT: ' \
|
'-e+[]:ENVIRONMENT: ' \
|
||||||
'--environment=[]: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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'(--locked)--frozen[Don'\''t check or update the lockfile, continue with previously installed environment]' \
|
'(--locked)--frozen[]' \
|
||||||
'(--frozen)--locked[Check if lockfile is up to date, aborts when lockfile 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]' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
;;
|
;;
|
||||||
(task)
|
(task)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
":: :_pixi__task_commands" \
|
":: :_pixi__task_commands" \
|
||||||
|
@ -395,11 +427,13 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'-f+[The feature for which the task should be added]:FEATURE: ' \
|
'-f+[The feature for which the task should be added]:FEATURE: ' \
|
||||||
'--feature=[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' \
|
'--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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
':name -- Task name:' \
|
':name -- Task name:' \
|
||||||
|
@ -417,6 +451,7 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
'*::names -- Task names to remove:' \
|
'*::names -- Task names to remove:' \
|
||||||
|
@ -431,6 +466,7 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
':alias -- Alias name:' \
|
':alias -- Alias name:' \
|
||||||
|
@ -448,6 +484,7 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
|
@ -494,7 +531,7 @@ esac
|
||||||
;;
|
;;
|
||||||
(info)
|
(info)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'--extended[Show cache and environment size]' \
|
'--extended[Show cache and environment size]' \
|
||||||
'--json[Whether to show the output as JSON or not]' \
|
'--json[Whether to show the output as JSON or not]' \
|
||||||
|
@ -502,6 +539,7 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
|
@ -513,6 +551,7 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
':host -- The host + channel to upload to:' \
|
':host -- The host + channel to upload to:' \
|
||||||
|
@ -523,7 +562,9 @@ _arguments "${_arguments_options[@]}" \
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'*-c+[Channel to specifically search package, defaults to project channels or conda-forge]:CHANNEL: ' \
|
'*-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: ' \
|
'*--channel=[Channel to specifically search package, defaults to project channels or conda-forge]:CHANNEL: ' \
|
||||||
'--manifest-path=[The path to '\''pixi.toml'\'']:MANIFEST_PATH:_files' \
|
'--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: ' \
|
'-l+[Limit the number of search results]:LIMIT: ' \
|
||||||
'--limit=[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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
|
@ -531,6 +572,7 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
':package -- Name of package to search:' \
|
':package -- Name of package to search:' \
|
||||||
|
@ -538,12 +580,13 @@ _arguments "${_arguments_options[@]}" \
|
||||||
;;
|
;;
|
||||||
(project)
|
(project)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
":: :_pixi__project_commands" \
|
":: :_pixi__project_commands" \
|
||||||
|
@ -558,12 +601,13 @@ _arguments "${_arguments_options[@]}" \
|
||||||
case $line[1] in
|
case $line[1] in
|
||||||
(channel)
|
(channel)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
":: :_pixi__project__channel_commands" \
|
":: :_pixi__project__channel_commands" \
|
||||||
|
@ -580,13 +624,14 @@ _arguments "${_arguments_options[@]}" \
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'-f+[The name of the feature to add the channel to]:FEATURE: ' \
|
'-f+[The name of the feature to add the channel to]:FEATURE: ' \
|
||||||
'--feature=[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'\'']: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)' \
|
'--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]' \
|
'--no-install[Don'\''t update the environment, only add changed packages to the lock-file]' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
'*::channel -- The channel name or URL:' \
|
'*::channel -- The channel name or URL:' \
|
||||||
|
@ -594,13 +639,14 @@ _arguments "${_arguments_options[@]}" \
|
||||||
;;
|
;;
|
||||||
(list)
|
(list)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'--urls[Whether to display the channel'\''s names or urls]' \
|
'--urls[Whether to display the channel'\''s names or urls]' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
|
@ -609,13 +655,14 @@ _arguments "${_arguments_options[@]}" \
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'-f+[The name of the feature to remove the channel from]:FEATURE: ' \
|
'-f+[The name of the feature to remove the channel from]:FEATURE: ' \
|
||||||
'--feature=[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'\'']: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)' \
|
'--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]' \
|
'--no-install[Don'\''t update the environment, only remove the channel(s) from the lock-file]' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
'*::channel -- The channel name(s) or URL:' \
|
'*::channel -- The channel name(s) or URL:' \
|
||||||
|
@ -659,12 +706,13 @@ esac
|
||||||
;;
|
;;
|
||||||
(description)
|
(description)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
":: :_pixi__project__description_commands" \
|
":: :_pixi__project__description_commands" \
|
||||||
|
@ -679,24 +727,26 @@ _arguments "${_arguments_options[@]}" \
|
||||||
case $line[1] in
|
case $line[1] in
|
||||||
(get)
|
(get)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
;;
|
;;
|
||||||
(set)
|
(set)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
':description -- The project description:' \
|
':description -- The project description:' \
|
||||||
|
@ -736,12 +786,13 @@ esac
|
||||||
;;
|
;;
|
||||||
(platform)
|
(platform)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
":: :_pixi__project__platform_commands" \
|
":: :_pixi__project__platform_commands" \
|
||||||
|
@ -758,13 +809,14 @@ _arguments "${_arguments_options[@]}" \
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'-f+[The name of the feature to add the platform to]:FEATURE: ' \
|
'-f+[The name of the feature to add the platform to]:FEATURE: ' \
|
||||||
'--feature=[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'\'']: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)' \
|
'--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]' \
|
'--no-install[Don'\''t update the environment, only add changed packages to the lock-file]' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
'*::platform -- The platform name(s) to add:' \
|
'*::platform -- The platform name(s) to add:' \
|
||||||
|
@ -772,12 +824,13 @@ _arguments "${_arguments_options[@]}" \
|
||||||
;;
|
;;
|
||||||
(list)
|
(list)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
|
@ -786,13 +839,14 @@ _arguments "${_arguments_options[@]}" \
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'-f+[The name of the feature to remove the platform from]:FEATURE: ' \
|
'-f+[The name of the feature to remove the platform from]:FEATURE: ' \
|
||||||
'--feature=[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'\'']: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)' \
|
'--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]' \
|
'--no-install[Don'\''t update the environment, only remove the platform(s) from the lock-file]' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
'*::platform -- The platform name(s) to remove:' \
|
'*::platform -- The platform name(s) to remove:' \
|
||||||
|
@ -836,12 +890,13 @@ esac
|
||||||
;;
|
;;
|
||||||
(version)
|
(version)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
":: :_pixi__project__version_commands" \
|
":: :_pixi__project__version_commands" \
|
||||||
|
@ -856,24 +911,26 @@ _arguments "${_arguments_options[@]}" \
|
||||||
case $line[1] in
|
case $line[1] in
|
||||||
(get)
|
(get)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
;;
|
;;
|
||||||
(set)
|
(set)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
':version -- The new project version:' \
|
':version -- The new project version:' \
|
||||||
|
@ -881,36 +938,39 @@ _arguments "${_arguments_options[@]}" \
|
||||||
;;
|
;;
|
||||||
(major)
|
(major)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
;;
|
;;
|
||||||
(minor)
|
(minor)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
;;
|
;;
|
||||||
(patch)
|
(patch)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.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)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
|
@ -1101,19 +1161,22 @@ esac
|
||||||
;;
|
;;
|
||||||
(remove)
|
(remove)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--manifest-path=[The path to '\''pixi.toml'\'']:MANIFEST_PATH:_files' \
|
'--manifest-path=[The path to '\''pixi.toml'\'' or '\''pyproject.toml'\'']:MANIFEST_PATH:_files' \
|
||||||
'-p+[The platform for which the dependency should be removed]:PLATFORM: ' \
|
'-p+[The platform for which the dependency should be removed]:PLATFORM: ' \
|
||||||
'--platform=[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: ' \
|
'-f+[The feature for which the dependency should be removed]:FEATURE: ' \
|
||||||
'--feature=[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' \
|
||||||
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'(--build)--host[Whether dependency is a host dependency]' \
|
'(--build)--host[Whether dependency is a host dependency]' \
|
||||||
'(--host)--build[Whether dependency is a build dependency]' \
|
'(--host)--build[Whether dependency is a build dependency]' \
|
||||||
'--pypi[Whether the dependency is a pypi package]' \
|
'--pypi[Whether the dependency is a pypi package]' \
|
||||||
|
'--tls-no-verify[Do not verify the TLS certificate of the server]' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
'*::deps -- List of dependencies you wish to remove from the project:' \
|
'*::deps -- List of dependencies you wish to remove from the project:' \
|
||||||
|
@ -1128,6 +1191,7 @@ _arguments "${_arguments_options[@]}" \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
|
@ -1135,25 +1199,49 @@ _arguments "${_arguments_options[@]}" \
|
||||||
(list)
|
(list)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
'--platform=[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: ' \
|
||||||
'--sort-by=[Sorting strategy]:SORT_BY:(size name type)' \
|
'--sort-by=[Sorting strategy]:SORT_BY:(size name kind)' \
|
||||||
'--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: ' \
|
'-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: ' \
|
'--environment=[The environment to list packages for. Defaults to the default environment]:ENVIRONMENT: ' \
|
||||||
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
'--color=[Whether the log needs to be colored]:COLOR:(always never auto)' \
|
||||||
'--json[Whether to output in json format]' \
|
'--json[Whether to output in json format]' \
|
||||||
'--json-pretty[Whether to output in pretty json format]' \
|
'--json-pretty[Whether to output in pretty json format]' \
|
||||||
'(--locked)--frozen[Don'\''t check or update the lockfile, continue with previously installed environment]' \
|
'(--locked)--frozen[]' \
|
||||||
'(--frozen)--locked[Check if lockfile is up to date, aborts when lockfile 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 install the environment for pypi solving, only update the lock-file if it can solve without installing]' \
|
||||||
'*-v[Increase logging verbosity]' \
|
'*-v[Increase logging verbosity]' \
|
||||||
'*--verbose[Increase logging verbosity]' \
|
'*--verbose[Increase logging verbosity]' \
|
||||||
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
'(-v --verbose)*-q[Decrease logging verbosity]' \
|
||||||
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
|
||||||
|
'--no-progress[Hide all progress bars]' \
|
||||||
'-h[Print help]' \
|
'-h[Print help]' \
|
||||||
'--help[Print help]' \
|
'--help[Print help]' \
|
||||||
'::regex -- List only packages matching a regular expression:' \
|
'::regex -- List only packages matching a regular expression:' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
;;
|
;;
|
||||||
|
(tree)
|
||||||
|
_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' \
|
||||||
|
'-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: ' \
|
||||||
|
'--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]' \
|
||||||
|
'--no-install[Don'\''t install the environment for pypi solving, only update the lock-file if it can solve without installing]' \
|
||||||
|
'-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]' \
|
||||||
|
'-h[Print help (see more with '\''--help'\'')]' \
|
||||||
|
'--help[Print help (see more with '\''--help'\'')]' \
|
||||||
|
'::regex -- List only packages matching a regular expression:' \
|
||||||
|
&& ret=0
|
||||||
|
;;
|
||||||
(help)
|
(help)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
":: :_pixi__help_commands" \
|
":: :_pixi__help_commands" \
|
||||||
|
@ -1442,6 +1530,10 @@ _arguments "${_arguments_options[@]}" \
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
;;
|
;;
|
||||||
|
(tree)
|
||||||
|
_arguments "${_arguments_options[@]}" \
|
||||||
|
&& ret=0
|
||||||
|
;;
|
||||||
(help)
|
(help)
|
||||||
_arguments "${_arguments_options[@]}" \
|
_arguments "${_arguments_options[@]}" \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
|
@ -1475,6 +1567,7 @@ _pixi_commands() {
|
||||||
'remove:Remove the dependency from the project' \
|
'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' \
|
'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' \
|
'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)' \
|
'help:Print this message or the help of the given subcommand(s)' \
|
||||||
)
|
)
|
||||||
_describe -t commands 'pixi commands' commands "$@"
|
_describe -t commands 'pixi commands' commands "$@"
|
||||||
|
@ -1753,6 +1846,7 @@ _pixi__help_commands() {
|
||||||
'remove:Remove the dependency from the project' \
|
'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' \
|
'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' \
|
'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)' \
|
'help:Print this message or the help of the given subcommand(s)' \
|
||||||
)
|
)
|
||||||
_describe -t commands 'pixi help commands' commands "$@"
|
_describe -t commands 'pixi help commands' commands "$@"
|
||||||
|
@ -2310,6 +2404,16 @@ _pixi__task_commands() {
|
||||||
)
|
)
|
||||||
_describe -t commands 'pixi task commands' commands "$@"
|
_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] )) ||
|
(( $+functions[_pixi__global__help__upgrade_commands] )) ||
|
||||||
_pixi__global__help__upgrade_commands() {
|
_pixi__global__help__upgrade_commands() {
|
||||||
local commands; commands=()
|
local commands; commands=()
|
||||||
|
|
Loading…
Reference in a new issue