isheld

package
v0.0.0-...-3a64406 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cli.Command{
	Name:  "is-held",
	Usage: "Prints `true' if changelog should be held, `false' otherwise.",
	Flags: []cli.Flag{
		&cli.BoolFlag{
			Name:    failFlag,
			EnvVars: common.EnvFor(failFlag),
			Usage:   "If set, command will exit with a code of 1 if changelog should be held.",
			Value:   false,
		},
	},
	Action: IsHeld,
}

Cmd is the cli.Command object for the is-held command.

Functions

func IsHeld

func IsHeld(cCtx *cli.Context) error

IsHeld is a command function which loads a changelog.yaml file from this, and prints to stdout whether it has the Held flag set to true.

Types

This section is empty.

Jump to

Keyboard shortcuts

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