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
- Host: GitHub
- URL: https://github.com/li-giegie/rabbit-cli
- Owner: Li-giegie
- License: mit
- Created: 2024-08-27T11:14:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-06T18:01:13.000Z (over 1 year ago)
- Last Synced: 2025-06-26T19:47:10.248Z (10 months ago)
- Topics: command-line, command-parser, simple
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rabbit-cli 一个Golang命令行解析的库
### 概述
使用现代化方式对内置flag包进行了整合封装支持:command [subcommand...] [--flag...] [args...]
没有任何默认行为,例如不会为命令默认添加{help、-h、-help...}命令或flag,
细节都需要显示的声明,使用起来非常简洁明了
### 功能
单命令解析
多命令分组解析
交互式解析
### [一个交互式例子](example)