lmaurits / BEASTling

A linguistics-focussed command line tool for generating BEAST XML files.
BSD 2-Clause "Simplified" License
20 stars 6 forks source link

Document and Unify Exit Codes #254

Open Anaphory opened 4 years ago

Anaphory commented 4 years ago

Considering the different exit codes in cli.py:

Yes, I understand. I wanted to highlight that this is a documentation issue, and why we might want to handle this more consistently. So I agree. I don't use Enums much, but considering the support they have in IDEs they might make sense here - but a plain dict mapping return code to error message might do as well.

Originally posted by @xrotwang in https://github.com/lmaurits/BEASTling/pull/248