@rediagram/cli
v0.1.6
Published
CLI for rediagram.
Downloads
7
Readme
@rediagram/cli
CLI for rediagram.
Usage
rediagramc
This command will generate images at once by pattern matching **/*.rediagram.tsx
.
$ rediagramc
You can also specify the pattern yourself.
$ rediagramc "**/*.graph.tsx"
Help
$ rediagramc -h
Usage: rediagramc [options] [pattarns...]
Options:
-V, --version output the version number
-w, --watch Watch files for changes and rerun rediagram related to
changed files. (default: false)
-h, --help display help for command
Installation
The plugin can then be installed using npm:
# yarn
yarn add -D @rediagram/cli
# or npm
npm install --save-dev @rediagram/cli
Requirement
This project requires Graphviz. If you don't have it installed, install it here.
License
This software is released under the MIT License, see LICENSE.