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{
|
2021-09-05 22:14:52 +00:00
|
|
|
Name: "server",
|
|
|
|
Aliases: []string{"s"},
|
2021-10-20 15:52:54 +00:00
|
|
|
Usage: "Manage servers via 3rd party providers",
|
2021-08-02 01:10:41 +00:00
|
|
|
Description: `
|
2021-10-22 09:42:47 +00:00
|
|
|
These commands support creating and managing servers using 3rd party
|
2021-10-22 11:35:53 +00:00
|
|
|
integrations.
|
|
|
|
|
|
|
|
Servers can be created and provisioned from scratch so that they are capable of
|
|
|
|
hosing Co-op Cloud apps. This can be achieved by using the "abra server new"
|
|
|
|
command.
|
|
|
|
|
|
|
|
If you already have a server, you can add it to your configuration using "abra
|
|
|
|
server add". Abra can provision existing servers also, see available flags on
|
|
|
|
"server add" for more.
|
2021-08-02 01:10:41 +00:00
|
|
|
`,
|
|
|
|
Subcommands: []*cli.Command{
|
|
|
|
serverNewCommand,
|
|
|
|
serverAddCommand,
|
|
|
|
serverListCommand,
|
|
|
|
serverRemoveCommand,
|
|
|
|
},
|
|
|
|
}
|