@jolli.ai/site-cli
v0.2.1
Published
Jolli site-generation CLI plugin — commander-shaped wrapper around the private @jolli.ai/site-core library (bundled inline). Loaded by the open-source @jolli.ai/cli when both packages are installed together; adds the `new`, `build`, `dev`, `start`, `conve
Keywords
Readme
@jolli.ai/site-cli
CLI plugin that adds documentation site-generation commands to the open-source @jolli.ai/cli. Loaded automatically when both packages are installed together.
Installation
npm install -g @jolli.ai/cli @jolli.ai/site-cliOnce both are installed, the following commands become available:
jolli new— Scaffold a new documentation projectjolli build— Build a static site with search indexingjolli dev— Start a dev server with hot reloadjolli start— Build and serve a production sitejolli convert— Convert a documentation folder to Nextra-compatible structurejolli reverse— Reverse-engineer asite.jsonfrom a build outputjolli theme— Manage documentation themes
Without @jolli.ai/site-cli installed, the host CLI displays these commands as stubs that prompt the user to install this package.
Architecture
This package is a commander-shaped shell around a private framework-agnostic core library (@jolli.ai/site-core, never published — bundled inline into this package at build time). The same core library powers the Jolli web tool. On top of the core, this package adds:
- Commander command definitions
- File I/O wrappers (
ContentMirror,NextraProjectWriter, theme management) - Subprocess orchestration (
NpmRunner,PagefindRunner) - Dev server file watching
See src/Plugin.ts for the host integration entry point.
License
Elastic License 2.0 (ELv2). You may use, copy, modify, and redistribute this package — see LICENSE for the full terms.
ELv2 is a source-available license; it is not OSI-approved open source. The two limitations to be aware of:
- You may not provide
@jolli.ai/site-clito third parties as a hosted or managed service that exposes a substantial set of its features to your users. - You may not modify or remove the license terms or copyright notices.
@jolli.ai/site-cli ships with the framework-agnostic @jolli.ai/site-core library bundled inline into dist/Plugin.js at build time. site-core is never published to npm independently — the only licensed artifact users receive is this package, under ELv2.
