2021-08-02 01:10:41 +00:00
|
|
|
package server
|
|
|
|
|
|
|
|
import (
|
2022-01-18 13:13:20 +00:00
|
|
|
"github.com/urfave/cli"
|
2021-08-02 01:10:41 +00:00
|
|
|
)
|
|
|
|
|
2021-08-02 20:03:53 +00:00
|
|
|
// ServerCommand defines the `abra server` command and its subcommands
|
2022-01-18 13:13:20 +00:00
|
|
|
var ServerCommand = cli.Command{
|
2021-09-05 22:14:52 +00:00
|
|
|
Name: "server",
|
|
|
|
Aliases: []string{"s"},
|
2021-12-27 15:12:29 +00:00
|
|
|
Usage: "Manage servers",
|
2021-08-02 01:10:41 +00:00
|
|
|
Description: `
|
2022-05-13 14:44:49 +00:00
|
|
|
Create, manage and remove servers using 3rd party integrations.
|
2021-10-22 11:35:53 +00:00
|
|
|
|
2021-10-25 17:58:50 +00:00
|
|
|
Servers can be created from scratch 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 servers so that they are ready to deploy Co-op Cloud
|
2022-05-13 14:44:49 +00:00
|
|
|
recipes, see available flags on "abra server add" for more.
|
2021-08-02 01:10:41 +00:00
|
|
|
`,
|
2022-01-18 13:13:20 +00:00
|
|
|
Subcommands: []cli.Command{
|
2021-08-02 01:10:41 +00:00
|
|
|
serverNewCommand,
|
|
|
|
serverAddCommand,
|
|
|
|
serverListCommand,
|
|
|
|
serverRemoveCommand,
|
2023-02-15 02:25:37 +00:00
|
|
|
serverPruneCommand,
|
2021-08-02 01:10:41 +00:00
|
|
|
},
|
|
|
|
}
|