@mako-spec/cli
v0.2.0
Published
CLI tool for validating, inspecting, and benchmarking MAKO files
Downloads
178
Maintainers
Readme
@mako-spec/cli
Command-line tool for the MAKO protocol — validate, inspect, and scaffold .mako.md files.
Install
npm install -g @mako-spec/cliOr use with npx:
npx @mako-spec/cli validate "content/**/*.mako.md"Commands
mako validate <pattern>
Validate one or more MAKO files against the spec.
mako validate "content/**/*.mako.md"
mako validate product.mako.md --strictmako inspect <file>
Display detailed info about a MAKO file — frontmatter, actions, links, body stats, and validation status.
mako inspect content/product.mako.md
mako inspect content/product.mako.md --jsonmako init <file>
Generate a new .mako.md file from a template.
mako init content/product.mako.md --type product --entity "Nike Air Max 90" --lang en
mako init content/article.mako.md --type article --entity "Getting Started with MAKO"