commands

package
v0.0.0-...-c3b92d1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2014 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Generate = cli.Command{
	Name:   generateCommandName,
	Usage:  "generate the changelog for a version",
	Action: generate,
	Flags: []cli.Flag{
		cli.StringFlag{"version, v", "", "Required. The version to be written to the changelog"},
		cli.StringFlag{"file, f", "CHANGELOG.md", "Which file to read the current changelog from and prepend the new changelog's contents to"},
		cli.StringFlag{"repository, r", "", "If this is provided, allows issues and commit hashes to be linked to the actual commit. Usually used with github repositories"},
		cli.StringFlag{"start, s", "", "Which commit the changelog should start at. By default, uses previous tag, or if no previous tag the first commit"},
		cli.StringFlag{"end, e", "HEAD", "Which commit the changelog should end at. By default, uses HEAD"},
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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