cli

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package cli provides command-line interfaces for bundle operations

Package cli provides command-line interfaces for bundle operations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunOfflineBundleCLI

func RunOfflineBundleCLI()

RunOfflineBundleCLI runs the offline bundle CLI

Types

type OfflineBundleCLI

type OfflineBundleCLI struct {
	// Creator is the offline bundle creator
	Creator *bundle.OfflineBundleCreator
	// RootCmd is the root command for the CLI
	RootCmd *cobra.Command
	// Output is the output writer
	Output io.Writer
	// KeyPath is the path to the signing key
	KeyPath string
	// AuditTrailManager is the audit trail manager
	AuditTrailManager *trail.AuditTrailManager
}

OfflineBundleCLI provides a command-line interface for offline bundle operations

func NewOfflineBundleCLI

func NewOfflineBundleCLI(output io.Writer, auditTrailManager *trail.AuditTrailManager) *OfflineBundleCLI

NewOfflineBundleCLI creates a new offline bundle CLI

func (*OfflineBundleCLI) Execute

func (c *OfflineBundleCLI) Execute() error

Execute executes the root command

Jump to

Keyboard shortcuts

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