1
1
mirror of https://github.com/tweag/nickel.git synced 2024-09-11 11:47:03 +03:00
nickel/examples/imports
Pim Snel d918a7c02e
Add two examples: imports and foreach pattern (#1387)
* add install info using homebrew on macos

* Update README.md

Fix markdownlint-cli not being happy

* add two examples: imports and foreach pattern

* changes according to review suggestions

* Format new Nickel examples

* Add missing test annotations to examples

* Fix failing example annotations

* Make sure the test TOML parser doesn't choke

---------

Co-authored-by: Yann Hamdaoui <yann.hamdaoui@gmail.com>
Co-authored-by: Yann Hamdaoui <yann.hamdaoui@tweag.io>
Co-authored-by: Viktor Kleen <vkleen+github@17220103.de>
2023-07-06 11:47:21 +00:00
..
data_groups.json Add two examples: imports and foreach pattern (#1387) 2023-07-06 11:47:21 +00:00
data_machines.toml Add two examples: imports and foreach pattern (#1387) 2023-07-06 11:47:21 +00:00
data_nickel_properties.ncl Add two examples: imports and foreach pattern (#1387) 2023-07-06 11:47:21 +00:00
data_users.yml Add two examples: imports and foreach pattern (#1387) 2023-07-06 11:47:21 +00:00
imports.ncl Add two examples: imports and foreach pattern (#1387) 2023-07-06 11:47:21 +00:00
README.md Add two examples: imports and foreach pattern (#1387) 2023-07-06 11:47:21 +00:00

Various Imports

This example shows how Nickel can transparently import common serialization formats.

Run

nickel -f imports.ncl export