0xMiden / 0xMiden/rust-sdk

CLI autocompletions

Open
#408 1 comment 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
78
Forks
129
Avg merge
4d 14h
Merged PRs (30d)
52

Description

### Feature description

We discussed a bit offline and came up to the conclusion that in the future it'd be nice to have shell autocompletions in the CLI. It's not prioritary at all, just more of a nth.

Doing some quick research I found that clap 2 had support for autocompletions, and on clap 3 they extracted a [crate](https://docs.rs/clap_complete/latest/clap_complete/) for that to avoid bloat. I also found [this useful blog post](https://kbknapp.dev/shell-completions/)that goes a bit into what it takes to either generate completions on build time or during runtime.

### Why is this feature needed?

It would improve UX

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.