TNT-Powered CLI

The TNT-Powered CLI is a powerful tool designed to streamline the creation and management of TNT and TNT-Powered projects.

Installation

Install the CLI globally using your preferred package manager:

# Using Bun
bun add -g tnt-cli

# Using npm
yarn global add tnt-cli

# Using pnpm
pnpm add -g tnt-cli

Usage

Once installed, you can create a new TNT-powered project using:

tnt create my-app

Navigate to the project directory and start the development server:

cd my-app
bun dev

Commands

Here are some essential commands available in the CLI:

Create

tnt create <project-name>

Creates a new TNT-powered project.

Dev

tnt dev

Starts the development server.

Build

tnt build

Builds the project for production.

Configuration

You can configure your TNT-powered project using a tnt.config.ts file. Example:

export default {
  usePayload: true,
  database: "postgresql",
  storage: "s3",
}

Contributing

Contributions are welcome! Feel free to submit issues and pull requests on GitHub.


This is a placeholder page. More detailed documentation will be added soon.