anshulxyz / exch

a command-line tool to see currency exchange rates
MIT License
20 stars 2 forks source link

disintegrate the cli() function into smaller functions #25

Closed anshulxyz closed 6 years ago

anshulxyz commented 6 years ago

use click.Group()

for example look at manage/cli.py#L6

http://click.pocoo.org/5/commands/