forked from xonsh/xonsh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
coreutils.py
30 lines (26 loc) · 723 Bytes
/
coreutils.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
"""Additional core utilities that are implemented in xonsh. The current list
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