Skip to content

Instantly share code, notes, and snippets.

@dcbartlett
dcbartlett / pseudo.html
Created March 21, 2016 18:37 — forked from gsans/pseudo.html
Todo List pseudo-html
<root>
<add-todo>
<input><button>Add todo</button></input>
</add-todo>
<todo-list><ul>
<todo id="0" completed="false"><li>buy milk</li></todo>
</ul></todo-list>
<filters>
Show: <filter-link><a>All</a><filter-link> ... </filters>
</root>
var fs = require('fs-extra');
var wrench = require('wrench');
var exec = require('child_process').exec;
var path = require('path');
var sailsBin = path.resolve('./bin/sails.js');
/**
* Uses the Sails binary to create a namespaced test app
* If no appName is given use 'testApp'
*