cmd

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: AGPL-3.0 Imports: 34 Imported by: 0

Documentation

Overview

Package cmd builds the privasys CLI command tree.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Commit  = "none"
	Date    = "unknown"
)

Build version, injected via -ldflags at release time.

Functions

func Execute

func Execute()

Execute runs the CLI.

func NewRoot

func NewRoot() *cobra.Command

NewRoot builds the root command.

Types

type Env

type Env struct {
	File    *config.File
	Cfg     *config.Configuration
	Format  string
	NoInput bool
	Quiet   bool
}

Env is the resolved per-invocation context: the active configuration with flag/env overrides applied.

Jump to

Keyboard shortcuts

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