From aa051de6d9438cc528e81002aa466ee095dee35f Mon Sep 17 00:00:00 2001 From: James Walker Date: Tue, 29 Dec 2020 19:59:08 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20set=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #4 --- cmd/root.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 224a70b..f81e050 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -36,9 +36,10 @@ var cfgFile string // rootCmd represents the base command when called without any subcommands var rootCmd = &cobra.Command{ - Use: "workon [project]", - Short: "Manage tmux sessions", - Long: "", + Version: "0.1.0", + Use: "workon [project]", + Short: "Manage tmux sessions", + Long: "", Args: func(cmd *cobra.Command, args []string) error { if len(args) < 1 { return errors.New("No project or command given")