module

Beryl::CLI::Env

beryl env — gestion des credentials chiffrés par société.

Trois sous-commandes :

migrate [<société>...] Convertit .env.yml[société] en <société>/.env.toml.age chiffré. edit <société> Ouvre le coffre dans $EDITOR, re-chiffre. show <société> Affiche le plaintext (debug, hors prod).

Le coffre est chiffré au roster global secrets (~/.config/secrets/recipients.toml) — un roster par société viendra quand Secrets::Recipients acceptera un path optionnel.

Constants

USAGE = "USAGE : beryl env <SOUS-COMMANDE> [args]\n\nSOUS-COMMANDES :\n migrate [<société>...] Migre .env.yml[société] vers <société>/.env.toml.age\n edit <société> Édite le coffre d'une société dans $EDITOR\n show <société> Affiche le plaintext du coffre (debug, à éviter en prod)\n\nLe coffre est chiffré au roster `secrets` global. Lancer\n`secrets init` une fois sur ce poste si ce n'est pas déjà fait."

Instance methods

run(config_root : String, argv : Array(String)) : Int32

Point d'entrée appelé par cli.cr.

Source