Beispiel #1
0
func (g *Git) FlaglyInit() {
	// we can set the description via `flagly.SetDesc` or just a field tag `desc:"xxx"`
	flagly.SetDesc(&g.Version, "show version")
}
Beispiel #2
0
func (g *GitClone) FlaglyInit() {
	flagly.SetDesc(&g.Template, "directory from which templates will be used")
}