cconvert is a command-line tool for currency conversion. It allows you to convert currency values from one currency to another using real-time exchange rates.
To install cconvert, follow these steps:
- Go to the GitHub Actions page.
- Locate the latest release of cconvert.
- Click on the release to view the details.
- Download the binary file for your operating system.
If you prefer to compile cconvert manually, follow these steps:
- Clone the cconvert repository from GitHub:
git clone https://github.com/phant80m/currency-converter
- Navigate to the cloned directory:
cd currency-converter
- Compile the source code using cargo.
cargo build --release
- Once the compilation is complete, you will find the executable file in the build directory.
./target/release/cconvert
The syntax for using cconvert is as follows:
-i <currency>
: Specifies the input currency symbol or code.-o <currency>
: Specifies the output currency symbol or code.-i <amount>
: Specifies the amount of currency to convert.
Here are some examples of how to use cconvert:
- Convert 100 USD to EUR: `Sure! Here's the raw markdown for the cconvert documentation enclosed in triple backticks:
The syntax for using cconvert is as follows:
cconvert -i <currency, String> -o <currency, String> -i <amount, i32>
markdown
-i <currency>
: Specifies the input currency symbol or code.-o <currency>
: Specifies the output currency symbol or code.-i <amount>
: Specifies the amount of currency to convert.
Here are some examples of how to use cconvert:
- Convert 100 USD to EUR:
cconvert -i USD -o EUR -i 100
- Convert 50 GBP to USD:
cconvert -i GBP -o USD -i 50
- Convert 2000 JPY to AUD:
cconvert -i JPY -o AUD -i 2000
Nick Samuels - Dev