thoghts on stdcli crate built on top of this?
还没有人认领这个 Issue。
评估
调研方向
首先审查现有的 stdx crate 以及 issue 中提议的 stdcli 依赖项:structopt_derive、tabwriter、self_update、ansi_term、fern、fs_extra 和 ctrlc。定义 crate 的范围、依赖项集合以及面向 CLI 的 API;当具体的设计和实现计划达成一致后,工作即告完成。
由索引模型根据 Issue 内容生成。
描述
I left a comment on reddit but wanted your feedback.
I've been thinking about ways we can make cli development even easier and I think having a stdcli crate that does use stdx::* but also includes more libraries for writing cli's would be AMAZING. This would be built on top of stdx but have libraries specific for developing scripts and cli's.
Some other libraries that would be useful that stdx doesn't (and shouldn't) have:
- cargo-script: this wouldnt be in
stdcli, but is an important one to know! Quickly write and run cli scripts with crate caching. - structopt_derive: simpler and more intuititive than clap, uses clap underneath.
- tabwriter easy formatting of data into a table using
\tcharacter for alignment - self_update: auto update/upgrade the compiled binary
- ansi_term: colors in the terminal
- fern: easier logging for clis
- fs_extra: to remove some of your tiny functions
- ctrlc: easy handling of unix AND windows signals
- 主要语言
- Rust
- 星标
- 2.1k
- 派生
- 48
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
brson/stdx 的其他 Issue
-
难度 5/5 一周以上 新手友好度 20/100
-
Include uuid未关闭
难度 2/5 1-3 小时 新手友好度 38/100
-
难度 2/5 1-3 小时 新手友好度 35/100
-
难度 5/5 一周以上 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 45/100
相似的 Issue
-
area: compat area: parsing bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
OFN writer emits `DocIRI` as a bare IRI, which becomes a version IRI or a parse error on re-read未关闭
难度 2/5 1-3 小时 新手友好度 72/100
phillord/horned-owl#338 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
type/bug
难度 2/5 1-3 小时 新手友好度 72/100
stackabletech/operator-rs#1301 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
jmcnamara/rust_xlsxwriter#205 · 4 条评论 ·