#hashi-corp

app nu_plugin_hcl

A nushell plugin for parsing Hashicorp Configuration Language file format

9 breaking releases

0.97.1 Aug 21, 2024
0.95.0 Jul 1, 2024
0.90.1 Feb 8, 2024
0.87.1 Nov 29, 2023
0.83.0 Jul 26, 2023

#11 in #hashi-corp

Download history 160/week @ 2024-06-27 23/week @ 2024-07-04 229/week @ 2024-08-15 48/week @ 2024-08-22 3/week @ 2024-08-29 29/week @ 2024-09-12 18/week @ 2024-09-19 13/week @ 2024-09-26 2/week @ 2024-10-03

62 downloads per month

MIT and maybe CC-PDDC

18KB
166 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–59MB
~1M SLoC