2017-02-14 15:27:40 -05:00
|
|
|
"""Additional core utilites that are implemented in xonsh. The current list
|
2017-02-12 18:07:26 -05:00
|
|
|
includes:
|
|
|
|
|
|
|
|
* cat
|
|
|
|
* echo
|
|
|
|
* pwd
|
|
|
|
* tee
|
|
|
|
* tty
|
|
|
|
* yes
|
|
|
|
|
|
|
|
In many cases, these may have a lower performance overhead than the
|
|
|
|
posix command line utility with the same name. This is because these
|
|
|
|
tools avoid the need for a full subprocess call. Additionally, these
|
|
|
|
tools are cross-platform.
|
|
|
|
"""
|
|
|
|
from xonsh.xoreutils.cat import cat
|
|
|
|
from xonsh.xoreutils.echo import echo
|
|
|
|
from xonsh.xoreutils.pwd import pwd
|
|
|
|
from xonsh.xoreutils.tee import tee
|
|
|
|
from xonsh.xoreutils.tty import tty
|
|
|
|
from xonsh.xoreutils.yes import yes
|
|
|
|
|
|
|
|
__all__ = ()
|
|
|
|
|
|
|
|
aliases['cat'] = cat
|
|
|
|
aliases['echo'] = echo
|
|
|
|
aliases['pwd'] = pwd
|
|
|
|
aliases['tee'] = tee
|
|
|
|
aliases['tty'] = tty
|
|
|
|
aliases['yes'] = yes
|