Versions in this module Expand all Collapse all v0 v0.9.1 Dec 2, 2020 Changes in this version + func WithContext(runner Runner) func(cmd *cobra.Command, args []string) error + type App struct + func NewApp(name, desc string) *App + func (a *App) AddCommands(cmds ...*cobra.Command) + func (a *App) Run() error + type Runner func(ctx context.Context, telemetry Telemetry) error + type Telemetry struct + Flags TelemetryFlags + Logger *zap.Logger + func (t Telemetry) PrometheusMetricsHandler() http.Handler + type TelemetryFlags struct + LogEncoding string + LogLevel string + Metrics bool + Profile bool + ProfileDebugLogging bool + ProfilerCredentialsFile string