#!/usr/bin/env bash

if [ $# != 2 ]; then
    echo 'tools/make-block-wiki <path> <block-name>
      <path> : like "blocks/"
<block-name> : like "b-form-button"'
else
    TOOLS=$(dirname $0)
    node ${TOOLS}/make-block-wiki.js $1 $2 | ${TOOLS}/remove-esc
fi
