exec

package
v0.99.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package exec provides the ability to execute a command using Terragrunt, via the `terragrunt exec -- command_name` command.

Index

Constants

View Source
const (
	CommandName = "exec"

	InDownloadDirFlagName = "in-download-dir"
	TFPathFlagName        = "tf-path"
)

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(l log.Logger, opts *options.TerragruntOptions) *clihelper.Command

func NewFlags

func NewFlags(l log.Logger, opts *options.TerragruntOptions, cmdOpts *Options, prefix flags.Prefix) clihelper.Flags

func Run

func Run(ctx context.Context, l log.Logger, opts *options.TerragruntOptions, cmdOpts *Options, args clihelper.Args) error

Types

type Options

type Options struct {
	// InDownloadDir determines whether the command should execute in the download directory
	// rather than the working directory.
	InDownloadDir bool
}

func NewOptions

func NewOptions() *Options

Jump to

Keyboard shortcuts

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