manly
v0.4.1
manly 是对手册页的赞美。
它很像explainshell(别担心,那是explain-shell,而不是explains-hell)。
你的好朋友在他的点文件中有一个时髦的别名: alias alert="notify-send -i terminal -t 5 'Alert from Terminal!'"
:
$ manly notify-send -it
notify-send - a program to send desktop notifications
=====================================================
-t, --expire-time=TIME
The duration, in milliseconds, for the notification to appear on screen.
(Ubuntu's Notify OSD and GNOME Shell both ignore this parameter.)
-i, --icon=ICON[,ICON...]
Specifies an icon filename or stock icon to display.
又短又甜!
manly 支持 Python 2 和 3
$ pip install manly
非官方的 Arch 用户存储库由 mpolidori 维护,网址为 https://aur.archlinux.org/packages/manly/。
欢迎提出想法、贡献和其他一切!
$ git clone https://github.com/carlbordum/manly
$ cd manly
$ python -m venv manlyenv
$ . manlyenv/bin/activate
$ python manly.py
确保在发送 Pull 请求之前在本地进行测试,使用:
$ pip install pytest
$ py.test