docs: more domain command docs hacking
This commit is contained in:
parent
0110aceb1f
commit
7d8c53299d
@ -11,14 +11,18 @@ var DomainCommand = &cli.Command{
|
|||||||
Aliases: []string{"d"},
|
Aliases: []string{"d"},
|
||||||
ArgsUsage: "<domain>",
|
ArgsUsage: "<domain>",
|
||||||
Description: `
|
Description: `
|
||||||
This command supports managing DNS records via 3rd party providers such as
|
This command supports managing domain name records via 3rd party providers such
|
||||||
Gandi DNS. It supports listing, creating, updating and removing all types of
|
as Gandi DNS. It supports listing, creating, updating and removing all types of
|
||||||
DNS records that you might need for managing Co-op Cloud apps.
|
records that you might need for managing Co-op Cloud apps.
|
||||||
|
|
||||||
The following providers are supported:
|
The following providers are supported:
|
||||||
|
|
||||||
Gandi DNS https://www.gandi.net
|
Gandi DNS https://www.gandi.net
|
||||||
|
|
||||||
|
You need an account with such a provider already. Typically, you need to
|
||||||
|
provide an API token on the Abra command-line when using these commands so that
|
||||||
|
you can authenticate with your provider account.
|
||||||
|
|
||||||
Any new provider can be integrated, we welcome change sets. See the underlying
|
Any new provider can be integrated, we welcome change sets. See the underlying
|
||||||
DNS library documentation for more. It supports many existing providers and
|
DNS library documentation for more. It supports many existing providers and
|
||||||
allows to implement new provider support easily.
|
allows to implement new provider support easily.
|
||||||
|
@ -16,18 +16,17 @@ import (
|
|||||||
// DomainListCommand lists domains.
|
// DomainListCommand lists domains.
|
||||||
var DomainListCommand = &cli.Command{
|
var DomainListCommand = &cli.Command{
|
||||||
Name: "list",
|
Name: "list",
|
||||||
Usage: "List domains",
|
Usage: "List domain name records for a zone",
|
||||||
Aliases: []string{"ls"},
|
Aliases: []string{"ls"},
|
||||||
ArgsUsage: "<zone>",
|
ArgsUsage: "<zone>",
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
internal.DNSProviderFlag,
|
internal.DNSProviderFlag,
|
||||||
},
|
},
|
||||||
Description: `
|
Description: `
|
||||||
This command lists all domains managed by a 3rd party provider.
|
This command lists all domain name records managed by a 3rd party provider.
|
||||||
|
|
||||||
You must specify a zone (e.g. example.com) under which your DNS entries are
|
You must specify a zone (e.g. example.com) under which your domain name records
|
||||||
listed. This zone must already be created via the provider web interface or
|
are listed. This zone must already be created on your provider account.
|
||||||
using "abra domain create".
|
|
||||||
`,
|
`,
|
||||||
Action: func(c *cli.Context) error {
|
Action: func(c *cli.Context) error {
|
||||||
zone := c.Args().First()
|
zone := c.Args().First()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user