You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: completers/common/but_completer/cmd/pr_new.go
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,18 @@ import (
8
8
9
9
varpr_newCmd=&cobra.Command{
10
10
Use: "new",
11
-
Short: "Create a new pull request for a branch. If no branch is specified, you will be prompted to select one. If there is only one branch without a PR, you will be asked to confirm",
11
+
Short: "Create a new review for a branch. If no branch is specified, you will be prompted to select one. If there is only one branch without a review, you will be asked to confirm",
12
12
Run: func(cmd*cobra.Command, args []string) {},
13
13
}
14
14
15
15
funcinit() {
16
16
carapace.Gen(pr_newCmd).Standalone()
17
17
18
-
pr_newCmd.Flags().BoolP("default", "t", false, "Use the default content for the PR title and description, skipping any prompts. If the branch contains only a single commit, the commit message will be used")
19
-
pr_newCmd.Flags().StringP("file", "F", "", "Read PR title and description from file. The first line is the title, the rest is the description")
18
+
pr_newCmd.Flags().BoolP("default", "t", false, "Use the default content for the review title and description, skipping any prompts. If the branch contains only a single commit, the commit message will be used")
19
+
pr_newCmd.Flags().BoolP("draft", "d", false, "Whether to create reviews as a draft")
20
+
pr_newCmd.Flags().StringP("file", "F", "", "Read review title and description from file. The first line is the title, the rest is the description")
20
21
pr_newCmd.Flags().BoolP("help", "h", false, "Print help (see more with '--help')")
21
-
pr_newCmd.Flags().StringP("message", "m", "", "PR title and description. The first line is the title, the rest is the description")
22
+
pr_newCmd.Flags().StringP("message", "m", "", "review title and description. The first line is the title, the rest is the description")
22
23
pr_newCmd.Flags().BoolP("run-hooks", "r", false, "Run pre-push hooks (defaults to true)")
23
24
pr_newCmd.Flags().BoolP("skip-force-push-protection", "s", false, "Skip force push protection checks")
24
25
pr_newCmd.Flags().BoolP("with-force", "f", false, "Force push even if it's not fast-forward (defaults to true)")
Copy file name to clipboardExpand all lines: completers/common/but_completer/cmd/pr_template.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ import (
8
8
9
9
varpr_templateCmd=&cobra.Command{
10
10
Use: "template",
11
-
Short: "Configure the template to use for PR descriptions. This will list all available templates found in the repository and allow you to select one",
11
+
Short: "Configure the template to use for review descriptions. This will list all available templates found in the repository and allow you to select one",
0 commit comments