NarraLeaf

CLI

NarraLeaf command-line tooling for scaffolding, local development, builds, and project inspection.

The CLI package provides the narraleaf command used by NarraLeaf desktop projects.

narraleaf init my-visual-novel
cd my-visual-novel
narraleaf dev

Commands

What the CLI Reads

Each project command runs from the current working directory and expects:

  • package.json
  • narraleaf.config.js
  • the configured main entry
  • the configured renderer directory
  • renderer/App.tsx or renderer/App.jsx
  • renderer/pages
  • renderer/public

Use Project Config for the full config shape.

On this page