Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

thoghts on stdcli crate built on top of this?

未关闭
#63 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
rust
领域
cli

调研方向

首先审查现有的 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 \t character 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 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

brson/stdx 的其他 Issue

查看 brson/stdx 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

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