开发者

What are the best/popular libraries for developing CLI apps/scripts?

Many of the component libraries and toolkits I'm familiar with lack CLI-specific libraries (zend, kohana, etc..). Are there any libraries/tools that are designed specifically for developing CLI application (such as an abstraction of php's multi-开发者_JAVA技巧threading library, pcntl/posix)?


ncurses is compatible with PHP, and is used to develop a wide number of CLI applications in many different languages.

More info: http://devzone.zend.com/article/1083


I've used PEAR package Console_CommandLine and was very satisfied. I may not fulfill all you requirements though, but it's worth giving it a look.

It helps parsing the input (arguments, options, sub-commands, etc...) and build basic functionnalities (usage, version, ...).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜