command

package
v5.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Functions

func CurrentVersion

func CurrentVersion() string

func Run

func Run(args []string) error

Run parses args and dispatches to the appropriate command.

Types

type App

type App struct {
	Store      *config.Store
	Keys       *config.KeyStore
	ConfigPath string
	// contains filtered or unexported fields
}

App holds shared state for all commands.

func NewApp

func NewApp() *App

NewApp creates a new App with the default store.

Jump to

Keyboard shortcuts

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