Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(zkstack_cli): Autocompletion support #3097

Merged
merged 51 commits into from
Oct 22, 2024

Conversation

manuelmauro
Copy link
Contributor

@manuelmauro manuelmauro commented Oct 15, 2024

What ❔

Add autocomplete feature to zkstack:

❯ zkstack
chain              dev     -- Chain related commands                                                                                                                   
consensus                  -- Update ZKsync                                                                                                                            
containers                 -- Run containers for local development                                                                                                     
contract-verifier          -- Run contract verifier                                                                                                                    
ecosystem                  -- Ecosystem related commands                                                                                                               
explorer                   -- Run block-explorer                                                                                                                       
external-node              -- External Node related commands                                                                                                           
help                       -- Print this message or the help of the given subcommand(s)                                                                                
markdown           update  --                                                                                                                                          
portal                     -- Run dapp-portal                                                                                                                          
prover                     -- Prover related commands                                                                                                                  
server                     -- Run server
❯ zkstack ecosystem                   
build-transactions    -- Create transactions to build ecosystem contracts
change-default-chain  -- Change the default chain
create                -- Create a new ecosystem and chain, setting necessary configurations for later initialization
help                  -- Print this message or the help of the given subcommand(s)
init                  -- Initialize ecosystem and chain, deploying necessary contracts and performing on-chain operations
setup-observability   -- Setup observability for the ecosystem, downloading Grafana dashboards from the era-observability repo

Why ❔

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted via zkstack dev fmt and zkstack dev lint.

@manuelmauro manuelmauro changed the title feat(zkstack_cli): Auto completion support feat(zkstack_cli): Autocompletion support Oct 15, 2024
zkstack_cli/crates/zkstack/build.rs Outdated Show resolved Hide resolved
zkstack_cli/crates/zkstack/build.rs Outdated Show resolved Hide resolved
zkstack_cli/crates/zkstack/src/commands/autocomplete.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@Deniallugo Deniallugo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just nits

zkstack_cli/crates/zkstack/build.rs Outdated Show resolved Hide resolved
zkstack_cli/crates/zkstack/src/commands/autocomplete.rs Outdated Show resolved Hide resolved
Deniallugo
Deniallugo previously approved these changes Oct 21, 2024
@Deniallugo Deniallugo added this pull request to the merge queue Oct 22, 2024
Merged via the queue into main with commit b29be7d Oct 22, 2024
32 checks passed
@Deniallugo Deniallugo deleted the manuel-auto-completion-support branch October 22, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants