Readme with images

This commit is contained in:
Love 2025-01-09 15:06:00 +01:00
parent a39d0331b3
commit f501569040
5 changed files with 14 additions and 12 deletions

View File

@ -32,20 +32,22 @@ Congratulations! Now the cli binary `ecb-rates` will be in your cargo bin folder
It features an extensive cache, which will [calculate hollidays](src/holiday.rs) in order to know whether to invalidate it or not.
### Example
### Examples
```sh
ecb-rates -c sek -c nok -c usd
```
#### Show the original data from ECB
![eur-to-all](screenshots/eur-to-all.png)
```plain
2025-01-07
Currency Rate
---------------------
USD 1.0393
SEK 11.475
NOK 11.7385
```
#### ...with only select currencies
![eur-to-all](screenshots/eur-to-all-select.png)
#### Put the exchange rate in the perspective of any currency
![usd-to-all](screenshots/usd-to-all.png)
#### Flip it
![all-to-usd](screenshots/all-to-usd.png)
## Acknowledgment

BIN
screenshots/all-to-usd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

BIN
screenshots/eur-to-all.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

BIN
screenshots/usd-to-all.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB