@holdenmatt/spectree-cli
v0.0.9
Published
CLI for the spectree markdown preprocessor
Readme
@holdenmatt/spectree-cli
CLI for the SpecTree markdown preprocessor (includes, vars, extends).
- Install (global):
npm install -g @holdenmatt/spectree-cli - Docs: https://github.com/holdenmatt/spectree#cli
- Full README: https://github.com/holdenmatt/spectree#readme
Usage
spectree <input path> [--var key=value]Examples:
spectree README.md
spectree spec.md --var name=Matt
spectree template.md > output.mdNotes:
- Includes resolve relative to the input file's directory.
- Variables passed with
--varoverride frontmatter values.
Local usage without global install:
npx @holdenmatt/spectree-cli ./path/to/input.mdOptions
--var <key=value>: Set a variable (repeatable).
Requirements
- Node.js 18+ recommended.
License
MIT
