forked from cloudfoundry/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands_loader.go
57 lines (53 loc) · 2.04 KB
/
commands_loader.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package commands_loader
import (
"github.com/cloudfoundry/cli/cf/commands"
"github.com/cloudfoundry/cli/cf/commands/application"
"github.com/cloudfoundry/cli/cf/commands/buildpack"
"github.com/cloudfoundry/cli/cf/commands/domain"
"github.com/cloudfoundry/cli/cf/commands/environmentvariablegroup"
"github.com/cloudfoundry/cli/cf/commands/featureflag"
"github.com/cloudfoundry/cli/cf/commands/organization"
"github.com/cloudfoundry/cli/cf/commands/plugin"
"github.com/cloudfoundry/cli/cf/commands/plugin_repo"
"github.com/cloudfoundry/cli/cf/commands/quota"
"github.com/cloudfoundry/cli/cf/commands/route"
"github.com/cloudfoundry/cli/cf/commands/routergroups"
"github.com/cloudfoundry/cli/cf/commands/securitygroup"
"github.com/cloudfoundry/cli/cf/commands/service"
"github.com/cloudfoundry/cli/cf/commands/serviceaccess"
"github.com/cloudfoundry/cli/cf/commands/serviceauthtoken"
"github.com/cloudfoundry/cli/cf/commands/servicebroker"
"github.com/cloudfoundry/cli/cf/commands/servicekey"
"github.com/cloudfoundry/cli/cf/commands/space"
"github.com/cloudfoundry/cli/cf/commands/spacequota"
"github.com/cloudfoundry/cli/cf/commands/user"
)
/*******************
This package make a reference to all the command packages
in cf/commands/..., so all init() in the directories will
get initialized
* Any new command packages must be included here for init() to get called
********************/
func Load() {
_ = commands.Api{}
_ = application.ListApps{}
_ = buildpack.ListBuildpacks{}
_ = domain.CreateDomain{}
_ = environmentvariablegroup.RunningEnvironmentVariableGroup{}
_ = featureflag.ShowFeatureFlag{}
_ = organization.ListOrgs{}
_ = plugin.Plugins{}
_ = plugin_repo.RepoPlugins{}
_ = quota.CreateQuota{}
_ = route.CreateRoute{}
_ = routergroups.RouterGroups{}
_ = securitygroup.ShowSecurityGroup{}
_ = service.ShowService{}
_ = serviceauthtoken.ListServiceAuthTokens{}
_ = serviceaccess.ServiceAccess{}
_ = servicebroker.ListServiceBrokers{}
_ = servicekey.ServiceKey{}
_ = space.CreateSpace{}
_ = spacequota.SpaceQuota{}
_ = user.CreateUser{}
}