mandoPython 的命令行应用框架
mando 可以让你轻松开发适合人类使用的命令行工具。
示例代码:
from mando import command, main @command def push(repository, all=False, dry_run=False, force=False, thin=False): '''Update remote refs along with associated objects. :param repository: Repository to push to. :param --all: Push all refs. :param -n, --dry-run: Dry run. :param -f, --force: Force updates. :param --thin: Use thin pack.''' print ('Pushing to {0}. All: {1}, dry run: {2}, force: {3}, thin: {4}' .format(repository, all, dry_run, force, thin)) if __name__ == '__main__': main()
评论
VorpalNode 命令行应用框架
Vorpal是一个Node用来构建CLI命令行应用的框架。提供简单但强大的API。功能包括:简单强大的命令创建支持可选参数、必选参数和可变参数管道命令可持久化保持命令行历史记录内建帮助内建对Tab自动
VorpalNode 命令行应用框架
0
Sharprompt基于交互式命令行的 C# 应用框架
Sharprompt 是一个基于交互式命令行的 C# 应用框架。特性:多平台支持支持流行的提示(In
Sharprompt基于交互式命令行的 C# 应用框架
0
Sharprompt基于交互式命令行的 C# 应用框架
Sharprompt是一个基于交互式命令行的C#应用框架。特性:多平台支持支持流行的提示(Input/ Password/ Select/等)支持基于模型的提示(预览中)输入值的验证使用枚举值自动生成
Sharprompt基于交互式命令行的 C# 应用框架
0
CommanderRuby 命令行框架
Commander是Ruby命令行执行补全解决方案。安装:$ gem install commander代码示例:require 'rubygems'require 'commander/import
CommanderRuby 命令行框架
0