Versions in this module Expand all Collapse all v0 v0.1.0 Oct 29, 2022 Changes in this version + var ErrInvalidArgs = errors.New("invalid args") + var ErrInvalidCommand = errors.New("no such command") + var ErrNoCommand = errors.New("no command given") + type Command interface + Run func(args []string) error + type Gen struct + func NewGen(cfgService config.Service) *Gen + func (g *Gen) Run(args []string) error + type Manager struct + func NewManager(commands map[string]Command) *Manager + func (m *Manager) Run(args []string) error