Commit Graph

11 Commits

Author SHA1 Message Date
Alexandre-Silva
45475ec77e Add test for --source flag and pull request suggestions
Add a demo/sourcing.vars file to be used by the associated demo
script.

Modified mo argument parsing so that --help and --source=file do not need
to be the first arguments for mo. And can in fact appear after or in the
middle of filenames.
2016-07-21 15:16:46 +01:00
Alexandre-Silva
f9aea51163 mo can now source a script before parsing templates 2016-07-21 12:47:26 +01:00
Tyler Akins
b16d73b5a7 Updates for how to source "mo" and then use it
When you source mo, it adds the "mo" function to the environment.
2015-08-27 09:44:04 -05:00
Tyler Akins
140d4ec350 Adding example to illustrate how to get properties
This is supporting information to demonstrate one way to address the
user's issues - see issue #5.
2015-05-05 11:06:04 -05:00
Tyler Akins
5810520546 Using the "mo" from this repository 2015-05-05 11:04:41 -05:00
Tyler Akins
5dfb1cd96a Better associative array handling
Bug:  Did not properly detect the length of an array in mustache-test
because I neglected to use `[@]` after the array name.  This closes
issue #6.

Feature:  Made {{ARRAY_NAME}} implode array values with commas.

Feature:  Added an associative array demo script.
2015-05-05 10:46:06 -05:00
Tyler Akins
6a6aadca50 Adding more demo files 2015-01-28 09:44:44 -06:00
Robin Kearney
0465586d7e Update important-file 2015-01-28 09:25:51 +00:00
Tyler Akins
6625042c4e Newlines now match up with what you'd expect 2015-01-23 18:07:30 +00:00
Tyler Akins
c90d0af323 Forcing script execution to be in a particular directory 2015-01-23 17:47:31 +00:00
Tyler Akins
1151ec0a9e Initial commit 2015-01-23 17:43:08 +00:00