docs: more domain command docs hacking

This commit is contained in:
2021-10-20 00:05:49 +02:00
parent 0110aceb1f
commit 7d8c53299d
2 changed files with 11 additions and 8 deletions

View File

@ -16,18 +16,17 @@ import (
// DomainListCommand lists domains.
var DomainListCommand = &cli.Command{
Name: "list",
Usage: "List domains",
Usage: "List domain name records for a zone",
Aliases: []string{"ls"},
ArgsUsage: "<zone>",
Flags: []cli.Flag{
internal.DNSProviderFlag,
},
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
listed. This zone must already be created via the provider web interface or
using "abra domain create".
You must specify a zone (e.g. example.com) under which your domain name records
are listed. This zone must already be created on your provider account.
`,
Action: func(c *cli.Context) error {
zone := c.Args().First()