A CLI for tangled.sh
at main 301 B view raw
1package pr 2 3import "github.com/spf13/cobra" 4 5func Command() *cobra.Command { 6 pr := &cobra.Command{ 7 Use: "pr", 8 Short: "Interact with PRs", 9 Run: func(cmd *cobra.Command, args []string) { 10 cmd.Usage() 11 }, 12 } 13 14 pr.AddCommand(&cobra.Command{ 15 Use: "create", 16 RunE: Create, 17 }) 18 19 return pr 20}