Reads text provided to the application on startup.
This modules creates a single document from text provided to Wyam on startup. In most cases, this will be text or file contents
"piped" to the Wyam.exe via the command line from a file or prior chained executable. Also known as "Standard Input" or "STDIN".
Examples
An example of piping the output of a prior executable to Wyam.
AnotherProgram.exe | Wyam.exe
An example of redirecting the contents of a file to Wyam.
Wyam.exe < my_initial_document.txt
This would read the application input, and write it to a file called "stdin.html"
Pipelines.Add("StandardInputDoc",
ReadApplicationInput(),
Meta("WritePath", "stdin.html"),
WriteFiles()
);
Usage
ReadApplicationInput()