-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.go
More file actions
34 lines (28 loc) · 726 Bytes
/
main.go
File metadata and controls
34 lines (28 loc) · 726 Bytes
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
package main
import (
"flag"
"os"
"github.com/Method-Security/methodazure/cmd"
)
var version = "none"
func main() {
flag.Parse()
methodazure := cmd.NewMethodAzure(version)
methodazure.InitRootCommand()
methodazure.InitVMCommand()
methodazure.InitStorageAccountCommand()
methodazure.InitAKSCommand()
methodazure.InitDatabaseCommand()
methodazure.InitDNSCommand()
methodazure.InitVNetCommand()
methodazure.InitResourceGroupCommand()
methodazure.InitNSGCommand()
methodazure.InitEntraCommand()
methodazure.InitIAMCommand()
methodazure.InitTenantCommand()
methodazure.InitSubscriptionCommand()
methodazure.InitLoadBalancerCommand()
if err := methodazure.RootCmd.Execute(); err != nil {
os.Exit(1)
}
}