transip-command 0.3.8

Parse a string and return a transip command
Documentation

build-badge License: MIT docs.rs Crates.io

transip-command

transip-command is a library that can parse a string and turn it in a command. It has one optional feature propagation.

Commands

  • dns acme-validation-delete <domainname>
  • dns acme-validation-set <domainname> <acme-validation>
  • dns delete <domainname> <recordname> <ttl> <recordtype> <content>
  • dns insert <domainname> <recordname> <ttl> <recordtype> <content>
  • dns list <domainname>
  • domain list
  • domain item <domainname>
  • invoice list
  • invoice item <invoicenumber>
  • invoice pdf <invoicenumber>
  • onerror print | exit
  • ping
  • product list
  • product elements <productname>
  • sleep <number-of-seconds>

Available on feature propagation

  • dns acme-validation-check <domainname> <acme-validation>

Environment variable usage

You can use a enviroment variable to specify domainname, acme-validation or content.

Examples

  • domain item ${DOMAIN_NAME}
  • dns acme-validation-set ${CERTBOT_DOMAIN} ${CERTBOT_VALIDATION}