Documentation
¶
Index ¶
- func AddCommand() *cli.Command
- func CheckCommand() *cli.Command
- func ConfigCommand(cio changeentry.ConfigIO) *cli.Command
- func ConfigModulesSubcommand() *cli.Command
- func GenerateCommand() *cli.Command
- func InitCommand(cio changeentry.ConfigIO) *cli.Command
- func LogCommand() *cli.Command
- func ReleaseCommand() *cli.Command
- type ModuleInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommand ¶
func CheckCommand ¶
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 ¶
ConfigModulesSubcommand returns the modules subcommand for use under config.
func GenerateCommand ¶
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 ReleaseCommand ¶
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.
Click to show internal directories.
Click to hide internal directories.