cmd

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2026 License: BSD-2-Clause Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type AppConfig

type AppConfig struct {
	Timer                timer.TimerConfig
	CustomCss            string `mapstructure:"custom-css,omitempty"`
	Activitywatch        bool   `mapstructure:"activitywatch,omitempty"`
	NoWebgui             bool   `mapstructure:"no-webgui,omitempty"`
	NoOpenBrowser        bool   `mapstructure:"no-open-browser,omitempty"`
	ExecStart            string `mapstructure:"exec-start,omitempty"`
	ExecEnd              string `mapstructure:"exec-end,omitempty"`
	ExecPause            string `mapstructure:"exec-pause,omitempty"`
	HttpAddress          string `mapstructure:"http-address,omitempty"`
	TcpAddress           string `mapstructure:"tcp-address,omitempty"`
	Fifo                 string `mapstructure:"fifo,omitempty"`
	Loglevel             string `mapstructure:"loglevel,omitempty"`
	Certfile             string `mapstructure:"certfile,omitempty"`
	Keyfile              string `mapstructure:"keyfile,omitempty"`
	Statefile            string `mapstructure:"statefile,omitempty"`
	NtfyAddress          string `mapstructure:"ntfy-address,omitempty"`
	NtfyAuth             string `mapstructure:"ntfy-auth,omitempty"`
	StatefileKeepUpdated bool   `mapstructure:"statefile-keep-updated,omitempty"`
	Version              bool   `mapstructure:"version,omitempty"`
	Help                 bool   `mapstructure:"help,omitempty"`
	Mpris                bool   `mapstructure:"mpris,omitempty"`
	MprisNoInstance      bool   `mapstructure:"mpris-no-instance,omitempty"`
	// contains filtered or unexported fields
}

type LogLevel added in v0.4.0

type LogLevel slog.Level

func (*LogLevel) Set added in v0.4.0

func (level *LogLevel) Set(v string) error

func (*LogLevel) String added in v0.6.0

func (level *LogLevel) String() string

func (*LogLevel) Type added in v0.6.0

func (level *LogLevel) Type() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL