交互式和命令行程序的框架。
InteractiveCommandLine的Python项目详细描述
不要使用这个库:click库要好得多。 我不会修复库中的任何内容,我正在将自己的项目迁移到click。
InteractiveCommandLine是一个Python(2.7+和3.3+)框架,用于git风格的命令行界面 (主程序、命令、子命令)和类shell接口,带提示。
它是根据MIT license授权的。 在Python package index上有售, 它的documentation is hosted by Python 它的源代码在GitHub上。
快速启动
从pypi安装:
$ pip install InteractiveCommandLine
导入:
>>> from InteractiveCommandLine import *
@TODOC快速启动