diff options
Diffstat (limited to 'cmd/root.go')
| -rw-r--r-- | cmd/root.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cmd/root.go b/cmd/root.go new file mode 100644 index 0000000..d0f9713 --- /dev/null +++ b/cmd/root.go @@ -0,0 +1,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() +} |
