1.5.1 • Published 4 years ago

nomnoml-watch v1.5.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

nomnoml-watch

published npm version

npx package to watch and automatically compile nomnoml diagram files in the current directory.

usage flow

Description

nomnoml is a really cool tool to describe (UML) diagrams in a simple text format and then generate images from them for visual representation.

nomnoml-watch is a very simple program that watches *.nomnoml files in the current directory and automatically compiles them to SVG images on every change.

Quick usage

  • Have some *.nomnoml files in your current directory.
  • Run npx nomnoml-watch!

Command line arguments

Usage: nomnoml-watch [options]

Options:
  -V, --version              output the version number
  -1, --once                 run only once and then exit (default: false)
  -d, --import-depth <type>  maximum depth allowed when importing external files (default: 20)
  -h, --help                 display help for command

TODO / Planned features

  • add CLI argument parsing
  • then add --import-depth argument
  • then add --once flag for one-off runs
  • build dependency/import graph of files
  • automatically re-compile files when imported files change

Troubleshooting

If you encounter issues, watch the command line output while nomnoml-watch is running.

If you have import issues, you may have reached the import depth limit, resulting in an orange "end" visual, or the imported file is not found, resulting in a red "end" visual. Check the tests/ folder for some examples.

Other rendering issues should be reported to the original nomnoml project here: https://github.com/skanaar/nomnoml/issues

License

MIT

1.5.1

4 years ago

1.5.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.1

4 years ago