added pr count string before printing PRs

This commit is contained in:
UmairShahzad 2020-02-14 14:15:07 +05:00
parent 96dc4376a1
commit de77e78ef5

View file

@ -206,6 +206,9 @@ func prList(cmd *cobra.Command, args []string) error {
printMessage(colorErr, msg)
return nil
}
prCountMsg := fmt.Sprintf("%d pull requests match your search\n", len(prs))
printMessage(colorableErr(cmd), prCountMsg)
table := utils.NewTablePrinter(cmd.OutOrStdout())
for _, pr := range prs {