parent
113c97c0df
commit
aa051de6d9
@ -36,9 +36,10 @@ var cfgFile string
|
|||||||
|
|
||||||
// rootCmd represents the base command when called without any subcommands
|
// rootCmd represents the base command when called without any subcommands
|
||||||
var rootCmd = &cobra.Command{
|
var rootCmd = &cobra.Command{
|
||||||
Use: "workon [project]",
|
Version: "0.1.0",
|
||||||
Short: "Manage tmux sessions",
|
Use: "workon [project]",
|
||||||
Long: "",
|
Short: "Manage tmux sessions",
|
||||||
|
Long: "",
|
||||||
Args: func(cmd *cobra.Command, args []string) error {
|
Args: func(cmd *cobra.Command, args []string) error {
|
||||||
if len(args) < 1 {
|
if len(args) < 1 {
|
||||||
return errors.New("No project or command given")
|
return errors.New("No project or command given")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user