crypti / ccoin

:part_alternation_mark: Convert and fetch the cost of over 1000 cryptocurrencies within your terminal, and save repeated queries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow input to be more than one

brh55 opened this issue · comments

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

Expected:

  • ccoin eth,btc btc,doge,eth
  • Skip the one being converted

Would look like such:

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

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

Yeah, good call. I like that. 👍

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