refactor: domainName as arg and doc strings

See coop-cloud/organising#163.
This commit is contained in:
2021-09-10 15:04:01 +02:00
parent 683ef0c3de
commit 99160967a8
4 changed files with 20 additions and 21 deletions

View File

@ -241,10 +241,14 @@ environment variable or otherwise passing the "--env/-e" flag.
}
var serverNewCommand = &cli.Command{
Name: "new",
Usage: "Create a new server using a 3rd party provider",
Description: "Use a provider plugin to create a new server which can then be used to house a new Co-op Cloud installation.",
ArgsUsage: "<provider>",
Name: "new",
Aliases: []string{"n"},
Usage: "Create a new server using a 3rd party provider",
Description: `
Use a provider plugin to create a new server which can then be used to house a
new Co-op Cloud installation.
`,
ArgsUsage: "<provider>",
Subcommands: []*cli.Command{
serverNewHetznerCloudCommand,
serverNewCapsulCommand,