-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.go
39 lines (34 loc) · 948 Bytes
/
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
package main
import (
"github.com/altipla-consulting/cmdbase"
"github.com/joho/godotenv"
_ "github.com/joho/godotenv/autoload"
"github.com/altipla-consulting/wave/internal/debug"
)
func main() {
cmdbase.Main()
}
func init() {
godotenv.Load(".env.production", ".env")
cmdRoot := cmdbase.CmdRoot(
"wave",
"Build and publish applications.",
cmdbase.WithInstall(),
cmdbase.WithUpdate("github.com/altipla-consulting/wave"))
cmdRoot.AddCommand(cmdACR)
cmdRoot.AddCommand(cmdAR)
cmdRoot.AddCommand(cmdBuild)
cmdRoot.AddCommand(cmdCompose)
cmdRoot.AddCommand(cmdContainerApp)
cmdRoot.AddCommand(cmdContainerAppJob)
cmdRoot.AddCommand(cmdDeploy)
cmdRoot.AddCommand(cmdECR)
cmdRoot.AddCommand(cmdJob)
cmdRoot.AddCommand(cmdKubernetes)
cmdRoot.AddCommand(cmdLightsail)
cmdRoot.AddCommand(cmdNetlify)
cmdRoot.AddCommand(cmdPages)
cmdRoot.AddCommand(cmdPreview)
cmdRoot.AddCommand(cmdVersion)
cmdRoot.AddCommand(debug.Cmd)
}