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:
parent
5b4958e1e2
commit
b30cab6926
9 changed files with 353 additions and 58 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue