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

app nu_plugin_hcl

A nushell plugin for parsing Hashicorp Configuration Language file format

10 breaking releases

0.100.0 Nov 22, 2024
0.96.1 Aug 15, 2024
0.95.0 Jul 1, 2024
0.90.1 Feb 8, 2024
0.83.0 Jul 26, 2023

#80 in Configuration

Download history 177/week @ 2024-08-16 22/week @ 2024-08-23 3/week @ 2024-08-30 30/week @ 2024-09-13 19/week @ 2024-09-20 11/week @ 2024-09-27 2/week @ 2024-10-04 2/week @ 2024-11-01 1/week @ 2024-11-08 143/week @ 2024-11-22 11/week @ 2024-11-29

156 downloads per month

MIT and maybe CC-PDDC

18KB
186 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

~25–59MB
~1M SLoC