Versions in this module Expand all Collapse all v0 v0.0.0 Mar 25, 2023 Changes in this version + func NewTemplate() (*template.Template, error) + func RootRun(_ *cobra.Command, args []string, flags RootFlags) error + type Command struct + Aliases []string + Args string + Commands []Command + Example string + Flags bool + Fullname string + IsRoot bool + Long string + Meta meta + Name string + NoRun bool + PersistentPostRun bool + PersistentPreRun bool + PostRun bool + PreRun bool + Short string + Use string + func ParseCommand(file string) (*Command, error) + func (c *Command) Configure(pkg, imp string) + func (c *Command) ForAll(f func(*Command)) + type RootFlags struct + Import string + OutputFile string + Package string + StubsFile string + func (f *RootFlags) Bind(cmd *cobra.Command)