github.com/henvic/wedeploycli@v1.7.6-0.20200319005353-3630f582f284/command/root/commands.go (about) 1 package root 2 3 import ( 4 "github.com/henvic/wedeploycli/command/about" 5 "github.com/henvic/wedeploycli/command/activities" 6 "github.com/henvic/wedeploycli/command/autocomplete" 7 "github.com/henvic/wedeploycli/command/console" 8 "github.com/henvic/wedeploycli/command/curl" 9 "github.com/henvic/wedeploycli/command/delete" 10 "github.com/henvic/wedeploycli/command/deploy" 11 "github.com/henvic/wedeploycli/command/diagnostics" 12 "github.com/henvic/wedeploycli/command/docs" 13 "github.com/henvic/wedeploycli/command/domain" 14 "github.com/henvic/wedeploycli/command/env-var" 15 "github.com/henvic/wedeploycli/command/exec" 16 "github.com/henvic/wedeploycli/command/inspect" 17 "github.com/henvic/wedeploycli/command/list" 18 "github.com/henvic/wedeploycli/command/log" 19 "github.com/henvic/wedeploycli/command/login" 20 "github.com/henvic/wedeploycli/command/logout" 21 "github.com/henvic/wedeploycli/command/metrics" 22 "github.com/henvic/wedeploycli/command/new" 23 "github.com/henvic/wedeploycli/command/open" 24 "github.com/henvic/wedeploycli/command/remote" 25 "github.com/henvic/wedeploycli/command/restart" 26 "github.com/henvic/wedeploycli/command/scale" 27 "github.com/henvic/wedeploycli/command/shell" 28 "github.com/henvic/wedeploycli/command/uninstall" 29 "github.com/henvic/wedeploycli/command/update" 30 versioncmd "github.com/henvic/wedeploycli/command/version" 31 "github.com/henvic/wedeploycli/command/who" 32 "github.com/spf13/cobra" 33 ) 34 35 var commands = []*cobra.Command{ 36 activities.ActivitiesCmd, 37 deploy.DeployCmd, 38 list.ListCmd, 39 new.NewCmd, 40 log.LogCmd, 41 domain.DomainCmd, 42 env.EnvCmd, 43 scale.ScaleCmd, 44 restart.RestartCmd, 45 delete.DeleteCmd, 46 exec.ExecCmd, 47 shell.ShellCmd, 48 login.LoginCmd, 49 logout.LogoutCmd, 50 open.OpenCmd, 51 console.ConsoleCmd, 52 docs.DocsCmd, 53 autocomplete.AutocompleteCmd, 54 remote.RemoteCmd, 55 diagnostics.DiagnosticsCmd, 56 update.UpdateCmd, 57 uninstall.UninstallCmd, 58 versioncmd.VersionCmd, 59 inspect.InspectCmd, 60 who.WhoCmd, 61 about.AboutCmd, 62 metrics.MetricsCmd, 63 curl.CurlCmd, 64 }