Generates ember generate mu-resource ...
commands and dispatcher rules from a domain.lisp file by introspecting the resulting model.
docker build -t semtech/mu-cl-resources-ember-generator .
docker run -v [folder containing domain.lisp]:/config semtech/mu-cl-resources-ember-generator
Before exiting, the program outputs ember generate mu-resource ...
commands and dispatcher rules. The commands have to be run in the root of an Ember project. See the mu-resource blueprint documentation for more information and options.
The rules can be copied and pasted in a dispatcher.ex file.
The ember generate mu-resource ...
command takes a --readonly
flag. To generate commands with this flag set, run the generator with the environment variable READONLY
set to any value.
docker run -v [folder containing domain.lisp]:/config --env READONLY=t semtech/mu-cl-resources-ember-generator