Skip to content

juanisidoro/mako-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@mako-spec/cli

Command-line tool for the MAKO protocol — validate, inspect, and scaffold .mako.md files.

Install

npm install -g @mako-spec/cli

Or 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 --strict

mako 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 --json

mako 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"

Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors