aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/root.go
blob: d0f9713cc8f386d2454caf14b1c0e076e298322b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package cmd

import (
	"github.com/spf13/cobra"
)

var rootCmd = &cobra.Command{
	Use:   "term-clock",
	Short: "A clock on your terminal",
}

func init() {
	rootCmd.AddCommand(clockCmd)
}

func Execute() error {
	return rootCmd.Execute()
}