27 lines
658 B
Plaintext
27 lines
658 B
Plaintext
---
|
|
title: Overview
|
|
description: Two CLIs — one to scaffold, one to run.
|
|
---
|
|
|
|
open-slide ships two CLIs:
|
|
|
|
- **`@open-slide/cli`** — the scaffolder. One command (`init`) to bootstrap
|
|
a new workspace.
|
|
- **`@open-slide/core`** — the runtime CLI. `dev`, `build`, `preview`, and
|
|
`sync:skills` for an existing workspace.
|
|
|
|
After `init`, `package.json` exposes the runtime CLI under standard scripts:
|
|
|
|
```json
|
|
{
|
|
"scripts": {
|
|
"dev": "open-slide dev",
|
|
"build": "open-slide build",
|
|
"preview": "open-slide preview",
|
|
"sync:skills": "open-slide sync:skills"
|
|
}
|
|
}
|
|
```
|
|
|
|
So in day-to-day use you'll just type `npm run dev`, `npm run build`, etc.
|