Skip to content
/ tcv Public
forked from jcbritobr/tcv

A cli to convert temperatures between kelvin, celcius and fahrenheit.

License

Notifications You must be signed in to change notification settings

jgardona/tcv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temperature Converter

A cli to convert temperatures between kelvin, Celsius and Fahrenheit

  • Install
cargo install tcv
  • Usage
$ tcv --help
Usage: tcv --temperature <TEMPERATURE> <MODE>

Arguments:
  <MODE>  The mode for conversion [possible values: k2c, c2k, f2c, c2f, f2k, k2f]

Options:
  -t, --temperature <TEMPERATURE>  Input temperature to convert
  -h, --help                       Print help information
  -V, --version                    Print version information
  • Kelvin to Celsius conversion
$ tcv -t 0 k2c
-273.15
  • Fahrenheit to Celsius conversion
$ tcv -t 80 f2c
26.666666666666668

About

A cli to convert temperatures between kelvin, celcius and fahrenheit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%