#configuration-language #nushell-plugin #config-parser #hcl #nushell #file-parser #hashi-corp

app nu_plugin_hcl

A nushell plugin for parsing Hashicorp Configuration Language file format

11 breaking releases

new 0.102.0 Mar 18, 2025
0.100.0 Nov 22, 2024
0.97.1 Aug 21, 2024
0.95.0 Jul 1, 2024
0.83.0 Jul 26, 2023

#471 in Configuration

Download history 11/week @ 2024-11-30 34/week @ 2024-12-07 4/week @ 2024-12-14 2/week @ 2025-02-22 2/week @ 2025-03-01 83/week @ 2025-03-15

87 downloads per month

MIT and maybe CC-PDDC

17KB
180 lines

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}
╰──────────┴──────────────────╯

Dependencies

~26–55MB
~1M SLoC