mobbl-doc-codegen

0.0.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i mobbl-doc-codegen

Weekly Downloads

2

Version

0.0.1

License

Apache-2.0

Last publish

Collaborators

  • sven-m