gime/cmd/ui.go

27 lines
389 B
Go
Raw Normal View History

2022-01-19 18:56:31 +00:00
/*
2022-01-19 21:30:30 +00:00
Copyright © 2022 Brian Buller <brian@bullercodeworks.com>
2022-01-19 18:56:31 +00:00
*/
package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
// uiCmd represents the ui command
var uiCmd = &cobra.Command{
Use: "ui",
2022-01-19 21:30:30 +00:00
Short: "Start gime in TUI mode",
RunE: opUi,
2022-01-19 18:56:31 +00:00
}
func init() {
rootCmd.AddCommand(uiCmd)
2022-01-19 21:30:30 +00:00
}
2022-01-19 18:56:31 +00:00
2022-01-19 21:30:30 +00:00
func opUi(cmd *cobra.Command, args []string) error {
fmt.Println("ui called")
return nil
2022-01-19 18:56:31 +00:00
}