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-app

react

React with Vite, TypeScript, Tailwind CSS

$ tatva init react my-app

fastapi

FastAPI with async/await, SQLAlchemy, Pydantic

$ tatva init fastapi my-api

express

Express.js with TypeScript, ES modules

$ tatva init express my-api

Options

OptionDescription
--no-gitSkip git initialization
--templateUse 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

OptionDescription
--providervercel, netlify, or both
--prodDeploy to production
--previewDeploy preview/staging
--yes / -ySkip all confirmation prompts

Examples

Deploy to Vercel (production)

$ tatva deploy --provider vercel --prod

Deploy preview to both platforms

$ tatva deploy --provider both --preview

Automated deployment (skip prompts)

$ tatva deploy --provider vercel --yes

tatva 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

OptionDescription
--message / -mCustom commit message
--pushPush after commit

More Commands

tatva scan

Deep analysis of your codebase structure, dependencies, and complexity

$ tatva scan

tatva 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 dev

tatva summary

Generate comprehensive project summaries and documentation

$ tatva summary

Need Help?

Run any command with --help to see detailed usage information

$ tatva --help