implemented a global exception handler for over.app.Main that uses introspection and docstrings to create human-friendly stack traces

implemented most of the command line parser
expanded ANSI color palette
added over.text.char_in_str
over.text.Output removes colors if the output stream is not a tty
minor fixes and improvements
This commit is contained in:
Martinez 2016-05-15 22:07:38 +02:00
parent 5b4958e1e2
commit b30cab6926
9 changed files with 353 additions and 58 deletions

View file

@ -21,6 +21,10 @@ class ndict(OrderedDict):
"""
def __getattr__(self, name):
"""
@action looking up an attribute
"""
if name in self:
return self[name]
elif name.replace("_", "-") in self: