extract

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package extract provides the polymorphic top-level `extract` command verb, with subcommands for extracting files from different scafctl artifact kinds.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandExtract

func CommandExtract(cliParams *settings.Run, ioStreams *terminal.IOStreams, binaryName string) *cobra.Command

CommandExtract creates the top-level `extract` command group. It is a polymorphic verb whose subcommands extract files from different scafctl artifact kinds.

func CommandExtractBundle

func CommandExtractBundle(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command

CommandExtractBundle creates the `extract bundle` subcommand.

Types

type Options

type Options struct {
	BinaryName  string
	ArtifactRef string
	OutputDir   string
	Resolvers   []string
	Actions     []string
	Include     []string
	ListOnly    bool
	Flatten     bool
	CliParams   *settings.Run
	IOStreams   *terminal.IOStreams
}

Options holds options for the extract bundle command.

Jump to

Keyboard shortcuts

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