Versions in this module Expand all Collapse all v0 v0.1.0 Jul 24, 2024 v0.0.3 Jul 16, 2024 Changes in this version type App + func (a *App) Init() + func (a *App) MakeToolbar(p *tree.Plan) v0.0.2 Apr 14, 2024 Changes in this version + var AppType = types.AddType(&types.Type{ ... }) + func StructForFlags(flags []*Flag) any + type App struct + Cmd *Cmd + CurCmd string + Dir string + func NewApp(parent tree.Node, name ...string) *App + func (a *App) AppBar(tb *core.Toolbar) + func (a *App) Config() + func (a *App) OnInit() + func (a *App) RunCmd(cmd string, cmds *core.Frame, dir *core.Label) error + func (t *App) New() tree.Node + func (t *App) NodeType() *types.Type + func (t *App) SetCmd(v *Cmd) *App + func (t *App) SetCurCmd(v string) *App + func (t *App) SetDir(v string) *App + func (t *App) SetTooltip(v string) *App + type Cmd struct + Cmd string + Cmds []*Cmd + Doc string + Flags []*Flag + Name string + func NewCmd(cmd string) *Cmd + func (cm *Cmd) GetBlocks() ([]ParseBlock, error) + func (cm *Cmd) GetHelp() (string, error) + func (cm *Cmd) Parse() error + func (cm *Cmd) SetFromBlocks(blocks []ParseBlock) error + type Flag struct + Doc string + Name string + Names []string + Type string + type ParseBlock struct + Doc string + Name string