"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pkg/cmd/pr/list/list.go" between
gh-cli-1.11.0.tar.gz and gh-cli-1.12.0.tar.gz

About: GitHub CLI is GitHub’s official command line tool.

list.go  (gh-cli-1.11.0):list.go  (gh-cli-1.12.0)
skipping to change at line 87 skipping to change at line 87
if runF != nil { if runF != nil {
return runF(opts) return runF(opts)
} }
return listRun(opts) return listRun(opts)
}, },
} }
cmd.Flags().BoolVarP(&opts.WebMode, "web", "w", false, "Open the browser to list the pull requests") cmd.Flags().BoolVarP(&opts.WebMode, "web", "w", false, "Open the browser to list the pull requests")
cmd.Flags().IntVarP(&opts.LimitResults, "limit", "L", 30, "Maximum number of items to fetch") cmd.Flags().IntVarP(&opts.LimitResults, "limit", "L", 30, "Maximum number of items to fetch")
cmd.Flags().StringVarP(&opts.State, "state", "s", "open", "Filter by stat e: {open|closed|merged|all}") cmd.Flags().StringVarP(&opts.State, "state", "s", "open", "Filter by stat e: {open|closed|merged|all}")
_ = cmd.RegisterFlagCompletionFunc("state", func(cmd *cobra.Command, args
[]string, toComplete string) ([]string, cobra.ShellCompDirective) {
return []string{"open", "closed", "merged", "all"}, cobra.ShellCo
mpDirectiveNoSpace
})
cmd.Flags().StringVarP(&opts.BaseBranch, "base", "B", "", "Filter by base branch") cmd.Flags().StringVarP(&opts.BaseBranch, "base", "B", "", "Filter by base branch")
cmd.Flags().StringSliceVarP(&opts.Labels, "label", "l", nil, "Filter by l abels") cmd.Flags().StringSliceVarP(&opts.Labels, "label", "l", nil, "Filter by l abels")
cmd.Flags().StringVarP(&opts.Author, "author", "A", "", "Filter by author ") cmd.Flags().StringVarP(&opts.Author, "author", "A", "", "Filter by author ")
cmd.Flags().StringVarP(&opts.Assignee, "assignee", "a", "", "Filter by as signee") cmd.Flags().StringVarP(&opts.Assignee, "assignee", "a", "", "Filter by as signee")
cmd.Flags().StringVarP(&opts.Search, "search", "S", "", "Search pull requ ests with `query`") cmd.Flags().StringVarP(&opts.Search, "search", "S", "", "Search pull requ ests with `query`")
cmdutil.AddJSONFlags(cmd, &opts.Exporter, api.PullRequestFields) cmdutil.AddJSONFlags(cmd, &opts.Exporter, api.PullRequestFields)
return cmd return cmd
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)