cnv - A Simple Unit Conversion CLI
cnv is a command-line tool for converting units of measurement, written in Rust. It is designed to be user-friendly.
Installation
To install cnv, run:
Alternatively, you can clone the repository and build it manually:
Usage
Run the command with the following format:
Example:
Output:
10 miles = 16.0934 km
Supported Categories:
dist(Distance) - Converts between different distance units.weight(Weight) - Converts between different weight units.temp(Temperature) - Converts between different temperature units.
More categories will be supported in upcoming releases.
Units:
--list,-L- Lists down all the supported units for each category.
Contributing
Contributions are welcome! Feel free to submit issues or pull requests.
License
This project is licensed under the MIT License.