Skip to content

Example was missing in slcli dns record-list, slcli dns record-remove, slcli dns zone-create #2022

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ramkishor-ch opened this issue Jul 14, 2023 · 0 comments · Fixed by #2065
Assignees
Labels

Comments

@ramkishor-ch
Copy link
Contributor

  1. slcli dns record-list
    Example was missing, please add it.

EXAMPLE:
slcli dns record-list ibm.com --record elasticsearch --type A --ttl 900
This command lists all A records under the zone: ibm.com, and filters by host is elasticsearch and ttl is 900 seconds.

Expected:

 ./slcli dns record-list --help
Usage: slcli dns record-list [OPTIONS] ZONE

EXAMPLE:
       slcli dns record-list ibm.com --record elasticsearch --type A --ttl 900
       This command lists all A records under the zone: ibm.com, and filters by host is elasticsearch and ttl is 900 seconds.

        List all records in a zone.

┌────┬──────────┬─────────────────────────────────────┐
│    │ zone     │                                     │
│    │ --data   │ Record data, such as an IP address  │
│    │ --record │ Host record, such as www            │
│    │ --ttl    │ TTL value in seconds, such as 86400 │
│    │ --type   │ Record type, such as A or CNAME     │
│ -h │ --help   │ Show this message and exit.         │
└────┴──────────┴─────────────────────────────────────┘
  1. slcli dns record-remove
    Example was missing, please add it.
    EXAMPLE:
    slcli dns record-remove 12345678
    This command removes resource record with ID 12345678.

Expected:

./slcli dns record-remove --help
Usage: slcli dns record-remove [OPTIONS] RECORD_ID

EXAMPLE:
       slcli dns record-remove 12345678
       This command removes resource record with ID 12345678.

        Remove resource record.

┌────┬───────────┬─────────────────────────────┐
│    │ record_id │                             │
│ -h │ --help    │ Show this message and exit. │
└────┴───────────┴─────────────────────────────┘
  1. slcli dns zone-create
    Example was missing, please add it.

EXAMPLE:
slcli dns zone-create ibm.com
This command creates a zone that is named ibm.com.

Expected:

 ./slcli dns zone-create --help  
Usage: slcli dns zone-create [OPTIONS] ZONE

EXAMPLE:
       slcli dns zone-create ibm.com 
       This command creates a zone that is named ibm.com.

        Create a zone.

┌────┬────────┬─────────────────────────────┐
│    │ zone   │                             │
│ -h │ --help │ Show this message and exit. │
└────┴────────┴─────────────────────────────┘
JayasilanJibm added a commit that referenced this issue Aug 5, 2023
Example for slcli dns zone-create, slcli dns record-list, slcli dns record-remove command
@JayasilanJibm JayasilanJibm self-assigned this Aug 5, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in Q3 2023 Aug 5, 2023
allmightyspiff added a commit that referenced this issue Aug 8, 2023
Example for slcli dns zone-create, slcli dns record-list, slcli dns record-remove command #2022
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Q3 2023 Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
2 participants