Versions in this module Expand all Collapse all v0 v0.1.0 Dec 16, 2023 Changes in this version + const AppName + var ErrHelp = errors.New("help requested") + var ErrInvalidConfig = fmt.Errorf("invalid configuration") + var ErrVersion = errors.New("version requested") + func BuildCommit() string + func BuildGoVersion() string + func BuildTime() string + func Version() string + type App struct + func NewApp(opts ...AppOption) (*App, error) + func (a *App) Run(ctx context.Context, args ...string) error + type AppOption func(*App) error + func WithConfig(cfg *config.Config) AppOption + func WithOptions(opts *options) AppOption + func WithOutputWriter(w io.Writer) AppOption + func WithSlogAttrReplacer(f func([]string, slog.Attr) slog.Attr) AppOption + func WithTmux(tm tmux.Runner) AppOption