packagecli

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package packagecli provides CLI commands for managing Zarf packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDisassembleCommand

func NewDisassembleCommand(streams iostreams.IOStreams) *cobra.Command

NewDisassembleCommand creates the package disassemble command.

func NewModCommand

func NewModCommand(streams iostreams.IOStreams) *cobra.Command

NewModCommand creates the package modification parent command.

func NewPackageCommand

func NewPackageCommand(streams iostreams.IOStreams) *cobra.Command

NewPackageCommand creates the package parent command.

func NewReassembleCommand

func NewReassembleCommand(streams iostreams.IOStreams) *cobra.Command

NewReassembleCommand creates the package reassemble command.

Types

type DisassembleOptions

type DisassembleOptions struct {
	modify.Options
	LogLevelName string

	iostreams.IOStreams
}

DisassembleOptions holds options for package disassembly.

func NewDisassembleOptions

func NewDisassembleOptions(streams iostreams.IOStreams) *DisassembleOptions

NewDisassembleOptions returns package disassembly options.

func (*DisassembleOptions) Complete

func (o *DisassembleOptions) Complete(cmd *cobra.Command, args []string) error

Complete fills options from command-line arguments and flags.

func (*DisassembleOptions) Run

Run disassembles the source package and prints its result as text.

type ReassembleOptions

type ReassembleOptions struct {
	modify.ReassembleOptions
	LogLevelName string

	iostreams.IOStreams
}

ReassembleOptions holds options for package reassembly.

func NewReassembleOptions

func NewReassembleOptions(streams iostreams.IOStreams) *ReassembleOptions

NewReassembleOptions returns package reassembly options.

func (*ReassembleOptions) Complete

func (o *ReassembleOptions) Complete(cmd *cobra.Command, args []string) error

Complete fills options from command-line arguments and flags.

func (*ReassembleOptions) Run

func (o *ReassembleOptions) Run(ctx context.Context) error

Run reassembles the source directory and prints its result as text.

Jump to

Keyboard shortcuts

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