Ross ROSS = Recommend OSS · open-source software intelligence for agents

rust-shell-script/rust_cmd_lib

Common rust command-line macros and utilities, to write shell-script like tasks in a clean, natural and rusty way observed · 2026-08-28

github.com/rust-shell-script/rust_cmd_lib · homepage · Rust · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

62/100

  • Activity 87
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2540
  • days_rel: n/a
  • days_push: 78
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1155 stars · 41 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

cmd_lib is a Rust library providing macros and utilities for running external commands with shell-like piping, redirection, and error handling, without spawning a shell. It lets developers write shell-script-style tasks as safe, maintainable Rust code.

Use cases

  • run external commands with pipes in rust
  • replace bash scripts with rust
  • pipe command output between processes in rust
  • redirect stdin stdout in rust without std::process boilerplate
  • write shell-like automation tasks in rust
  • run command groups with set -euo pipefail semantics

When to choose

  • you need piping or redirection between external commands in Rust
  • you want to migrate unmaintainable shell scripts to Rust
  • you want shell ergonomics with Rust type safety and error handling

When to avoid

  • you only need to spawn a single process and collect output - std::process::Command suffices
  • you need full POSIX shell features like variable expansion of complex expressions or job control
  • your task is pure shell and will never grow beyond a few lines

Facets

library · maturity active

developer-tools cli concurrency error-handling developer-tools rust windows cross-platform shell-scripting process-piping macros bash-replacement command-execution command-line automation linux macos

10 sources

Member repositories

RepositoryRoleHealth v2
rust-shell-script/rust_cmd_libmain62

For agents

markdown · JSON · MCP: product_card(name="rust-shell-script/rust_cmd_lib")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem