globals

package
v0.8.1-dryrun.28 Latest Latest
Warning

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

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

Documentation

Overview

Package globals provides access to global CLI flags and state. These are set by the root command and can be read by subcommands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DryRun

func DryRun() bool

DryRun returns true if dry-run mode is enabled.

func GHAOutput

func GHAOutput() bool

GHAOutput returns true if GitHub Actions output mode is enabled.

func JSON

func JSON() bool

JSON returns true if JSON output mode is enabled.

func SetDryRun

func SetDryRun(v bool)

SetDryRun sets the dry-run mode flag.

func SetGHAOutput

func SetGHAOutput(v bool)

SetGHAOutput sets the GitHub Actions output mode flag.

func SetJSON

func SetJSON(v bool)

SetJSON sets the JSON output mode flag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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