dnspod-cli

Crates.iodnspod-cli
lib.rsdnspod-cli
version0.1.3
sourcesrc
created_at2023-09-06 10:15:53.997952
updated_at2023-09-13 09:21:21.600389
descriptionA command line tool for dnspod
homepage
repositoryhttps://github.com/hangj/dnspod-lib
max_upload_size
id965151
size40,389
hangj (hangj)

documentation

https://docs.rs/dnspod-cli/

README

dnspod-cli

A command line tool for dnspod

Install

cargo install dnspod-cli

Usage

dnspod-cli -h
A command line tool for dnspod

Usage: dnspod-cli --secret-id <SECRET_ID> --secret-key <SECRET_KEY> <COMMAND>

Commands:
  record  记录相关
  domain  域名相关
  help    Print this message or the help of the given subcommand(s)

Options:
      --secret-id <SECRET_ID>    [env: DNSPOD_SECRET_ID=]
      --secret-key <SECRET_KEY>  [env: DNSPOD_SECRET_KEY=]
  -h, --help                     Print help
  -V, --version                  Print version

目前只添加了关于域名和记录的部分 subcommand, 如果你想添加更多, 请看 dnspod-lib

通过 define_action_list 宏可以很方便地添加其它接口请求

Commit count: 30

cargo fmt