foundry-rs / starknet-foundry

Blazing fast toolkit for developing Starknet contracts.
https://foundry-rs.github.io/starknet-foundry/
MIT License
329 stars 180 forks source link

Shell completions #2311

Open ksew1 opened 4 months ago

ksew1 commented 4 months ago

Which component is your feature related to?

Cast

Feature Request

  1. Add shell completions for:

    • bash
    • elvish
    • fish
    • powershell
    • zsh
  2. Detect shell when using foundyup and automatically set completions for it

  3. Add command that will print completions to stdout for manual set up

This crate (clap_complete) can help

cptartur commented 4 weeks ago

From #2646 @amanusk

Which component is your feature related to? Cast

Feature Request Add n option to run sncast completeions that will produce a completions file that can be used by bash or other shells to auto complete commands

see cast completions for reference