Skip to content

Adds --process-parts Option

Pre-release
Pre-release
Compare
Choose a tag to compare
@anewton1998 anewton1998 released this 08 Dec 22:43
· 42 commits to master since this release

This release adds the --process-parts option.

The --process-parts option extracts parts of a JCR file into multiple files based
on comments in the file. It can also create a new file without the
comments. This is useful for JCR going into specification documents
where it is nice to break the JCR up for illustrative purposes in
the specification but to also have one JCR file for programmatic
testing purposes.

The file parts are extracted using the comments

; start_part FILENAME

and

; end_part

The comments must also be the only thing present on the line
though leading whitespace is allowed if desired.

To get a new file with all parts but these comments, use this

; all_parts FILENAME