@glyphmoe/cli
v1.0.3
Published
CLI for building and testing Glyph extensions
Readme
@glyphmoe/cli
CLI toolchain for building and testing Glyph novel reader extensions.
Requirements
- Node.js >= 20
Installation
Installed automatically as a devDependency when you scaffold a project:
npx create-glyph-extension my-extensionsOr add it manually:
npm install -D @glyphmoe/cliCommands
| Command | Description |
|---------|-------------|
| glyph dev [--port] [--open] | Development server with hot reload and LAN access |
| glyph build | Production build with validation |
| glyph test [-- vitest args] | Run tests with embedded runtime setup |
| glyph validate [--typecheck] [--tests] [--smoke] [--fix] [--ci] | Validate extensions |
| glyph add <source-id> | Scaffold a new source in your project |
License
MIT
