macOS
brew install hcleditlocal Homebrew formula metadata
安装
brew install hcleditlocal Homebrew formula metadata
nix profile install nixpkgs#hcleditnixpkgs package indexes · pkgs/by-name/hc/hcledit/package.nix · 来源: api.github.com
概览
Command-line editor for HCL
历史
hcledit is a command-line editor for HCL2 files. It is aimed at automation-friendly edits of attributes, blocks, bodies, and formatting while preserving the token stream well enough to avoid discarding comments.
The repository was created on January 1, 2020, after HCL2 had become the dominant syntax for Terraform-era infrastructure configuration. The README describes the tool as originally born for refactoring Terraform configurations, but deliberately schemaless so it is not bound to Terraform itself.
The tool found a narrow audience among infrastructure engineers who needed repeatable HCL rewrites in shell scripts and CI tasks. Its distribution history is similarly compact: GitHub releases, a Homebrew tap/formula path, source builds with Go, and Nix packaging recorded in the batch input.
hcledit reads from stdin or a file, writes to stdout or updates in place, and exposes subcommands for attribute get/set/move/remove, block listing and mutation, whole-body extraction, and formatting. Its value is token-based mutation rather than evaluation of a provider or Terraform module.
For package-manager users, hcledit is the HCL counterpart to focused text-structure tools such as jq or yq, but constrained to HCL syntax and Terraform-style refactoring chores. It is useful precisely because it avoids a dependency on a specific application's schema.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
hcledit | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/minamijoyo/hcledit
安装元数据
| 软件包键 | brew:hcledit |
|---|---|
| 版本 | 0.2.18 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/hcledit |
| 主页 | https://github.com/minamijoyo/hcledit |
| 仓库 | https://github.com/minamijoyo/hcledit |
| 上游文档 | https://github.com/minamijoyo/hcledit#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/minamijoyo/hcledit/archive/refs/tags/v0.2.18.tar.gz |
| 最后更新 | 2026-05-05T18:52:16Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | hcledit |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
hcledit
nix profile install nixpkgs#hcledit来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.