Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Artifact ID: | b60f4b6504491c31c3804072012687df200bb147 |
---|---|
Page Name: | Ismene |
Date: | 2016-01-09 23:44:12 |
Original User: | nalck |
Mimetype: | text/x-markdown |
Content
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.