From 20ed582f71532ae384c19c1187976c2660ac369f Mon Sep 17 00:00:00 2001 From: Wiltse Carpenter Date: Thu, 9 Nov 2023 16:05:31 -0800 Subject: [PATCH] Alter --standalone secret message --- lib/commands.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/commands.js b/lib/commands.js index 5533bb3..55ed6fd 100644 --- a/lib/commands.js +++ b/lib/commands.js @@ -153,8 +153,11 @@ export async function add(argv, reset = false) { writeConfig(config); console.log(`Configuration ${reset ? `reset` : `added`} for "${name}"`); - if (standalone) - console.log(`Secret for DabaseClient("${name}"):\ndb:${name}:${secret}`); + if (standalone) { + console.log( + `Secret for DabaseClient("${name}"):\nOBSERVABLEHQ_DB_SECRET_${name}=${secret}` + ); + } } export function reset(argv) {