命令行成就-让命令行再次充满乐趣!γ
CLAchievements的Python项目详细描述
命令行在50年前被发明的时候是非常有趣的,但是它已经不能与现代的界面、发光的窗口、闪亮的按钮等等竞争了……命令行的成就(后来缩写为clachievements或cla)旨在通过让命令行再次变得有趣来解决这个问题!受视频游戏成就的启发,当用户满足满足条件时,它会解锁成就。
有什么新消息?
下载、安装、启用
这是安装和启用clachieves的快速指南。有关更多信息,请参见文档的installation page。
安装:
pip install clachievements[pgi]
enable:在您要使用clachievements的每个shell中,或者在您的.bahsrc:
$(clachievements alias)
进度
使用clachievements report:
显示进度✘ Always give credit: Run `ls` with names of `ls` authors as options. ✔ Coin flipping: Use `head` and `tail` at least 100 times (combined). (unlocked on 2016-10-17 22:03:34.815846) ✘ H4x0r: Mess with CLA data files. ✘ Know it all: Run a command with 10 options or more, without errors. ✘ Liar: Use `true` and `false`. ✘ List all the things!: Run `ls -R /` and wait for it to finish. ✔ Lost: Use `pwd` more than 50 times. (unlocked on 2016-10-17 22:03:33.670310) ✘ Maker: Use all commands starting with `mk`. ✘ Philosopher: Use `whoami` more than 10 times. ✘ Self reference: Run a binary on itself. ✔ So it begins: Get Command Line Achievements up and running. (unlocked on 2016-10-15 00:18:36.097743) ✘ Something to hide: Use `shred` more than 10 times. ✔ Sound Of Silence: Run a command with both "--verbose" and "--quiet" options. (unlocked on 2016-10-17 22:02:57.448414) ✘ The End: Unlock every achievement. ✔ There is more than one way to do it: Run `ls .`. (unlocked on 2016-10-17 22:02:37.680371) ✘ When credit is due: Run `ls` with names of `CLAchievements` author as options. ------------- 31% completed
有关clachievements二进制文件的详细信息,请参见the documentation。
文档
编译后的文档可在readthedocs
要从源代码编译它,请下载并运行:
cd doc && make html