Skip to content
/ rust-cli-template Public template

CLI starter template for Rust.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

ladvoc/rust-cli-template

Repository files navigation

Rust CLI Template

CLI starter template for Rust.

Features

  • Simple CLI starer application
  • Multi-platform builds and packaging with cargo-dist
    • macOS and Linux builds
    • Homebrew and shell installers
  • Release automation with cargo-release
  • Dependabot keeps Cargo dependencies and Rust toolchain up-to-date
  • CI workflow (GitHub Actions)
    • Format check
    • Install check
    • Lint with Clippy
    • Run tests with cargo-nextest
    • Link checking with lychee

Installation

The example application included here is distributed like a real CLI tool would be. There are several installation methods available:

Homebrew

brew install ladvoc/tap/rust-cli-template

Install script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ladvoc/rust-cli-template/releases/download/v0.1.0/rust-cli-template-installer.sh | sh

Cargo (pre-built binary)

cargo binstall rust-cli-template

Cargo (build from source)

cargo install rust-cli-template

About

CLI starter template for Rust.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Languages