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:
@@ -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