docs: further server docs [ci skip]

This commit is contained in:
decentral1se 2021-10-22 13:35:53 +02:00
parent d54a45bef7
commit 8f55330210
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
3 changed files with 12 additions and 5 deletions

View File

@ -42,7 +42,7 @@ var provisionFlag = &cli.BoolFlag{
var traefik bool var traefik bool
var traefikFlag = &cli.BoolFlag{ var traefikFlag = &cli.BoolFlag{
Name: "traefi", Name: "traefik",
Aliases: []string{"t"}, Aliases: []string{"t"},
Value: false, Value: false,
Usage: "Deploy traefik", Usage: "Deploy traefik",
@ -242,7 +242,7 @@ func deployTraefik(c *cli.Context, cl *dockerClient.Client, domainName string) e
var serverAddCommand = &cli.Command{ var serverAddCommand = &cli.Command{
Name: "add", Name: "add",
Usage: "Add a server to your Abra configuration", Usage: "Add a server to your configuration",
Description: ` Description: `
This command adds a new server to your configuration so that it can be managed This command adds a new server to your configuration so that it can be managed
by Abra. by Abra.

View File

@ -28,7 +28,7 @@ func rmHetznerCloudVPS(c *cli.Context) error {
var serverRemoveCommand = &cli.Command{ var serverRemoveCommand = &cli.Command{
Name: "remove", Name: "remove",
Aliases: []string{"rm"}, Aliases: []string{"rm"},
Usage: "Remove a server", Usage: "Remove a managed server",
Description: ` Description: `
This command removes a server from being managed by Abra. This command removes a server from being managed by Abra.

View File

@ -11,8 +11,15 @@ var ServerCommand = &cli.Command{
Usage: "Manage servers via 3rd party providers", Usage: "Manage servers via 3rd party providers",
Description: ` Description: `
These commands support creating and managing servers using 3rd party These commands support creating and managing servers using 3rd party
integrations. Servers can be provisioned from scratch so that they are capable integrations.
of hosing Co-op Cloud apps.
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.
`, `,
Subcommands: []*cli.Command{ Subcommands: []*cli.Command{
serverNewCommand, serverNewCommand,