aboutsummaryrefslogblamecommitdiffstats
path: root/commands/termui.go
blob: 460770a6db709ce03010e4f862bcba0d18fd6b18 (plain) (tree)
1
2
3
4
5
6
7
8







                                                         











                                        
package commands

import (
	"github.com/MichaelMure/git-bug/termui"
	"github.com/spf13/cobra"
)

func runTermUI(cmd *cobra.Command, args []string) error {
	return termui.Run(repo)
}

var termUICmd = &cobra.Command{
	Use:   "termui",
	Short: "Launch the terminal UI",
	RunE:  runTermUI,
}

func init() {
	RootCmd.AddCommand(termUICmd)
}