feat: CLI support

echo '{{ "hello" | capitalize }}' | liquidjs
This commit is contained in:
harttle
2019-08-01 13:15:55 +08:00
parent c8c6dd8275
commit fc045b5bbc
4 changed files with 44 additions and 0 deletions
+6
View File
@@ -98,6 +98,12 @@ engine
.then(console.log) // outputs "Alice"
```
Or from the CLI:
```bash
echo '{{ "hello" | capitalize }}' | liquidjs
```
## Use with Express.js
```javascript