# shellcheck shell=dash disable=SC2034,SC2154

xrc:mod:lib gddy  \
    domain/record/ls   domain/record/add   domain/record/rm    domain/record/edit

# https://developer.godaddy.com/doc/endpoint/domains#/
___x_cmd_gddy_domain_record(){
    local X_help_cmd='x help -m gddy domain record';    help:arg-null:parse
    param:subcmd ___x_cmd_gddy_domain_record                                                                          \
        ls                 "Retrieve DNS Records for the specified Domain with interactive UI table"                  \
        ll                 "Retrieve DNS Records for the specified Domain with terminal table"                        \
        add                "Add the specified DNS Records to the specified Domain"                                    \
        rm                 "Delete all DNS Records for the specified Domain with the specified Type and Name"         \
        "edit|ed"          "Edit the specified DNS Records to the specified Domain"

    param:subcmd:try
    param:run
    ___x_cmd_gddy_domain_record  _param_help_doc
    return 1
}


