Command line tools

Malline comes with two simple scripts that are meant to be executed from command line.

scripts/html2mn.rb

html2mn converts valid static HTML files to Malline templates. It could be patched to convert RHTML files to Malline, but it doesn't do that yet.

usage: html2mn.rb <input file> <output file>
Default input and output are stdin/stdout.

bin/malline

bin/malline is a stand-alone Malline interpreter. It treats the input like it was a .mn -file.

usage: malline <input file> <output file>
Default input and output are stdin/stdout.


No comments
Write a one

Write a new comment on this page