Skip to content

Commit

Permalink
docs: add doc for --use_pr flag
Browse files Browse the repository at this point in the history
  • Loading branch information
HandOfGod94 committed Nov 18, 2023
1 parent 4e590e2 commit d00b24f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ gh-jira-changelog generate --config="<path-to-config-file>.yaml" --from="v0.1.0"
# Using it as GH plugin
# assuming jira plugin installed
gh jira-changelog generate --config="<path-to-config-file>.yaml" --from="v0.1.0" --to="v0.2.0"`,
gh jira-changelog generate --config="<path-to-config-file>.yaml" --from="v0.1.0" --to="v0.2.0"
# using PR titles to generate changelog
gh jira-changelog generate --config="<path-to-config-file>.yaml" --from="v0.1.0" --to="v0.2.0" --use_pr`,
PreRunE: func(cmd *cobra.Command, args []string) error {
apiToken := viper.GetString("api_token")
emailID := viper.GetString("email_id")
Expand Down

0 comments on commit d00b24f

Please sign in to comment.