Crates.io | cargo-man |
lib.rs | cargo-man |
version | 0.1.2 |
source | src |
created_at | 2021-07-08 18:16:32.345815 |
updated_at | 2021-12-01 18:18:42.682382 |
description | CLI tool to improve Cargo file management. |
homepage | |
repository | |
max_upload_size | |
id | 420424 |
size | 22,571 |
The man is a simples CLI sub-command from cargo, that helps you manage your Cargo.toml
file.
To install the sub-command you just need to execute the following command:
cargo install cargo-man
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