/
add_cmd.go
29 lines (27 loc) · 943 Bytes
/
add_cmd.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package cmd
import (
"github.com/candrewlee14/webman/cmd/add"
"github.com/candrewlee14/webman/cmd/config"
"github.com/candrewlee14/webman/cmd/dev"
"github.com/candrewlee14/webman/cmd/doctor"
"github.com/candrewlee14/webman/cmd/group"
"github.com/candrewlee14/webman/cmd/remove"
"github.com/candrewlee14/webman/cmd/run"
"github.com/candrewlee14/webman/cmd/search"
switchcmd "github.com/candrewlee14/webman/cmd/switch"
"github.com/candrewlee14/webman/cmd/upgrade"
"github.com/candrewlee14/webman/cmd/version"
)
func init() {
rootCmd.AddCommand(add.AddCmd)
rootCmd.AddCommand(config.ConfigCmd)
rootCmd.AddCommand(dev.DevCmd)
rootCmd.AddCommand(doctor.DoctorCmd)
rootCmd.AddCommand(remove.RemoveCmd)
rootCmd.AddCommand(run.RunCmd)
rootCmd.AddCommand(switchcmd.SwitchCmd)
rootCmd.AddCommand(group.GroupCmd)
rootCmd.AddCommand(search.SearchCmd)
rootCmd.AddCommand(version.VersionCmd)
rootCmd.AddCommand(upgrade.UpgradeCmd)
}