#temperature #converter #cli

bin+lib temp-convert

A command line tool to convert between common temperature units

2 stable releases

Uses new Rust 2024

1.0.1 Jan 29, 2026

#486 in Command-line interface

MIT license

14KB
285 lines

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


Temperature Converter

Command line tool to convert between common temperature units

Crates.io Crates.io

Install

cargo install temp-convert

Usage

temp-convert 77 -u c -c k

Dependencies

~1–1.5MB
~27K SLoC