Static File generation made simple
This tool is the result of some frustration with making static webpages. It's a command-line-tool which parses files, including the content of referenced files, and outputs the result to stdout.
Referencing a file works like this:
>>>"./includes/snippets/header.html"
>>>"includes/snippets/header.html"
>>>"../snippets/header.html"
<!-- >>>"includes/header.html" -->
// >>>"modules/slider.js"
- Include files in files
- Needs to be tested with very large files
- Create Man-Page for maximal command-line-streetcred
- Clarify/Check behavior for recursive includes, maybe prohibit going up a folder
gcc -froot_macos_linux.c -o froot
(ToDo)
./froot ./relative/path/to/sourcefile.html
froot.exe relative\path\to\sourcefile.html