Skip to content

Commit

Permalink
Merge pull request #2519 from carapace-sh/gh-updates-v2.55.0
Browse files Browse the repository at this point in the history
gh: updates from v2.55.0
  • Loading branch information
rsteube authored Aug 28, 2024
2 parents f6a2b91 + a2c1861 commit 55ad98d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions completers/gh_completer/cmd/issue_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ func init() {
issue_createCmd.Flags().StringSliceP("assignee", "a", []string{}, "Assign people by their `login`. Use \"@me\" to self-assign.")
issue_createCmd.Flags().StringP("body", "b", "", "Supply a body. Will prompt for one otherwise.")
issue_createCmd.Flags().StringP("body-file", "F", "", "Read body text from `file` (use \"-\" to read from standard input)")
issue_createCmd.Flags().BoolP("editor", "e", false, "Skip prompts and open the text editor to write the title and body in. The first line is the title and the rest text is the body.")
issue_createCmd.Flags().BoolP("editor", "e", false, "Skip prompts and open the text editor to write the title and body in. The first line is the title and the remaining text is the body.")
issue_createCmd.Flags().StringSliceP("label", "l", []string{}, "Add labels by `name`")
issue_createCmd.Flags().StringP("milestone", "m", "", "Add the issue to a milestone by `name`")
issue_createCmd.Flags().StringSliceP("project", "p", []string{}, "Add the issue to projects by `name`")
issue_createCmd.Flags().StringSliceP("project", "p", []string{}, "Add the issue to projects by `title`")
issue_createCmd.Flags().String("recover", "", "Recover input from a failed run of create")
issue_createCmd.Flags().StringP("template", "T", "", "Template `file` to use as starting body text")
issue_createCmd.Flags().StringP("title", "t", "", "Supply a title. Will prompt for one otherwise.")
Expand Down
2 changes: 1 addition & 1 deletion completers/gh_completer/cmd/issue_develop.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var issue_developCmd = &cobra.Command{
func init() {
carapace.Gen(issue_developCmd).Standalone()

issue_developCmd.Flags().StringP("base", "b", "", "Name of the base branch you want to make your new branch from")
issue_developCmd.Flags().StringP("base", "b", "", "Name of the remote branch you want to make your new branch from")
issue_developCmd.Flags().String("branch-repo", "", "Name or URL of the repository where you want to create your new branch")
issue_developCmd.Flags().BoolP("checkout", "c", false, "Checkout the branch after creating it")
issue_developCmd.Flags().StringP("issue-repo", "i", "", "Name or URL of the issue's repository")
Expand Down
3 changes: 2 additions & 1 deletion completers/gh_completer/cmd/pr_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ func init() {
pr_createCmd.Flags().StringP("body-file", "F", "", "Read body text from `file` (use \"-\" to read from standard input)")
pr_createCmd.Flags().BoolP("draft", "d", false, "Mark pull request as a draft")
pr_createCmd.Flags().Bool("dry-run", false, "Print details instead of creating the PR. May still push git changes.")
pr_createCmd.Flags().BoolP("editor", "e", false, "Skip prompts and open the text editor to write the title and body in. The first line is the title and the remaining text is the body.")
pr_createCmd.Flags().BoolP("fill", "f", false, "Use commit info for title and body")
pr_createCmd.Flags().Bool("fill-first", false, "Use first commit info for title and body")
pr_createCmd.Flags().Bool("fill-verbose", false, "Use commits msg+body for description")
pr_createCmd.Flags().StringP("head", "H", "", "The `branch` that contains commits for your pull request (default [current branch])")
pr_createCmd.Flags().StringSliceP("label", "l", []string{}, "Add labels by `name`")
pr_createCmd.Flags().StringP("milestone", "m", "", "Add the pull request to a milestone by `name`")
pr_createCmd.Flags().Bool("no-maintainer-edit", false, "Disable maintainer's ability to modify pull request")
pr_createCmd.Flags().StringSliceP("project", "p", []string{}, "Add the pull request to projects by `name`")
pr_createCmd.Flags().StringSliceP("project", "p", []string{}, "Add the pull request to projects by `title`")
pr_createCmd.Flags().String("recover", "", "Recover input from a failed run of create")
pr_createCmd.Flags().StringSliceP("reviewer", "r", []string{}, "Request reviews from people or teams by their `handle`")
pr_createCmd.Flags().StringP("template", "T", "", "Template `file` to use as starting body text")
Expand Down
4 changes: 2 additions & 2 deletions completers/gh_completer/cmd/pr_edit.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func init() {

pr_editCmd.Flags().StringSlice("add-assignee", []string{}, "Add assigned users by their `login`. Use \"@me\" to assign yourself.")
pr_editCmd.Flags().StringSlice("add-label", []string{}, "Add labels by `name`")
pr_editCmd.Flags().StringSlice("add-project", []string{}, "Add the pull request to projects by `name`")
pr_editCmd.Flags().StringSlice("add-project", []string{}, "Add the pull request to projects by `title`")
pr_editCmd.Flags().StringSlice("add-reviewer", []string{}, "Add reviewers by their `login`.")
pr_editCmd.Flags().StringP("base", "B", "", "Change the base `branch` for this pull request")
pr_editCmd.Flags().StringP("body", "b", "", "Set the new body.")
Expand All @@ -27,7 +27,7 @@ func init() {
pr_editCmd.Flags().StringSlice("remove-assignee", []string{}, "Remove assigned users by their `login`. Use \"@me\" to unassign yourself.")
pr_editCmd.Flags().StringSlice("remove-label", []string{}, "Remove labels by `name`")
pr_editCmd.Flags().Bool("remove-milestone", false, "Remove the milestone association from the pull request")
pr_editCmd.Flags().StringSlice("remove-project", []string{}, "Remove the pull request from projects by `name`")
pr_editCmd.Flags().StringSlice("remove-project", []string{}, "Remove the pull request from projects by `title`")
pr_editCmd.Flags().StringSlice("remove-reviewer", []string{}, "Remove reviewers by their `login`.")
pr_editCmd.Flags().StringP("title", "t", "", "Set the new title.")
prCmd.AddCommand(pr_editCmd)
Expand Down
2 changes: 1 addition & 1 deletion completers/gh_completer/cmd/search_issues.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func init() {
search_issuesCmd.Flags().Bool("no-project", false, "Filter on missing project")
search_issuesCmd.Flags().String("order", "", "Order of results returned, ignored unless '--sort' flag is specified: {asc|desc}")
search_issuesCmd.Flags().StringSlice("owner", []string{}, "Filter on repository owner")
search_issuesCmd.Flags().String("project", "", "Filter on project board `number`")
search_issuesCmd.Flags().String("project", "", "Filter on project board `owner/number`")
search_issuesCmd.Flags().String("reactions", "", "Filter on `number` of reactions")
search_issuesCmd.Flags().StringSliceP("repo", "R", []string{}, "Filter on repository")
search_issuesCmd.Flags().String("sort", "", "Sort fetched results: {comments|created|interactions|reactions|reactions-+1|reactions--1|reactions-heart|reactions-smile|reactions-tada|reactions-thinking_face|updated}")
Expand Down
2 changes: 1 addition & 1 deletion completers/gh_completer/cmd/search_prs.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func init() {
search_prsCmd.Flags().Bool("no-project", false, "Filter on missing project")
search_prsCmd.Flags().String("order", "", "Order of results returned, ignored unless '--sort' flag is specified: {asc|desc}")
search_prsCmd.Flags().StringSlice("owner", []string{}, "Filter on repository owner")
search_prsCmd.Flags().String("project", "", "Filter on project board `number`")
search_prsCmd.Flags().String("project", "", "Filter on project board `owner/number`")
search_prsCmd.Flags().String("reactions", "", "Filter on `number` of reactions")
search_prsCmd.Flags().StringSliceP("repo", "R", []string{}, "Filter on repository")
search_prsCmd.Flags().String("review", "", "Filter based on review status: {none|required|approved|changes_requested}")
Expand Down

0 comments on commit 55ad98d

Please sign in to comment.