2021-08-02 01:10:41 +00:00
|
|
|
package server
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/urfave/cli/v2"
|
|
|
|
)
|
|
|
|
|
2021-08-02 20:03:53 +00:00
|
|
|
// ServerCommand defines the `abra server` command and its subcommands
|
2021-08-02 01:10:41 +00:00
|
|
|
var ServerCommand = &cli.Command{
|
|
|
|
Name: "server",
|
2021-09-04 23:21:16 +00:00
|
|
|
ArgsUsage: "<server>",
|
|
|
|
Aliases: []string{"s"},
|
2021-09-04 23:01:31 +00:00
|
|
|
Usage: "Manage servers",
|
2021-08-02 01:10:41 +00:00
|
|
|
Description: `
|
|
|
|
Manage the lifecycle of a server.
|
|
|
|
|
|
|
|
These commands support creating new servers using 3rd party integrations,
|
|
|
|
initialising existing servers to support Co-op Cloud deployments and managing
|
|
|
|
the connections to those servers.
|
|
|
|
`,
|
|
|
|
Subcommands: []*cli.Command{
|
|
|
|
serverNewCommand,
|
|
|
|
serverInitCommand,
|
|
|
|
serverAddCommand,
|
|
|
|
serverListCommand,
|
|
|
|
serverRemoveCommand,
|
|
|
|
},
|
|
|
|
}
|