chloe199719_unit_converter

Crates.iochloe199719_unit_converter
lib.rschloe199719_unit_converter
version0.1.0
sourcesrc
created_at2023-07-10 03:13:07.639918
updated_at2023-07-10 03:13:07.639918
descriptionA unit converter that converts between metric and imperial units.
homepage
repositoryhttps://github.com/Chloe199719/UnitConverter-CLI
max_upload_size
id912500
size44,734
Chloe Pratas (Chloe199719)

documentation

README

Unit Converter CLI Tool

Description

This is a simple CLI tool that converts units of length, weight, and volume. Written in Rust.

Supported units:

  • Length: meters, feet, inches, yards, miles, kilometers, centimeters, millimeters, decimeters, dekameters, nautical miles
  • Weight: grams, kilograms, ounces, pounds, and more ...
  • Volume: milliliters, liters, cups, pints, quarts, gallons, and more ...
  • Temperature: celsius, fahrenheit, kelvin

Usage

Installation

  1. Download the latest release from the releases page.
  2. Unzip the file.
  3. open a terminal and navigate to the directory where you unzipped the file.
  4. Run the following command: ./unit-converter

Examples

Convert 1 meter to feet

./unit-converter meter 1 feet

1 meter is 3.28084 feet

Convert 30 Celsius to Kelvin and

./unit-converter celsius 30 kelvin

Output

30 celsius is 303.15 kelvin

Convert 30 Celsius to Fahrenheit

./unit-converter celsius 30 fahrenheit

Output

30 celsius is 86 fahrenheit

Help

./unit-converter --help

or

./unit-converter -h

License

MIT

Author

Chloe Pratas

Commit count: 9

cargo fmt