Completion
This commit is contained in:
parent
8d9af73d83
commit
88d7249141
@ -1459,7 +1459,7 @@ _spack_mirror_destroy() {
|
|||||||
_spack_mirror_add() {
|
_spack_mirror_add() {
|
||||||
if $list_options
|
if $list_options
|
||||||
then
|
then
|
||||||
SPACK_COMPREPLY="-h --help --scope --type --autopush --unsigned --signed --s3-access-key-id --s3-access-key-id-variable --s3-access-key-secret --s3-access-key-secret-variable --s3-access-token --s3-access-token-variable --s3-profile --s3-endpoint-url --oci-username --oci-username-variable --oci-password --oci-password-variable"
|
SPACK_COMPREPLY="-h --help --scope --type --autopush --unsigned --signed --exclude-file --exclude-specs --s3-access-key-id --s3-access-key-id-variable --s3-access-key-secret --s3-access-key-secret-variable --s3-access-token --s3-access-token-variable --s3-profile --s3-endpoint-url --oci-username --oci-username-variable --oci-password --oci-password-variable"
|
||||||
else
|
else
|
||||||
_mirrors
|
_mirrors
|
||||||
fi
|
fi
|
||||||
|
@ -2301,7 +2301,7 @@ complete -c spack -n '__fish_spack_using_command mirror destroy' -l mirror-url -
|
|||||||
complete -c spack -n '__fish_spack_using_command mirror destroy' -l mirror-url -r -d 'find mirror to destroy by url'
|
complete -c spack -n '__fish_spack_using_command mirror destroy' -l mirror-url -r -d 'find mirror to destroy by url'
|
||||||
|
|
||||||
# spack mirror add
|
# spack mirror add
|
||||||
set -g __fish_spack_optspecs_spack_mirror_add h/help scope= type= autopush unsigned signed s3-access-key-id= s3-access-key-id-variable= s3-access-key-secret= s3-access-key-secret-variable= s3-access-token= s3-access-token-variable= s3-profile= s3-endpoint-url= oci-username= oci-username-variable= oci-password= oci-password-variable=
|
set -g __fish_spack_optspecs_spack_mirror_add h/help scope= type= autopush unsigned signed exclude-file= exclude-specs= s3-access-key-id= s3-access-key-id-variable= s3-access-key-secret= s3-access-key-secret-variable= s3-access-token= s3-access-token-variable= s3-profile= s3-endpoint-url= oci-username= oci-username-variable= oci-password= oci-password-variable=
|
||||||
complete -c spack -n '__fish_spack_using_command_pos 0 mirror add' -f
|
complete -c spack -n '__fish_spack_using_command_pos 0 mirror add' -f
|
||||||
complete -c spack -n '__fish_spack_using_command mirror add' -s h -l help -f -a help
|
complete -c spack -n '__fish_spack_using_command mirror add' -s h -l help -f -a help
|
||||||
complete -c spack -n '__fish_spack_using_command mirror add' -s h -l help -d 'show this help message and exit'
|
complete -c spack -n '__fish_spack_using_command mirror add' -s h -l help -d 'show this help message and exit'
|
||||||
@ -2315,6 +2315,10 @@ complete -c spack -n '__fish_spack_using_command mirror add' -l unsigned -f -a s
|
|||||||
complete -c spack -n '__fish_spack_using_command mirror add' -l unsigned -d 'do not require signing and signature verification when pushing and installing from this build cache'
|
complete -c spack -n '__fish_spack_using_command mirror add' -l unsigned -d 'do not require signing and signature verification when pushing and installing from this build cache'
|
||||||
complete -c spack -n '__fish_spack_using_command mirror add' -l signed -f -a signed
|
complete -c spack -n '__fish_spack_using_command mirror add' -l signed -f -a signed
|
||||||
complete -c spack -n '__fish_spack_using_command mirror add' -l signed -d 'require signing and signature verification when pushing and installing from this build cache'
|
complete -c spack -n '__fish_spack_using_command mirror add' -l signed -d 'require signing and signature verification when pushing and installing from this build cache'
|
||||||
|
complete -c spack -n '__fish_spack_using_command mirror add' -l exclude-file -r -f -a exclude_file
|
||||||
|
complete -c spack -n '__fish_spack_using_command mirror add' -l exclude-file -r -d 'specs which Spack should not try to add to a mirror (listed in a file, one per line)'
|
||||||
|
complete -c spack -n '__fish_spack_using_command mirror add' -l exclude-specs -r -f -a exclude_specs
|
||||||
|
complete -c spack -n '__fish_spack_using_command mirror add' -l exclude-specs -r -d 'specs which Spack should not try to add to a mirror (specified on command line)'
|
||||||
complete -c spack -n '__fish_spack_using_command mirror add' -l s3-access-key-id -r -f -a s3_access_key_id
|
complete -c spack -n '__fish_spack_using_command mirror add' -l s3-access-key-id -r -f -a s3_access_key_id
|
||||||
complete -c spack -n '__fish_spack_using_command mirror add' -l s3-access-key-id -r -d 'ID string to use to connect to this S3 mirror'
|
complete -c spack -n '__fish_spack_using_command mirror add' -l s3-access-key-id -r -d 'ID string to use to connect to this S3 mirror'
|
||||||
complete -c spack -n '__fish_spack_using_command mirror add' -l s3-access-key-id-variable -r -f -a s3_access_key_id_variable
|
complete -c spack -n '__fish_spack_using_command mirror add' -l s3-access-key-id-variable -r -f -a s3_access_key_id_variable
|
||||||
|
Loading…
Reference in New Issue
Block a user