~rogpeppe/juju-core/azure

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
package main

import (
	"launchpad.net/juju/go/cmd"
	"os"
)

var jujudDoc = `
juju provides easy, intelligent service orchestration on top of environments
such as OpenStack, Amazon AWS, or bare metal. jujud is a component of juju.

https://juju.ubuntu.com/
`

// Main registers subcommands for the jujud executable, and hands over control
// to the cmd package. This function is not redundant with main, because it
// provides an entry point for testing with arbitrary command line arguments.
func Main(args []string) {
	jc := cmd.NewSuperCommand("jujud", jujudDoc)
	jc.Register(&InitzkCommand{})
	jc.Register(NewUnitAgent())
	jc.Register(NewMachineAgent())
	jc.Register(NewProvisioningAgent())
	cmd.Main(jc, args)
}

func main() {
	Main(os.Args)
}