cromega08 / fahRcel

A CLI tool to make Fahrenheit <--> Celsius convertions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fahRcel

A CLI tool to make Fahrenheit <--> Celsius convertions.

Installation

$ cargo install fahrcel

Requirements

  • Rust > 2018 vr.

Usage

To call fahRcel, type in your terminal:

$ fahrcel

The positional arguments required are:

  • [output_type] option to convert numeric value:

    • f = 'to fahrenheit'
    • c = 'to celsius'
  • [number] numeric value to convert

The final structure to use fahRcel is:

$ fahrcel [output_type] [number]

To get help, type:

$ fahrcel --help

Examples

$ fahrcel c 5

Result: 5fh = -15.000001c
$ fahrcel c 5.6

Result: 5.6fh = -14.666667c
$ fahrcel c 5

Result: 5fh = -15.000001c

Authors

License

About

A CLI tool to make Fahrenheit <--> Celsius convertions.

License:GNU Affero General Public License v3.0


Languages

Language:Rust 100.0%