CLI Commands
Complete reference for all TATVA CLI commands
Command Overview
TATVA CLI provides powerful commands to automate your entire development workflow.
Project Management
Initialize, scan, and understand your projects
Deployment
One-command deploy to Vercel or Netlify
Git Operations
Smart commits with AI-generated messages
AI Generation
Generate code, docs, and tests with AI
tatva init
Initialize a new project with zero configuration
$ tatva init <framework> <project-name> [options]Supported Frameworks
nextjs
Next.js with App Router, TypeScript, Tailwind CSS
$ tatva init nextjs my-appreact
React with Vite, TypeScript, Tailwind CSS
$ tatva init react my-appfastapi
FastAPI with async/await, SQLAlchemy, Pydantic
$ tatva init fastapi my-apiexpress
Express.js with TypeScript, ES modules
$ tatva init express my-apiOptions
| Option | Description |
|---|---|
--no-git | Skip git initialization |
--template | Use a specific template variant |
tatva deploy
Deploy your application to cloud platforms with automatic framework detection
$ tatva deploy --provider <vercel|netlify|both> [options]Features
- 🔍 Automatic framework detection (Next.js, React, etc.)
- 📦 Auto-install Vercel/Netlify CLI if missing
- 🔐 Guided authentication setup
- 🚀 Production and preview deployments
- ✅ Post-deployment verification
Options
| Option | Description |
|---|---|
--provider | vercel, netlify, or both |
--prod | Deploy to production |
--preview | Deploy preview/staging |
--yes / -y | Skip all confirmation prompts |
Examples
Deploy to Vercel (production)
$ tatva deploy --provider vercel --prodDeploy preview to both platforms
$ tatva deploy --provider both --previewAutomated deployment (skip prompts)
$ tatva deploy --provider vercel --yestatva commit
AI-powered commit message generation following conventional commits
$ tatva commit [options]Features
- 🤖 AI-generated commit messages using local models
- 📝 Follows conventional commit format
- 🎯 Context-aware based on changed files
- ⚡ Auto-stage and push options
Options
| Option | Description |
|---|---|
--message / -m | Custom commit message |
--push | Push after commit |
More Commands
tatva scan
Deep analysis of your codebase structure, dependencies, and complexity
$ tatva scantatva ai ask
Ask questions about your project using local AI models
$ tatva ai ask "How does auth work?"tatva dev
Start development servers with intelligent process management
$ tatva devtatva summary
Generate comprehensive project summaries and documentation
$ tatva summaryNeed Help?
Run any command with --help to see detailed usage information
$ tatva --help