Overview of hcledit features
masterhcledit is a CLI-friendly, schemaless HCL2 editor designed for automation and refactoring (e.g., Terraform configurations).
Key features:
- Token-based editing: Updates HCL files without losing existing comments.
- CLI-first: Reads from
stdinand writes tostdoutby default, making it easy to pipe commands. - Schemaless: Does not depend on a specific HCL application schema.
- Operations: Supports attribute manipulation (
append,get,mv,replace,rm,set), block manipulation (append,get,list,mv,new,rm), body retrieval, and formatting.