create-questpie-app
Version:
Bootstrap a new QUESTPIE Studio application with your choice of template and packages
3 lines • 1.04 kB
JavaScript
import{createApp as e}from"./commands/create.js";import{Command as t}from"commander";const n=new t;n.name(`create-questpie-app`).description(`Bootstrap a new QUESTPIE application with your choice of template and packages`).argument(`[projectDirectory]`,`Directory to create the project in (optional, will prompt if not provided)`).option(`--project-type <type>`,`Project type (monorepo, single-app, single-module)`).option(`--template <template>`,`Template to use (admin, web)`).option(`--packages <packages>`,`Comma-separated list of packages to include`).option(`--token <token>`,`QUESTPIE registry token`).option(`--skip-install`,`Skip package installation`).option(`--skip-git`,`Skip git initialization`).option(`--yes`,`Skip confirmation prompt and proceed automatically`).action(async(t,n)=>{await e(t,{projectType:n.projectType,template:n.template,packages:n.packages,token:n.token,skipInstall:n.skipInstall,skipGit:n.skipGit,autoConfirm:n.yes})}),n.parse(process.argv);export{};
//# sourceMappingURL=cli.js.map