#demo #celsius #fahrenheit #command-line-tool #cli #convertions

app fahrcel

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

1 stable release

1.0.0 Aug 23, 2022

#9 in #fahrenheit

AGPL-3.0-or-later

1MB

Contains (ELF exe/lib, 4MB) src/main

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

Dependencies

~3MB
~63K SLoC