Skip to content

Commit

Permalink
feat: update autocompletion files
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmauro committed Oct 17, 2024
1 parent b823a30 commit 09dfe6f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
10 changes: 7 additions & 3 deletions zkstack_cli/crates/zkstack/completion/_zkstack_bash
Original file line number Diff line number Diff line change
Expand Up @@ -6544,7 +6544,7 @@ _zkstack() {
return 0
;;
zkstack__prover__init)
opts="-u -d -v -h --dev --proof-store-dir --bucket-base-url --credentials-file --bucket-name --location --project-id --shall-save-to-public-bucket --public-store-dir --public-bucket-base-url --public-credentials-file --public-bucket-name --public-location --public-project-id --clone --bellman-cuda-dir --bellman-cuda --setup-compressor-keys --path --region --mode --setup-keys --setup-database --prover-db-url --prover-db-name --use-default --dont-drop --cloud-type --verbose --chain --ignore-prerequisites --help"
opts="-u -d -v -h --dev --proof-store-dir --bucket-base-url --credentials-file --bucket-name --location --project-id --shall-save-to-public-bucket --public-store-dir --public-bucket-base-url --public-credentials-file --public-bucket-name --public-location --public-project-id --clone --bellman-cuda-dir --bellman-cuda --setup-compressor-key --path --region --mode --setup-keys --setup-database --prover-db-url --prover-db-name --use-default --dont-drop --cloud-type --verbose --chain --ignore-prerequisites --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
Expand Down Expand Up @@ -6610,7 +6610,7 @@ _zkstack() {
COMPREPLY=($(compgen -W "true false" -- "${cur}"))
return 0
;;
--setup-compressor-keys)
--setup-compressor-key)
COMPREPLY=($(compgen -W "true false" -- "${cur}"))
return 0
;;
Expand Down Expand Up @@ -6696,7 +6696,7 @@ _zkstack() {
return 0
;;
zkstack__prover__run)
opts="-v -h --component --round --threads --max-allocation --witness-vector-generator-count --max-allocation --docker --verbose --chain --ignore-prerequisites --help"
opts="-v -h --component --round --threads --max-allocation --witness-vector-generator-count --max-allocation --docker --tag --verbose --chain --ignore-prerequisites --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
Expand Down Expand Up @@ -6730,6 +6730,10 @@ _zkstack() {
COMPREPLY=($(compgen -W "true false" -- "${cur}"))
return 0
;;
--tag)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--chain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
Expand Down
11 changes: 6 additions & 5 deletions zkstack_cli/crates/zkstack/completion/_zkstack_zsh
Original file line number Diff line number Diff line change
Expand Up @@ -1783,7 +1783,7 @@ _arguments "${_arguments_options[@]}" : \
'--public-project-id=[]:PUBLIC_PROJECT_ID: ' \
'(--clone)--bellman-cuda-dir=[]:BELLMAN_CUDA_DIR: ' \
'--bellman-cuda=[]' \
'--setup-compressor-keys=[]' \
'--setup-compressor-key=[]' \
'--path=[]:PATH: ' \
'--region=[]:REGION:(us europe asia)' \
'--mode=[]:MODE:(download generate)' \
Expand Down Expand Up @@ -1827,6 +1827,7 @@ _arguments "${_arguments_options[@]}" : \
'--witness-vector-generator-count=[]:WITNESS_VECTOR_GENERATOR_COUNT: ' \
'--max-allocation=[]:MAX_ALLOCATION: ' \
'--docker=[]:DOCKER:(true false)' \
'--tag=[]:TAG: ' \
'--chain=[Chain to use]:CHAIN: ' \
'-v[Verbose mode]' \
'--verbose[Verbose mode]' \
Expand Down Expand Up @@ -2864,13 +2865,13 @@ esac
(( $+functions[_zkstack_commands] )) ||
_zkstack_commands() {
local commands; commands=(
'autocomplete:Create shell autocompletion files (test)' \
'autocomplete:Create shell autocompletion files' \
'ecosystem:Ecosystem related commands' \
'chain:Chain related commands' \
'dev:Supervisor related commands' \
'prover:Prover related commands' \
'server:Run server' \
'external-node:External Node related commands asd' \
'external-node:External Node related commands' \
'containers:Run containers for local development' \
'contract-verifier:Run contract verifier' \
'portal:Run dapp-portal' \
Expand Down Expand Up @@ -4174,13 +4175,13 @@ _zkstack__external-node__run_commands() {
(( $+functions[_zkstack__help_commands] )) ||
_zkstack__help_commands() {
local commands; commands=(
'autocomplete:Create shell autocompletion files (test)' \
'autocomplete:Create shell autocompletion files' \
'ecosystem:Ecosystem related commands' \
'chain:Chain related commands' \
'dev:Supervisor related commands' \
'prover:Prover related commands' \
'server:Run server' \
'external-node:External Node related commands asd' \
'external-node:External Node related commands' \
'containers:Run containers for local development' \
'contract-verifier:Run contract verifier' \
'portal:Run dapp-portal' \
Expand Down

0 comments on commit 09dfe6f

Please sign in to comment.