cli

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShowHelp

func ShowHelp()

ShowHelp displays help message and exits

func ShowVersion

func ShowVersion()

ShowVersion displays version information and exits

Types

type Args

type Args struct {
	ConfigPath        string
	ConfigPathSource  string
	LogLevel          types.LogLevel
	DryRun            bool
	ForceCLI          bool
	Support           bool
	SupportGitHubUser string
	SupportIssueID    string
	ShowVersion       bool
	ShowHelp          bool
	Upgrade           bool
	UpgradeAutoYes    bool
	ForceNewKey       bool
	Decrypt           bool
	Restore           bool
	Install           bool
	NewInstall        bool
	UpgradeConfig     bool
	UpgradeConfigDry  bool
	UpgradeConfigJSON bool
	EnvMigration      bool
	EnvMigrationDry   bool
	CleanupGuards     bool
	LegacyEnvPath     string
}

Args holds the parsed command-line arguments

func Parse

func Parse() *Args

Parse parses command-line arguments and returns Args struct

Jump to

Keyboard shortcuts

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