0xMiden / 0xMiden/rust-sdk

CLI autocompletions

未关闭
#408 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Rust
星标
78
派生
129
平均合并
4 天 14 小时
30 天内合并 PR
52

描述

### 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。