@tulis-js/cli
v0.1.13
Published
Developer-first publishing framework for technical books and documentation.
Maintainers
Readme
@tulis-js/cli
Official command-line interface for Tulis, the developer-first publishing framework for technical books and documentation.
Installation
# Scaffold a project directly with npx
npx @tulis-js/cli new my-book
# Or install globally
npm install -g @tulis-js/cliUsage
tulis --helpCommands Overview
tulis new [name]: Scaffold a standalone Tulis book project directory withpackage.jsonand config.tulis dev [name]: Start the live-reloading dev server powered programmatically by Astro and@tulis-js/renderer.tulis build <name>: Build static web output for a book project.tulis publish [name]: Publish a book to various targets (web,pdf,epub,print).tulis chapter new <title>: Scaffold a new chapter file with auto-incrementedorderfrontmatter.tulis theme <action> [name]: Manage installed themes.tulis plugin <action> [name]: Manage installed plugins.tulis doctor: Run environment and dependency diagnostics.tulis upgrade: Upgrade framework packages.
Local Monorepo Development
When developing inside the Tulis monorepo:
# Build the CLI
pnpm -F @tulis-js/cli build
# Execute local binary
node packages/cli/dist/index.js new my-bookFor comprehensive documentation, see docs/cli-guide.md.
