Skip to main content

Crate temp_convert

Crate temp_convert 

Source
Expand description

Command line tool to convert between common temperature units

§Install

$ cargo install temp-convert

§Example

 $ temp-convert 7 -u c -c k

§Usage

temp-convert OPTIONS VALUE

Arguments:

VALUE, Temperature value to convert

Options:

-u, –unit Temperature unit of the provided value (Celsius, Fahrenheit, or Kelvin)

-c, –convert Target temperature unit to convert the value to (Celsius, Fahrenheit, or Kelvin)

-h, –help Print help (see a summary with ‘-h’)

-V, –version Print version

Modules§

utils
Constant/helpers

Structs§

Args
Converts temperature values between Celsius, Fahrenheit, and Kelvin