update 'inspect' command completion

This commit is contained in:
Shohei YOSHIDA 2026-06-23 18:34:17 +09:00
parent ecc9750480
commit a761ad30f7
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 11 additions and 2 deletions

View File

@ -381,10 +381,19 @@ _conan_graph_commands() {
(( $+functions[_conan_inspect] )) || (( $+functions[_conan_inspect] )) ||
_conan_inspect() { _conan_inspect() {
local ret=1
_arguments \ _arguments \
"$_conan_common_options[@]" \ $_conan_common_options[@] \
'(-f --format)'{-f,--format}'[select the output format]:format:(json)' \ '(-f --format)'{-f,--format}'[select the output format]:format:(json)' \
'*:recipe_folder:_files -/' '(-r --remote -nr --no-remote)'{-r,--remote}'[remote names. Accepts wildcards("*")]:remote' \
'(-r --remote -nr --no-remote)'{-nr,--no-remote}'[do not use remote]' \
'(-l --lockfile)'{-l,--lockfile}'[path to a lockfile]:path:_files' \
'--lockfile-partial[do not raise an error if some dependnecy is not found in lockfile]' \
'*:recipe_folder:_files -/' \
&& ret=0
return ret
} }
(( $+functions[_conan_install] )) || (( $+functions[_conan_install] )) ||