DeterminateSystems / riff

Riff automatically provides external dependencies for Rust projects, with support for other languages coming soon.
https://riff.sh
Mozilla Public License 2.0
486 stars 13 forks source link

Add --version flag and show the version in --help #91

Closed edolstra closed 2 years ago

edolstra commented 2 years ago

Thanks to the magic of clap.

linear[bot] commented 2 years ago

DS-304 Add --version

cole-h commented 2 years ago
: ~/w/d/fsm on edolstra/ds-304-version is 📦 v0.0.0-unreleased via 🦀 v1.63.0 took 2s 
zsh ; nix develop -c -- cargo r -q -- --help
warning: Git tree '/home/vin/workspace/detsys/fsm' is dirty
riff 0.0.0-unreleased
Automatically set up build environments using Nix
[...snip...]
: ~/w/d/fsm on edolstra/ds-304-version is 📦 v0.0.0-unreleased via 🦀 v1.63.0 
zsh ; nix develop -c -- cargo r -q -- --version
warning: Git tree '/home/vin/workspace/detsys/fsm' is dirty
riff 0.0.0-unreleased