Skip to main content

CLI

declared-md is a Node.js CLI for creating, validating, and previewing declared-md profile files.


install​

no install required -- use via npx:

npx declared-md <command>

or install globally:

npm install -g declared-md

commands​

commanddescription
initcreate a new profile file interactively
validatevalidate a file against its schema
previewstart a local server to preview the profile

version​

npx declared-md --version

source​

the CLI source is at github.com/declared-md/validator.

JSON schemas are in github.com/declared-md/spec under schemas/.