cmd

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExitSuccess   = 0
	ExitError     = 1
	ExitUsage     = 2
	ExitNotFound  = 3
	ExitAuthError = 4
)

Variables

View Source
var (
	JSONOutput  bool
	QuietOutput bool
)
View Source
var Version = "dev"

Version is set at build time using -ldflags

Functions

func ColorDisabled

func ColorDisabled() bool

func CurrentVersion added in v0.0.14

func CurrentVersion() string

CurrentVersion returns the running tickli version. It prefers the build-time ldflags value and falls back to the module version recorded in the binary's build info (set automatically for `go install`-ed binaries).

func Execute

func Execute()

func NewInitCommand

func NewInitCommand() *cobra.Command

func NewResetCommand

func NewResetCommand() *cobra.Command

func NewTickliCommand

func NewTickliCommand() *cobra.Command

func NewUpdateCommand added in v0.0.14

func NewUpdateCommand() *cobra.Command

func NewVersionCommand

func NewVersionCommand() *cobra.Command

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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