Skip to content

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

License

Notifications You must be signed in to change notification settings

cromega08/fahRcel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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