diff --git a/secrets b/secrets index abba5b2..41f6850 100755 --- a/secrets +++ b/secrets @@ -223,7 +223,11 @@ EOF (void)) -(let* ([config-file "test/config.json"] - [config (call-with-input-file config-file read-json)]) - (deploy-secrets config (path->complete-path (path-only config-file))) +(define cfg-file (make-parameter #f)) +(command-line + #:args ([config-file "secrets.json"]) + (cfg-file config-file)) + +(let* ([config (call-with-input-file (cfg-file) read-json)]) + (deploy-secrets config (path->complete-path (path-only (cfg-file)))) (displayln "Done."))