Closed HariAmoor-professional closed 10 months ago
You can import existing YAML directly into Nickel with import
statement, see section “Export & Import” in https://nickel-lang.org/getting-started.
Exactly what I need, thanks!
Re-reading the getting started page, I just realized it's not up to date with the latest CLI syntax, just so you know! Going to fix that right away.
My organization needs to maintain a Helm repo, alongside some Pulumi YAML, in our configuration. We'd like to autogenerate everything with Nix and Nickel, but I'm trying to understand how to import an existing YAML file into Nickel (given Nix store path) and deserialize it to play around with in the language.
Is there some solution for this either in Nickel stdlib or organist?