Command-line tool for the MAKO protocol — validate, inspect, and scaffold .mako.md files.
npm install -g @mako-spec/cliOr use with npx:
npx @mako-spec/cli validate "content/**/*.mako.md"Validate one or more MAKO files against the spec.
mako validate "content/**/*.mako.md"
mako validate product.mako.md --strictDisplay 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 --jsonGenerate 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"