1 Star 0 Fork 1

yss930819/gf-ex

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
flag_no_logo.go 376 Bytes
一键复制 编辑 原始数据 按行查看 历史
package yscmd
const FLAG_NO_LOGO_LONG = "no-logo"
type FlagNoLogoBuilder struct {
FlagBuilderCore
}
func (f *FlagNoLogoBuilder) Init(...string) {
f.F = NewDefaultFlag()
f.F.Long = FLAG_NO_LOGO_LONG
f.F.Description = `
是否不显示logo`
f.F.DefaultValue = false
}
func FlagNoLogo() *Flag {
build := FlagNoWaitBuilder{}
build.Init()
return build.Flag()
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/kmyss/gf-ex.git
git@gitee.com:kmyss/gf-ex.git
kmyss
gf-ex
gf-ex
v0.7.0

搜索帮助