Skip to content

Command line interface

Kostiantyn Shchepanovskyi edited this page Jul 18, 2015 · 2 revisions
$ java -jar protostuff-compiler-cli-2.0.0-SNAPSHOT-jar-with-dependencies.jar --help
usage: protostuff-compiler [options] proto_files
 -d,--debug               Show debug information.
 -h,--help                Print this message.
 -I,--proto_path <path>   Specify the directory in which to search for
                          imports.  May be specified multiple times;
                          directories will be searched in order.  If not
                          given, the current working directory is used.
 -o,--output <name>       Specify an output directory for saving generated
                          files.
 -t,--template <name>     Specify an output for compiler:
                          * html - generate HTML documentation from given
                          proto files;
                          * proto - generate proto files, possibly apply
                          additional transformations;
 -v,--verbose             Be verbose.
Clone this wiki locally