From 8f55330210e37d800eb35931dabb98560932dfbe Mon Sep 17 00:00:00 2001 From: decentral1se Date: Fri, 22 Oct 2021 13:35:53 +0200 Subject: [PATCH] docs: further server docs [ci skip] --- cli/server/add.go | 4 ++-- cli/server/remove.go | 2 +- cli/server/server.go | 11 +++++++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/cli/server/add.go b/cli/server/add.go index dd67b3eb5..605765775 100644 --- a/cli/server/add.go +++ b/cli/server/add.go @@ -42,7 +42,7 @@ var provisionFlag = &cli.BoolFlag{ var traefik bool var traefikFlag = &cli.BoolFlag{ - Name: "traefi", + Name: "traefik", Aliases: []string{"t"}, Value: false, Usage: "Deploy traefik", @@ -242,7 +242,7 @@ func deployTraefik(c *cli.Context, cl *dockerClient.Client, domainName string) e var serverAddCommand = &cli.Command{ Name: "add", - Usage: "Add a server to your Abra configuration", + Usage: "Add a server to your configuration", Description: ` This command adds a new server to your configuration so that it can be managed by Abra. diff --git a/cli/server/remove.go b/cli/server/remove.go index 436f051b7..0b7c9a701 100644 --- a/cli/server/remove.go +++ b/cli/server/remove.go @@ -28,7 +28,7 @@ func rmHetznerCloudVPS(c *cli.Context) error { var serverRemoveCommand = &cli.Command{ Name: "remove", Aliases: []string{"rm"}, - Usage: "Remove a server", + Usage: "Remove a managed server", Description: ` This command removes a server from being managed by Abra. diff --git a/cli/server/server.go b/cli/server/server.go index c73af4a3e..ab71988b2 100644 --- a/cli/server/server.go +++ b/cli/server/server.go @@ -11,8 +11,15 @@ var ServerCommand = &cli.Command{ Usage: "Manage servers via 3rd party providers", Description: ` These commands support creating and managing servers using 3rd party -integrations. Servers can be provisioned from scratch so that they are capable -of hosing Co-op Cloud apps. +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. `, Subcommands: []*cli.Command{ serverNewCommand,