README
converter-cli
A CLI application that makes real-time currency conversions
Installation using :package: npm
HERE.
1. Install Node.js2. Open your terminal.
npm install -g converter-cli
.
3. Type: 4. Wait for NPM to install the package on your computer.
5. You can now access the converter-cli help doc from anywhere in your terminal by entering:
converter help
Usage
1. Create a user:
converter create-user <username> <password>
2. Login and run your first conversion. You will be prompted for your credentials.
converter login
3. Once you are authenticated run your first conversion.
convert <home currency> <exchange currency> <amount>
For example:
convert USD EUR 10
supportedCurrencies.json
For a symbols reference4. After logging in you can retrieve your conversion history, which will present the last 5 conversions executed
logs
5. In application help:
help
Available Currencies
See supportedCurrencies.json file.