An open API service indexing awesome lists of open source software.

https://github.com/li-giegie/rabbit-cli

一个简洁的命令行解析库.A command-line parsing package
https://github.com/li-giegie/rabbit-cli

command-line command-parser simple

Last synced: 7 months ago
JSON representation

一个简洁的命令行解析库.A command-line parsing package

Awesome Lists containing this project

README

          

# rabbit-cli 一个Golang命令行解析的库

### 概述
使用现代化方式对内置flag包进行了整合封装支持:command [subcommand...] [--flag...] [args...]
没有任何默认行为,例如不会为命令默认添加{help、-h、-help...}命令或flag,
细节都需要显示的声明,使用起来非常简洁明了

### 功能
单命令解析

多命令分组解析

交互式解析

### [一个交互式例子](example)