From e37f1e210d8b02a021ee0d62b7216bf4c0aa0dd9 Mon Sep 17 00:00:00 2001 From: Johnny Date: Sun, 22 Mar 2026 08:16:53 -0400 Subject: [PATCH] Add Android scaffold support to bitbox new command Adds 'android' as a supported scaffold type in the `bitbox new` command, pointing to the bitbox-scaffold-android repository. Closes #12. Co-Authored-By: Claude Sonnet 4.6 --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 21bc82ed..f174b90a 100755 --- a/index.js +++ b/index.js @@ -29,7 +29,7 @@ program program .command('new ') - .option('-s, --scaffold ', 'The framework to use. Options include react, angular, vuejs, nextjs and node.') + .option('-s, --scaffold ', 'The framework to use. Options include react, angular, vuejs, nextjs, node and android.') .option('-r, --restURL ', 'The rest URL to use. default: https://rest.bitbox.earth/v1/') .option('-e, --environment ', 'environment of running BITBOX instance. Ex: production, staging. (Default: development)') .description(`create a new BITBOX application`) @@ -70,6 +70,8 @@ program repo = 'https://github.com/Bitcoin-com/bitbox-scaffold-react.git'; } else if(scaffold === 'vue') { repo = 'https://github.com/Bitcoin-com/bitbox-scaffold-vue.git'; + } else if(scaffold === 'android') { + repo = 'https://github.com/Bitcoin-com/bitbox-scaffold-android.git'; } else { console.log(chalk.red(`Scaffold ${scaffold} not supported`)); process.exit(1)