Files in the top-level directory from the latest check-in of branch trunk
- _build
- config
- lib
- test
- ismene
- LICENSE
- mix.exs
- README.md
Ismene
Summary:
Ismene processes embedded Elixir (EEx) templates. For our
purposes, the template must contain <%= yield %>
. Ismene
replaces that with the contents of whatever file is
specified by the --input
argument.
Usage:
./ismene --input [file]
./ismene --template [file.eex]
./ismene --output [file]
./ismene --help Prints this help message.
For example, let's turn a screed into a blog post:
$ ./ismene --input screed.txt --template blog.eex --output blog.html
References:
Complete documentation for EEx can be found online: http://elixir-lang.org/docs/stable/eex/EEx.html
Installation
To test Ismene, run mix escript.build
. That will generate the
executable.