强壮的
manl的Python项目详细描述
男子气概
男子气概是对男子气概的恭维。
很像explainshell (别担心,那是解释外壳,不是解释地狱)。
你的好朋友在his dotfiles中有一个古怪的别名:
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支持Python2和3
$ pip install manly
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
在发送拉取请求之前,请确保使用以下命令进行本地测试:
$ pip install pytest $ py.test