cli

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: MIT Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is set at build time via -ldflags.

Functions

func Execute

func Execute() error

Execute runs the root command.

func GetServePairingManager added in v0.0.14

func GetServePairingManager(server *webserver.ServerV2) *webserver.PairingManager

GetServePairingManager returns the pairing manager from the server for mobile app approval. This is used by the mobile app integration.

func ParsePairingCode added in v0.0.14

func ParsePairingCode(input string) (code, token string, err error)

ParsePairingCode parses a pairing code from user input. It handles both plain codes and "code:token" format.

Types

type HTTPDoer added in v0.0.11

type HTTPDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

HTTPDoer abstracts http.Client for testability.

Jump to

Keyboard shortcuts

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