0.3.1 • Published 9 months ago

@wangyjhh/dnsr v0.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@wangyjhh/dnsr

A domain records management tool for Alibaba Cloud DNS implemented based on the official SDK.

Install

# npm
npm i @wangyjhh/dnsr -g

# pnpm
pnpm add @wangyjhh/dnsr -g

Usage

Usage: dnsr [options] [command]

Alibaba Cloud Domain Records management tool.

Options:
  -v, --version                      Output version number.
  -h, --help                         display help for command

Commands:
  config <tpye>                      Configuration
  list|ls                            Review the domain records.
  add|ad                             Add the domain records.
  remove|rm                          Remove the domain records.
  modify|mo                          Modify the domain records.
  help [command]                     display help for command

Example

Enter the command and fill in the necessary information according to the command line instructions

Get Config

dnsr config get

Set Config

dnsr config set

Default Config

dnsr config default

Remove Config

dnsr config remove

Clear Config

dnsr config clear

Get Domain Records List

dnsr list
# The following commands will also work
dnsr ls

Add Domain Records

dnsr add
# The following commands will also work
dnsr ad
dnsr insert

Remove Domain Records

dnsr remove
# The following commands will also work
dnsr rm
dnsr delete

Modify Domain Records

dnsr modify
# The following commands will also work
dnsr mo
dnsr edit