From 0f40c12bc677d10121848e84c353ccb45dd397fc Mon Sep 17 00:00:00 2001 From: mistakia <1823355+mistakia@users.noreply.github.com> Date: Sat, 20 Apr 2024 10:38:09 -0400 Subject: [PATCH] chore: cleanup help formatting and console logging --- cli/index.mjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cli/index.mjs b/cli/index.mjs index 658f6525..2190e144 100644 --- a/cli/index.mjs +++ b/cli/index.mjs @@ -27,7 +27,9 @@ const load_private_key = async () => { if (private_key) { console.log('Private key found in environment variable.') } else { - console.log('No private key found in environment variable or stdin.') + console.log( + 'No private key found in environment variable (NANO_PRIVATE_KEY).' + ) // Restore stdin for inquirer const answers = await inquirer.prompt([ { @@ -297,4 +299,5 @@ yargs(hideBin(process.argv)) .command(update_account_meta) .command(update_block_meta) .help('h') + .wrap(100) .alias('h', 'help').argv