nu_plugin_hcl

Crates.ionu_plugin_hcl
lib.rsnu_plugin_hcl
version0.100.0
sourcesrc
created_at2023-05-16 15:25:44.896186
updated_at2024-11-22 15:43:35.815296
descriptionA nushell plugin for parsing Hashicorp Configuration Language file format
homepagehttps://github.com/Yethal/nu_plugin_hcl
repositoryhttps://github.com/Yethal/nu_plugin_hcl
max_upload_size
id866160
size63,331
(Yethal)

documentation

README

nu_plugin_hcl

This is a nushell plugin to parse Hashicorp Configuration Language files into nu structured types.

Installing

To add the plugin permanently, just install it and call register on it:

Using Cargo

cargo install nu_plugin_hcl
register ~/.cargo/bin/nu_plugin_hcl

Usage

open -r main.tf | from hcl | first 10
╭──────────┬──────────────────╮
│ provider │ {record 1 field} │
│ resource │ {record 1 field} │
╰──────────┴──────────────────╯
Commit count: 20

cargo fmt