在关注http://ubuntuforums.org/showthread.php?t=406069之后,我知道了如何制作一个 .deb 文件,该文件会自动将 Python 文件作为可执行文件放置到/usr/bin
目录中。我希望我的程序具有类似“grep”的结构。我应该使用哪些库,以及程序的结构应该是什么。
在图书馆,我必须使用Get::Opt
图书馆吗?
通过“grep 结构”,我的意思是:
program-name func-name -a arg1 --b arg2 should work
man program-name should open the man page
and
program-name should open an in interactive help shell...