Base Stack CLI
Command-line tool for scaffolding and managing Base Stack monorepos and applications
Getting Started
bash
Create New Project
Use the init
command to quickly scaffold a new Base Stack monorepo.
This sets up the project structure, and gets you ready to start building.
bash
Arguments:
<dir>
: The name of the directory for your new project<app>
: The name of the initial application to create
Options:
-s, --stack <stack>
: Framework stack (next
,tanstack-router
)-g, --init-git
: Initialize git repository (default: true)
With options:
bash
Add A New Application
In many cases, your project may require both a client-facing app and an internal app such as an admin. The add
command allows you to quickly generate an additional application.
bash
Arguments:
<app>
: The name of the application to add
Options:
-s, --stack <stack>
: Framework stack
With Options
bash