CLI for the nullslate dev tooling ecosystem.
cargo install --path .nullslate <command> [options]
# or use the short alias:
ns <command> [options]nullslate init <project-name> [OPTIONS]| Flag | Description |
|---|---|
--docs |
Include MDX documentation system |
--no-auth |
Skip Auth.js authentication setup |
--db <type> |
Database type: postgres or none (default) |
--path <dir> |
Output directory (default: ./<project-name>) |
--no-git |
Skip git initialization |
--no-install |
Skip npm install |
--template <url> |
Custom template repository URL |
-y, --yes |
Accept all defaults without prompting |
Interactive mode:
nullslate init my-appWith all features:
ns init my-app --docs --db postgresNon-interactive (CI):
nullslate init my-app -yScaffolded projects include:
- Vite with React 19 and TanStack Router
- TypeScript
- Tailwind CSS 4 with theme support
- shadcn/ui components
- TanStack React Query for server state
- Authentication: Auth.js with GitHub OAuth
- Documentation: MDX docs system
- Database: PostgreSQL via
pg
When auth is enabled, a .env file is generated:
AUTH_SECRET=<random-64-char-hex>
AUTH_GITHUB_ID=
AUTH_GITHUB_SECRET=