Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ gen-pr "title" "Mieraidihaimu/GeneratePR/issues/1" -e "no need to panic" --fix -

then you can sit back and relex.

To learn more please use `--help` or visit `https://github.com/Mieraidihaimu/GeneratePR`
To learn more please use `gen-pr --help` or visit `https://github.com/Mieraidihaimu/GeneratePR`

## 🌝 Contribute

Expand Down
4 changes: 2 additions & 2 deletions Sources/GeneratePR/CreatePRCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ struct CreatePRCommand: ParsableCommand {
var extra: String?

@Option(name: [.customLong("base-branch"), .customShort("b")], help: "The base branch which the pull requests will be open to, default is main")
var baseBranch: String = "main"
var baseBranch: String = "master"

@Flag(help: "The PR type: is it a feature or bug fix PR?. Default value is feature PR.")
var type: PRType = .feature

@Argument(help: "Linked github issue path. For instance, in issue URL https://github.com/randomX/repoY/issues/1060, the `randomX/repoY/issues/1060` is the issue path")
@Argument(help: "Linked cookpad github issue id. For instance, in issue URL https://github.com/cookpad/product-delivery/issues/1060, the `1060` is the issue id")
var issue: String

@Flag(name: [.customLong("verbose"), .customShort("v")], help: "Show logs, information and non blocking messages.")
Expand Down
4 changes: 2 additions & 2 deletions Sources/GeneratePR/Helper/CommandHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ struct CommandHelper {
"""
# Related links

close https://github.com/%1$@
close https://github.com/cookpad/product-delivery/issues/%1$@

# Why?

Expand All @@ -39,7 +39,7 @@ struct CommandHelper {
"""
# Related links

https://github.com/%1$@
https://github.com/cookpad/product-delivery/issues/%1$@

# Why?

Expand Down