🔖 set version

Closes #4
This commit is contained in:
James Walker 2020-12-29 19:59:08 -05:00
parent 113c97c0df
commit aa051de6d9
Signed by: walkah
GPG Key ID: 3C127179D6086E93

View File

@ -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")