Install following CLI tools:
-
$ npm install apiary-blueprint-parser
NOTE: Requires local installation of Node.js (>0.8)
-
Apiary Blueprint AST Convertor
$ gem install apiary_blueprint_convertor
-
$ gem install matter_compiler
Given a legacy Apiary bluerpint file legacy_blueprint.apib
run the following
$ node_modules/apiary-blueprint-parser/bin/blueprint-parser legacy_blueprint.apib | apiary_blueprint_convertor | matter_compiler --format json > new_blueprint.md
Not tested on Windows.
This pipeline does not insert FORMAT: 1A at the top. Shouldn't it?