cargo-man

Crates.iocargo-man
lib.rscargo-man
version0.1.2
sourcesrc
created_at2021-07-08 18:16:32.345815
updated_at2021-12-01 18:18:42.682382
descriptionCLI tool to improve Cargo file management.
homepage
repository
max_upload_size
id420424
size22,571
team-authorization (github:cloudwalk:team-authorization)

documentation

README

Cargo-man

Crates.io Crates.io License Contributors

The man is a simples CLI sub-command from cargo, that helps you manage your Cargo.toml file.

Install:

To install the sub-command you just need to execute the following command:

cargo install cargo-man

Usage:

To use the CLI you must inform the fields you want it to return or change using the flag --field or -f:

cargo man -f version
0.1.0

If you want to attribute a new value just use the flag --set or -s

cargo man -f version -s 1.0.0
1.0.0

By default, cargo-man looks at the package table, but you can change that by anything that you want it

cargo man -t dependencies -f something
1.0.0
Commit count: 0

cargo fmt