Skip to content

Alternate Uses

Dewayne VanHoozer edited this page Jul 6, 2022 · 4 revisions

Alternate Uses

justprep is basically a brain-dead m4 and I don't mean Apple Silicon but I am looking forward to Apple's M5 SOC to see how close they come to the Star Trek version.

If you ignore the "module" processing of the fake module convention, then what justprep is basically a single-level text file includer. It does not necessarily have to target a CLI task runner such as JUST. It might be useful for other workflows as well.

In version 1.2.4 the --no-brag option/flag was added. See No brag, just fact. for more details about this option.

Currently justprep supports the processing of one file at a time using the JUSTPREP_FILENAME_IN and JUSTPREP_FILENAME_OUT system environment variables to define the context.

What if JUSTPREP_FILENAME_IN were a directory rather than a file? Same thing for JUSTPREP_FILENAME_OUT as a directory. Then when justprep is run it looks at every file in the input directory for those JUSTPREP_KEYWORDS when found it does the inclusion process and puts the resulting file with the same filename into the JUSTPREP_FILENAME_OUT directory.

That capability does not currently exists but maybe it would be useful.

Clone this wiki locally