diff options
| author | nsfisis <nsfisis@gmail.com> | 2023-02-28 00:44:43 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2023-03-05 22:44:21 +0900 |
| commit | 78e9c28b70429145b09bca73aac9d9916a7b65cb (patch) | |
| tree | d8e6a17e5b653b6a66a2545b812ea95aca1dccc5 /cmd/root.go | |
| parent | d288579fcc1876b2ae5c1ab570ab4f50491558b9 (diff) | |
| download | term-clock-78e9c28b70429145b09bca73aac9d9916a7b65cb.tar.gz term-clock-78e9c28b70429145b09bca73aac9d9916a7b65cb.tar.zst term-clock-78e9c28b70429145b09bca73aac9d9916a7b65cb.zip | |
initial implementation
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() +} |
