mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
feat(web): add og image
This commit is contained in:
@@ -5,11 +5,11 @@ description: Complete reference for all CLI commands
|
||||
|
||||
## Overview
|
||||
|
||||
The Better-T Stack CLI provides several commands to manage your TypeScript projects.
|
||||
The Better-T-Stack CLI provides several commands to manage your TypeScript projects.
|
||||
|
||||
## `init` (Default Command)
|
||||
|
||||
Creates a new Better-T Stack project.
|
||||
Creates a new Better-T-Stack project.
|
||||
|
||||
```bash
|
||||
create-better-t-stack [project-directory] [options]
|
||||
@@ -59,7 +59,7 @@ create-better-t-stack --database postgres --backend hono --frontend tanstack-rou
|
||||
|
||||
## `add`
|
||||
|
||||
Adds addons or deployment configurations to an existing Better-T Stack project.
|
||||
Adds addons or deployment configurations to an existing Better-T-Stack project.
|
||||
|
||||
```bash
|
||||
create-better-t-stack add [options]
|
||||
@@ -89,7 +89,7 @@ create-better-t-stack add --web-deploy wrangler
|
||||
|
||||
## `sponsors`
|
||||
|
||||
Displays Better-T Stack sponsors.
|
||||
Displays Better-T-Stack sponsors.
|
||||
|
||||
```bash
|
||||
create-better-t-stack sponsors
|
||||
@@ -99,7 +99,7 @@ Shows a list of project sponsors and supporters.
|
||||
|
||||
## `docs`
|
||||
|
||||
Opens the Better-T Stack documentation in your default browser.
|
||||
Opens the Better-T-Stack documentation in your default browser.
|
||||
|
||||
```bash
|
||||
create-better-t-stack docs
|
||||
|
||||
@@ -91,7 +91,7 @@ create-better-t-stack --disable-analytics
|
||||
create-better-t-stack --no-disable-analytics
|
||||
```
|
||||
|
||||
Analytics help improve Better-T Stack by providing insights into usage patterns. When disabled, no data is collected or transmitted.
|
||||
Analytics help improve Better-T-Stack by providing insights into usage patterns. When disabled, no data is collected or transmitted.
|
||||
|
||||
## Database Options
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
---
|
||||
title: Programmatic API
|
||||
description: Use Better-T Stack programmatically in your Node.js applications
|
||||
description: Use Better-T-Stack programmatically in your Node.js applications
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
||||
The Better-T Stack CLI can be used programmatically in your Node.js applications, allowing you to create projects, add features, and manage configurations through JavaScript/TypeScript code instead of shell commands.
|
||||
The Better-T-Stack CLI can be used programmatically in your Node.js applications, allowing you to create projects, add features, and manage configurations through JavaScript/TypeScript code instead of shell commands.
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -78,13 +78,13 @@ const result = await init("my-private-project", {
|
||||
});
|
||||
```
|
||||
|
||||
> **Note:** Analytics help improve Better-T Stack by providing insights into usage patterns. When disabled, no data is collected or transmitted.
|
||||
> **Note:** Analytics help improve Better-T-Stack by providing insights into usage patterns. When disabled, no data is collected or transmitted.
|
||||
|
||||
## API Reference
|
||||
|
||||
### `init(projectName?, options?)`
|
||||
|
||||
Creates a new Better-T Stack project.
|
||||
Creates a new Better-T-Stack project.
|
||||
|
||||
**Parameters:**
|
||||
- `projectName` (string, optional): Project name or directory path
|
||||
@@ -104,7 +104,7 @@ const result = await init("my-project", {
|
||||
|
||||
### `sponsors()`
|
||||
|
||||
Display Better-T Stack sponsors (same as CLI).
|
||||
Display Better-T-Stack sponsors (same as CLI).
|
||||
|
||||
**Returns:** `Promise<void>`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user