@rediagram/cli

0.1.6 • Public • Published

npm version License: MIT code style: prettier PRs Welcome

@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.

Readme

Keywords

none

Package Sidebar

Install

npm i @rediagram/cli

Weekly Downloads

1

Version

0.1.6

License

MIT

Unpacked Size

11.2 kB

Total Files

6

Last publish

Collaborators

  • kamiazya