crypti / ccoin

:part_alternation_mark: Convert and fetch the cost of over 1000 cryptocurrencies within your terminal, and save repeated queries
MIT License
23 stars 1 forks source link

Allow input to be more than one #6

Closed brh55 closed 7 years ago

brh55 commented 7 years ago

@radiovisual Thoughts on this ability, we would just need to separate the logic used for the to string.

Expected:

Would look like such:

ETH =>
|- BTC 
|- STRAT
|- DOGE

BTC =>
|- ETH 
|- STRAT
|- DOGE
radiovisual commented 7 years ago

Yeah, good call. I like that. 👍

radiovisual commented 7 years ago

This feature has been added, but it required that I change the API, so I added in two flags --from and --to (or the aliases -f and -t).

Also, I can't find a way to support spaces in the cli flags, so I have added in a warning when someone attempts to enter values with spaces:

image

and then with spaces removed:

image