CLI
stx projects
Manage Syntext projects without leaving your terminal. All subcommands require authentication — run stx login first.
Usage
stx projects <subcommand> [options]
Subcommands
| Subcommand | Description |
|---|---|
create <name> |
Create a new project |
list |
List your projects |
delete <projectId> |
Delete a project (irreversible) |
stx projects create
stx projects create "Acme Docs"
✔ Project created!
ID: prj_abc123
Name: Acme Docs
Slug: acme
Docs URL: https://acme-docs.syntext.dev
Connect this project to your local docs:
stx connect prj_abc123
| Flag | Description |
|---|---|
--json |
Output result as JSON |
Project creation is subject to your plan's limits. If you hit a limit, upgrade at syntext.dev/settings/billing.
stx projects list
stx projects list
✔ 2 projects
Acme Docs (pro)
ID: prj_abc123
URL: https://acme-docs.syntext.dev
Internal Wiki (free)
ID: prj_def456
URL: https://wiki-docs.syntext.dev
| Flag | Description |
|---|---|
--json |
Output projects as JSON |
stx projects delete
stx projects delete prj_abc123 --confirm
| Flag | Description |
|---|---|
--confirm |
Required — acknowledges the action is irreversible |
--json |
Output result as JSON |
Deleting a project removes its deployed doc site, builds, and analytics permanently. There is no undo.
Related
- stx connect — link local docs to a project
- stx login — authenticate the CLI
Was this page helpful?