-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.go
73 lines (54 loc) · 1.83 KB
/
main.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package main
import (
"github.com/sandwichcloud/deli-cli/cmd"
"github.com/sandwichcloud/deli-cli/cmd/auth"
"github.com/sandwichcloud/deli-cli/cmd/flavor"
"github.com/sandwichcloud/deli-cli/cmd/image"
"github.com/sandwichcloud/deli-cli/cmd/instance"
"github.com/sandwichcloud/deli-cli/cmd/keypair"
"github.com/sandwichcloud/deli-cli/cmd/metadata"
"github.com/sandwichcloud/deli-cli/cmd/network"
"github.com/sandwichcloud/deli-cli/cmd/permission"
"github.com/sandwichcloud/deli-cli/cmd/policy"
"github.com/sandwichcloud/deli-cli/cmd/project"
"github.com/sandwichcloud/deli-cli/cmd/region"
"github.com/sandwichcloud/deli-cli/cmd/role"
"github.com/sandwichcloud/deli-cli/cmd/serviceAccount"
"github.com/sandwichcloud/deli-cli/cmd/volume"
"github.com/sandwichcloud/deli-cli/cmd/zone"
)
func main() {
app := &cmd.Application{}
app.Setup()
authCommand := auth.Command{}
authCommand.Register(app)
projectCommand := project.Command{}
projectCommand.Register(app)
regionCommand := region.Command{}
regionCommand.Register(app)
zoneCommand := zone.Command{}
zoneCommand.Register(app)
flavorCommand := flavor.Command{}
flavorCommand.Register(app)
volumeCommand := volume.Command{}
volumeCommand.Register(app)
imageCommand := image.Command{}
imageCommand.Register(app)
networkCommand := network.Command{}
networkCommand.Register(app)
instanceCommand := instance.Command{}
instanceCommand.Register(app)
permissionCommand := permission.Command{}
permissionCommand.Register(app)
roleCommand := role.Command{}
roleCommand.Register(app)
policyCommand := policy.Command{}
policyCommand.Register(app)
serviceAccountCommand := serviceAccount.Command{}
serviceAccountCommand.Register(app)
keypairCommand := keypair.Command{}
keypairCommand.Register(app)
metaDataCommand := metadata.Command{}
metaDataCommand.Register(app)
app.Run()
}