mirror of
https://github.com/thegeeklab/git-sv.git
synced 2024-06-03 03:49:39 +02:00
refactor: add alias on release-notes and commit-log flags
This commit is contained in:
parent
851dcb91d2
commit
11e40b68ee
|
@ -41,14 +41,14 @@ func main() {
|
|||
Aliases: []string{"cl"},
|
||||
Usage: "list all commit logs since last version as jsons",
|
||||
Action: commitLogHandler(git, semverProcessor),
|
||||
Flags: []cli.Flag{&cli.StringFlag{Name: "t", Usage: "get commit log from tag"}},
|
||||
Flags: []cli.Flag{&cli.StringFlag{Name: "t", Aliases: []string{"tag"}, Usage: "get commit log from tag"}},
|
||||
},
|
||||
{
|
||||
Name: "release-notes",
|
||||
Aliases: []string{"rn"},
|
||||
Usage: "generate release notes",
|
||||
Action: releaseNotesHandler(git, semverProcessor, releasenotesProcessor, outputFormatter),
|
||||
Flags: []cli.Flag{&cli.StringFlag{Name: "t", Usage: "get release note from tag"}},
|
||||
Flags: []cli.Flag{&cli.StringFlag{Name: "t", Aliases: []string{"tag"}, Usage: "get release note from tag"}},
|
||||
},
|
||||
{
|
||||
Name: "tag",
|
||||
|
|
Loading…
Reference in New Issue
Block a user