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

app nu_plugin_hcl

A nushell plugin for parsing Hashicorp Configuration Language file format

7 releases (breaking)

0.90.1 Feb 8, 2024
0.87.1 Nov 29, 2023
0.83.0 Jul 26, 2023
0.82.0 Jun 28, 2023
0.1.0 May 16, 2023

#1398 in Parser implementations

Download history 15/week @ 2024-02-06 105/week @ 2024-02-13 14/week @ 2024-02-20 12/week @ 2024-02-27 1/week @ 2024-03-05 7/week @ 2024-03-12 8/week @ 2024-03-26 37/week @ 2024-04-02

53 downloads per month

MIT and maybe CC-PDDC

17KB
124 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

~15–49MB
~739K SLoC