Skip to content

A Hashicorp Configuration Language plugin for nushell

License

Notifications You must be signed in to change notification settings

Yethal/nu_plugin_hcl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2be6d71 · Nov 22, 2024

History

20 Commits
Nov 22, 2024
Jul 1, 2024
Nov 22, 2024
Nov 22, 2024
Nov 22, 2024
May 16, 2023
May 16, 2023
May 16, 2023

Repository files navigation

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