Skip to content

Rust: Many new commands

Kim Minh Kaplan requested to merge KMK/code-samples:main into main
  • create-host
  • info-authorization-code-requests
  • list-articles
  • list-authorization-code-requests
  • list-contacts
  • list-domains
  • list-domains-associated-with-host
  • list-hosts
  • renew-domain
  • update-host
  • update-domain

The list-domains command can select domains by name, contact or host.

Sample output:

$ cargo run --bin update-domain -- --add-ns ns1.example.net tata.fr
    Finished dev [unoptimized + debuginfo] target(s) in 0.06s
     Running `target/debug/update-domain --add-ns ns1.example.net tata.fr`
tata.fr
$ cargo run --bin info-authorization-code-requests CODE129-FRNIC 
    Finished dev [unoptimized + debuginfo] target(s) in 0.05s
     Running `target/debug/info-authorization-code-requests CODE123-FRNIC`
CODE123-FRNIC  example.fr              ABC12345   ACCEPTED XXXXXXXXXXXXXXXXXXXX
$ cargo run --bin list-articles technical-documents
    Finished dev [unoptimized + debuginfo] target(s) in 0.56s
     Running `target/debug/list-articles technical-documents`
ART07-FRNIC 2056c817-0817-489f-8a11-04dae23fa447 guide_extranet_sandbox_FR.pdf Extranet - Guide fonctionnel 
ART08-FRNIC 579ba4fa-0f00-4569-8a64-88da173eafaf guide_d_integration_technique_FR_sandbox.pdf Guide d'intégration technique 
ART09-FRNIC a94433a8-01da-4131-85a6-76259fad3914 frnic-2.0.xsd        Schéma FRNIC 2.0 
ART10-FRNIC 34180dc7-2fc2-475f-9c49-6f41538b54d1 APIs du système d'enregistrement du .fr.pdf APIs du système d'enregistrement du .fr
Edited by Kim Minh Kaplan

Merge request reports

Loading