commands

package
v0.0.0-...-03ca8a1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommand

func AddCommand() *cli.Command

func CheckCommand

func CheckCommand() *cli.Command

func ConfigCommand

func ConfigCommand(cio changeentry.ConfigIO) *cli.Command

ConfigCommand returns the config command. cio abstracts filesystem I/O so that tests can inject a MockConfigIO.

func ConfigModulesSubcommand

func ConfigModulesSubcommand() *cli.Command

ConfigModulesSubcommand returns the modules subcommand for use under config.

func GenerateCommand

func GenerateCommand() *cli.Command

func InitCommand

func InitCommand(cio changeentry.ConfigIO) *cli.Command

InitCommand returns the init command. cio abstracts filesystem I/O so that tests can inject a MockConfigIO.

func LogCommand

func LogCommand() *cli.Command

func ReleaseCommand

func ReleaseCommand() *cli.Command

Types

type ModuleInfo

type ModuleInfo struct {
	Name       string `json:"name"`
	ChangesDir string `json:"changes_dir"` // repo-root-relative, forward slashes
	TagPrefix  string `json:"tag_prefix"`
}

ModuleInfo is the public representation of a resolved module, used for both text and JSON output.

Jump to

Keyboard shortcuts

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