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
| command | description |
|---|---|
init | create a new profile file interactively |
validate | validate a file against its schema |
preview | start 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/.