Lotuashvili / nbg-currency-cli

🖥 Command-line tool for National Bank of Georgia currency service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NBG Currency CLI

Command-line tool for National Bank of Georgia currency service.

Note: If you're looking for a non-cli PHP package to use in your code, see stichoza/nbg-currency instead.

Installation

Install this package globally via Composer.

composer global require stichoza/nbg-currency-cli

Usage

NBG CLI Screenshot

Options

--help Display this help page.
--plain Display plain results without colors.
--normalize Convert rates to single entity if rate is given for amount larger than 1.

Example commands

nbg usd Get currency rate and change for USD.
nbg usd --plain Get currency rate for USD.
nbg usd eur gbp Get currency rate for USD, EUR, GBP.
nbg 150 usd Get equivalent of 150 USD in GEL.
nbg 150 gel usd Get equivalent of 150 GEL in USD.

About

🖥 Command-line tool for National Bank of Georgia currency service

License:MIT License


Languages

Language:PHP 100.0%