Skip to content

nullslate/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nullslate

CLI for the nullslate dev tooling ecosystem.

Installation

cargo install --path .

Usage

nullslate <command> [options]
# or use the short alias:
ns <command> [options]

Commands

init — Scaffold a new project

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

Examples

Interactive mode:

nullslate init my-app

With all features:

ns init my-app --docs --db postgres

Non-interactive (CI):

nullslate init my-app -y

What's Included

Scaffolded 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

Optional Features

  • Authentication: Auth.js with GitHub OAuth
  • Documentation: MDX docs system
  • Database: PostgreSQL via pg

Environment Variables

When auth is enabled, a .env file is generated:

AUTH_SECRET=<random-64-char-hex>
AUTH_GITHUB_ID=
AUTH_GITHUB_SECRET=

About

CLI for the nullslate dev tooling ecosystem

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages