2 Star 0 Fork 1

Plato / idl2lang

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
cmd.go 508 Bytes
一键复制 编辑 原始数据 按行查看 历史
CloudGuan 提交于 2022-03-05 01:06 . update: idl2lang impl
package scli
type (
//Cmd is box's command line parser
Cmd interface {
//Init will construct command line parser with options
Init(options ...Option) error
//Parse will parse so.args
Parse([]string) error
//GetString will get string flag from cli context
GetString(string) string
//GetBool will get bool flag from cli context
GetBool(string) bool
//GetNumber will get number flag from cli context
GetNumber(string) int
}
)
func NewCmd(opts ...Option) Cmd {
return newCmd(opts...)
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/dennis-kk/idl2lang.git
git@gitee.com:dennis-kk/idl2lang.git
dennis-kk
idl2lang
idl2lang
v0.2.1

搜索帮助

344bd9b3 5694891 D2dac590 5694891