Skip to main content

Commands Overview

Quick reference for all Tracks CLI commands.

Available Commands​

tracks new​

Create a new Tracks application with production-ready structure and database support.

tracks db​

Manage database migrations. Subcommands:

  • tracks db migrate - Apply pending migrations
  • tracks db rollback - Roll back last migration
  • tracks db status - Show migration status
  • tracks db reset - Reset database (rollback all, reapply)

tracks version​

Display version, commit, and build information.

tracks help​

Show help information for any command.

Global Flags​

All commands support these flags:

  • --json - Output in JSON format
  • --no-color - Disable colored output
  • --verbose, -v - Verbose output
  • --quiet, -q - Suppress non-error output
  • --help - Show help for command

See Output Modes for details on JSON and formatting options.

See Also​