module

Beryl::CLI::AddDomain

Sous-commande beryl add-domain : ajoute un domaine (zone DNS) à une société et crée ~/.config/beryl/<société>/<domaine>.yml.

Formes équivalentes :

beryl add-domain aloli/aloli.net beryl add-domain aloli.net --account=aloli

Le domaine déclare :

  • dns_provider : qui gère la zone (gandi, ovh, scaleway…)
  • provider : hébergeur par défaut des hosts du domaine
  • un bloc <provider>: avec la SSH key du compte provider (auto-sélectionnée via l'API si une seule clé correspond)
  • ssh_keys: : clés SSH utilisateurs (contenu ou nom de fichier sous ~/.ssh/)

Constants

EXIT_ABORTED = 2
EXIT_OK = 0
EXIT_USAGE = 1

Class methods

run(config_root : String, args : Array(String)) : Int32
Source