1
0
mirror of https://gitea.com/jolheiser/sip synced 2024-11-26 07:33:48 +01:00
sip/cmd/pulls.go
jolheiser 8958c4a312
Split up funcs, add PR create/status/checkout
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-02-16 23:28:11 -06:00

25 lines
427 B
Go

package cmd
import (
"github.com/urfave/cli/v2"
)
var Pulls = cli.Command{
Name: "pulls",
Aliases: []string{"pull", "pr"},
Usage: "Commands for interacting with pull requests",
Action: doPullsSearch,
Subcommands: []*cli.Command{
&PullsCreate,
&PullsStatus,
&PullsCheckout,
},
}
func doPullsSearch(ctx *cli.Context) error {
if _, err := issuesSearch(ctx, true); err != nil {
return err
}
return nil
}