Пример #1
0
func SubCommand() cli.Command {
	return cli.Command{
		Name:   "setup",
		Usage:  "setup [regexp]",
		Action: commands.AnvilAction(setupAction),
	}
}
Пример #2
0
func SubCommand() cli.Command {
	return cli.Command{
		Name:   "destroy",
		Usage:  "destroy [regexp]",
		Action: commands.AnvilAction(destroyAction),
	}
}
Пример #3
0
func SubCommand() cli.Command {
	return cli.Command{
		Name:   "login",
		Usage:  "login [regexp]",
		Action: commands.AnvilAction(loginAction),
	}
}
Пример #4
0
func SubCommand() cli.Command {
	return cli.Command{
		Name:   "provision",
		Usage:  "provision [regexp]",
		Action: commands.AnvilAction(provisionAction),
	}
}
Пример #5
0
func SubCommand() cli.Command {
	return cli.Command{
		Name:   "status",
		Usage:  "status [regexp]",
		Action: commands.AnvilAction(statusAction),
	}
}
Пример #6
0
func SubCommand() cli.Command {
	return cli.Command{
		Name:   "verify",
		Usage:  "verify [regexp]",
		Action: commands.AnvilAction(verifyAction),
	}
}
Пример #7
0
func SubCommand() cli.Command {
	return cli.Command{
		Name:   "test",
		Usage:  "test [regexp]",
		Action: commands.AnvilAction(testAction),
		Flags:  buildFlags(),
	}
}