term
tools for a metamodern terminal environment
Descendants
cli
clean and simple command line interfaces
Members
Globals
application
<class 'type'>
['__call__', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'get_metadata', 'register']
Functions
print(*values, sep=' ', end='\n', **kwargs)
enhanced print with color and logging
listing C A
get_output_width()
returns the best of env var TTY_WIDTH
, current terminal width or 80
listing A A
get_dimensions()
returns a 2-tuple of terminal's height and width
listing A A
Metrics
Lines of Code
Source | Docstrings | Comments |
---|---|---|
72 | 0 | 9 |