2 Commits
Author SHA1 Message Date
Mogria 5bf3ee0000 create_example.php: added a #!-line and moved to bin directory 2012-01-08 18:59:35 +01:00
Mogria 3968949c0a Added a PHP script to create new examples (tests) via command line
Example of use:
    $ php create_example.php my_new_example
    /path/to/repo/examples/my_new_example
    /path/to/repo/examples/my_new_example/my_new_example.mustache
    /path/to/repo/examples/my_new_example/my_new_example.txt
    /path/to/repo/examples/my_new_example/MyNewExample.php
    $ cd examples/my_new_example/
    $ ls
    my_new_example.mustache  MyNewExample.php  my_new_example.txt
    $ cat MyNewExample.php
    <?php

    class MyNewExample extends Mustache {

    }
2012-01-08 17:11:19 +01:00