From a3c1a7202c5a18fa018d437e27e4ace19331dc2b Mon Sep 17 00:00:00 2001 From: Daniel Izdebski Date: Tue, 31 Oct 2023 19:50:38 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20chore(core):=20Remove=20unnecess?= =?UTF-8?q?ary=20note=20from=20the=20CLI=20(#970)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/cli/index.ts | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/packages/core/src/cli/index.ts b/packages/core/src/cli/index.ts index 20b252b0a..5ba5f334b 100644 --- a/packages/core/src/cli/index.ts +++ b/packages/core/src/cli/index.ts @@ -13,25 +13,14 @@ interface CliFlags { force: boolean } -const dirArgumentWarning = [ - chalk.yellowBright`[TEMPORARY NOTE: You`, - chalk.red.bold` HAVE `, - chalk.yellowBright`to create this directory`, - chalk.red.bold` YOURSELF!`, - chalk.yellowBright`]` -].join('') - +// TODO: Add unit tests for the CLI! export const main = async () => { console.log(`⚠️ ${chalk.yellowBright`The CLI is in alpha so expect breaking changes!`} ⚠️\n`) const program = new Command() .name(chalk.magenta('core')) .description('A CLI for building the cache of wallet setup functions') - .argument( - '[dir]', - `Directory containing the wallet setup functions ${dirArgumentWarning}`, - path.join('test', WALLET_SETUP_DIR_NAME) - ) + .argument('[dir]', 'Directory containing the wallet setup functions', path.join('test', WALLET_SETUP_DIR_NAME)) .option( '--headless', 'Build cache in the headless browser mode. Alternatively, set the `HEADLESS` env variable to `true`',