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
Click to show internal directories.
Click to hide internal directories.