plan

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Overview

Package plan implements the deployah plan command.

Register adds the command to a nabat.dev/nabat.App. It writes a semantic plan for the environment and does not apply anything.

Index

Constants

This section is empty.

Variables

View Source
var ErrChangesPresent = errors.New("plan has pending effects")

ErrChangesPresent means --detailed-exitcode found effects. The root command maps it to exit code 2 and prints no banner.

Functions

func Register

func Register(app *nabat.App)

Register adds the plan command to app.

Types

type Options

type Options struct {
	Environment      string `nabat:"environment"`
	ShowSecrets      bool   `nabat:"show-secrets"`
	OutputFormat     string `nabat:"output"`
	DetailedExitCode bool   `nabat:"detailed-exitcode"`
}

Options holds command-line flags for plan.

Jump to

Keyboard shortcuts

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