fahrcel

Crates.iofahrcel
lib.rsfahrcel
version1.0.0
sourcesrc
created_at2022-08-23 14:58:02.829006
updated_at2022-08-23 14:58:02.829006
descriptionA CLI tool to make Fahrenheit <--> Celsius convertions
homepagehttps://github.com/cromega08/fahRcel
repositoryhttps://github.com/cromega08/fahRcel
max_upload_size
id651035
size3,958,002
Cromega08 (cromega08)

documentation

README

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

Commit count: 5

cargo fmt