Crates.io | nu_plugin_hcl |
lib.rs | nu_plugin_hcl |
version | 0.100.0 |
source | src |
created_at | 2023-05-16 15:25:44.896186 |
updated_at | 2024-11-22 15:43:35.815296 |
description | A nushell plugin for parsing Hashicorp Configuration Language file format |
homepage | https://github.com/Yethal/nu_plugin_hcl |
repository | https://github.com/Yethal/nu_plugin_hcl |
max_upload_size | |
id | 866160 |
size | 63,331 |
This is a nushell plugin to parse Hashicorp Configuration Language files into nu
structured types.
To add the plugin permanently, just install it and call register
on it:
cargo install nu_plugin_hcl
register ~/.cargo/bin/nu_plugin_hcl
open -r main.tf | from hcl | first 10
╭──────────┬──────────────────╮
│ provider │ {record 1 field} │
│ resource │ {record 1 field} │
╰──────────┴──────────────────╯