Setup backan project
A CLI for creating new Backan project.

CLI
bash
npm create backanbash
pnpm create backanbash
yarn create backanbash
bun create backanbash
deno init --npm backanbash
Usage: create-backan [options]
Options:
--output Set the path where you want to create your project [string]
--name Set the name of the project [string]
--input Select project template [string]
[choices: "demo", "demo-ts", "skeleton", "skeleton-ts"]
--install Select the package manager to install the dependencies [string]
[choices: "npm", "pnpm", "yarn", "deno", "none"]
--openEditor Select the text editor to open the project [string]
[choices: "subl", "code", "webstorm", "none"]
--debug Set Debug mode [boolean]
-h, --help Show help [boolean]
-v, --version Show version number [boolean]API
You can also use create-backan programmatically
js
import { create } from 'create-backan';
await create( {
output : './my-project',
name : 'my-app-name',
input : 'demo',
install : false,
openEditor : 'code',
});Parameters
ts
import type { CreateParams } from 'create-backan';Examples
bash
npm create backan@latest --name my-app-name --input 'skeleton' --install 'npm'bash
pnpm create backan@latest --name my-app-name --input 'skeleton' --install 'pnpm'library
Now it's time to start with backan. Read more
