cmd

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package cmd provides the command-line interface for pvtr. It defines the root command and all subcommands, handles configuration, and manages the execution flow of the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI added in v0.18.1

type CLI struct {
	// contains filtered or unexported fields
}

CLI holds the shared dependencies for all pvtr commands.

func NewCLI added in v0.18.1

func NewCLI(version, commitHash, builtAt string) *CLI

NewCLI creates a CLI instance with the given build metadata and registers all subcommands.

func (*CLI) Execute added in v0.18.1

func (c *CLI) Execute()

Execute runs the root command. This is called by main.main().

Jump to

Keyboard shortcuts

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