Skip to content

Commit

Permalink
🔥 chore(core): Remove unnecessary note from the CLI (#970)
Browse files Browse the repository at this point in the history
  • Loading branch information
duckception authored Oct 31, 2023
1 parent 396ccbd commit a3c1a72
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions packages/core/src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`',
Expand Down

0 comments on commit a3c1a72

Please sign in to comment.