mobbl-doc-codegen
The MOBBL Document Code Generator is a NodeJS command line tool that enables the user to easily generate Objective-C/Java classes from Document definitions in projects using MOBBL.
Installation:
$ npm install -g mobbl-doc-codegen
Usage:
$ mobbl-doc-codegen [options]
Options:
-h, --help output usage information
-V, --version output the version number
-c, --config <config> Path of mobbl config directory. Defaults to the current directory
-o, --output <output directory> Path of output directory name. Should not exist. Defaults to "./generated"
-L, --language <language> Output language: objc or java. Defaults to both.
Example run:
$ mobbl-doc-codegen --config /path/to/mobbl/config/ --language java
This will scan /path/to/mobbl/config/
for every XML file with a <Document>
definition and output generated Java code to ./generated
.