fix: missing flag

main
sudo pacman -Syu 2022-09-04 23:30:16 +07:00
parent 7840343cd4
commit 74bbc8c933
No known key found for this signature in database
GPG Key ID: D6CB5C6C567C47B0
3 changed files with 15 additions and 1 deletions

3
.gitignore vendored
View File

@ -16,3 +16,6 @@ vendor
# GoReleaser
dist
# Binary
changeloguru-dev

View File

@ -1,4 +1,4 @@
.PHONY: all test test-color coverage coverage-cli coverate-html lint
.PHONY: all test test-color coverage coverage-cli coverate-html lint build
all: test-color lint
go mod tidy
@ -21,3 +21,6 @@ coverage-html: coverage
lint:
golangci-lint run ./...
build:
go build -o changeloguru-dev ./cmd/changeloguru

View File

@ -129,6 +129,14 @@ func NewApp() *App {
Name: flagAutoGitCommitName,
Usage: flagAutoGitCommitUsage,
},
&cli.BoolFlag{
Name: flagAutoGitTagName,
Usage: flagAutoGitTagUsage,
},
&cli.BoolFlag{
Name: flagAutoGitPushName,
Usage: flagAutoGitPushUsage,
},
},
Action: a.RunGenerate,
},