isempty

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 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-empty",
	Usage: "Outputs whether automated releases are not needed since changelog is empty",
	Flags: []cli.Flag{
		&cli.BoolFlag{
			Name:    failFlag,
			EnvVars: common.EnvFor(failFlag),
			Usage:   "If set, command will exit with a code of 1 if changelog is empty.",
			Value:   false,
		},
	}, Action: IsEmpty,
}

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

Functions

func IsEmpty

func IsEmpty(cCtx *cli.Context) error

IsEmpty is a command function which loads a changelog.yaml file, and prints to stdout whether it is empty or not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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