Skip to content

Commit

Permalink
Bash completion for the --proxyUrl, --proxyUser and --proxyPass options
Browse files Browse the repository at this point in the history
  • Loading branch information
ebourg committed Jul 4, 2024
1 parent 9632d04 commit 7655989
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ _jsign()
local commands="sign timestamp extract remove tag"

declare -A opts
opts["sign"]="-s --keystore --storepass --storetype -a --alias --keypass --keyfile -c --certfile -t --tsaurl -r --tsretries -w --tsretrywait -n --name -u --url -h --replace -e --encoding --detached --quiet --verbose --debug --help"
opts["timestamp"]="-t --tsaurl -r --tsretries -w --tsretrywait"
opts["sign"]="-s --keystore --storepass --storetype -a --alias --keypass --keyfile -c --certfile -t --tsaurl -r --tsretries -w --tsretrywait -n --name -u --url --proxyUrl --proxyUser --proxyPass --replace -e --encoding --detached --quiet --verbose --debug -h --help"
opts["timestamp"]="-t --tsaurl -r --tsretries -w --tsretrywait --proxyUrl --proxyUser --proxyPass"
opts["extract"]="--format"
opts["remove"]=""
opts["tag"]="--value"
Expand Down Expand Up @@ -45,7 +45,7 @@ _jsign()
COMPREPLY=( $( compgen -W 'JKS JCEKS PKCS12 PKCS11 AWS AZUREKEYVAULT DIGICERTONE ESIGNER ETOKEN GARASIGN GOOGLECLOUD HASHICORPVAULT ORACLECLOUD TRUSTEDSIGNING YUBIKEY NITROKEY OPENPGP OPENSC PIV' -- "$cur" ) )
return 0
;;
--storepass|-a|--alias|--keypass|-t|--tsaurl|-r|--tsretries|-w|--tsretrywait|-n|--name|-u|--url|--value)
--storepass|-a|--alias|--keypass|-t|--tsaurl|-r|--tsretries|-w|--tsretrywait|-n|--name|-u|--url|--proxyUrl|--proxyUser|--proxyPass|--value)
# argument required but no completions available
return 0
;;
Expand Down

0 comments on commit 7655989

Please sign in to comment.