mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-19 14:30:38 -07:00
feat!: take CLI template as positional argument
Make template a required positional arg (drop --template) for v11 per #586; stdin template remains unsupported without a special error. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -46,7 +46,7 @@ npm install liquidjs
|
||||
**CLI**
|
||||
|
||||
```bash
|
||||
npx liquidjs --template 'Hello, {{ name }}!' --context '{"name": "Liquid"}'
|
||||
npx liquidjs 'Hello, {{ name }}!' --context '{"name": "Liquid"}'
|
||||
```
|
||||
|
||||
See the [setup guide][setup] for partials, layouts, caching, and other options.
|
||||
|
||||
Reference in New Issue
Block a user