jmsv / ety-python

A Python module to discover the etymology of words
http://ety-python.rtfd.io
MIT License
144 stars 18 forks source link

Refactor cli() #26

Closed alxwrd closed 6 years ago

alxwrd commented 6 years ago

This is tidy up of the cli() function, mainly to remove duplication.

For each output, I've assigned what is about to be put to the console to result. This is to make #25 easier to implement (if it's needed), as separators only need to be implemented in one place.

alxwrd commented 6 years ago
ERROR: An error occured while trying to fetch your .travis.yml file.
Is GitHub down? Please contact support@travis-ci.com if the error persists.

Closing and reopening to restart the build.

jmsv commented 6 years ago

Looks good