sample-temp-converter
v1.2.4
Published
a cli tool and a library for converting temperatures. CtoF, FtoC, KtoC, KtoF, CtoK, FtoK.
Downloads
9
Readme
sample-temp-converter
This is a tool to convert temperatures between Celsius, Fahrenheit and Kelvin.
Accepts parameters:
-t, --temp <number> temperature to convert (source temperature)
-c, --conversion-type <option> conversion type (choices: "CtoF", "CtoK", "KtoC", "KtoF", "FtoC", "FtoK", default: "FtoC")
Default convertion type is set in the file config/config.json
.
If any of the parameters are missing they will be asked to be provided interactively.
Notes:
- When specifying Kelvin as source temperature it must by greater or equal to 0.