BSD Ports

textproc/terraform-docs 0.24.0 OpenBSD

documentation generator for Terraform

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Pavel Korovin <[email protected]>
Categories
textproc, lang/go

Description

A utility to generate documentation from Terraform modules in various output formats.

terraform-docs asciidoc ./my-terraform-module # asciidoc table terraform-docs asciidoc table ./my-terraform-module # asciidoc table terraform-docs asciidoc document ./my-terraform-module # asciidoc document terraform-docs json ./my-terraform-module # json terraform-docs markdown ./my-terraform-module # markdown table terraform-docs markdown table ./my-terraform-module # markdown table terraform-docs markdown document ./my-terraform-module # markdown document terraform-docs pretty ./my-terraform-module # colorized pretty terraform-docs tfvars hcl ./my-terraform-module # hcl format of terraform.tfvars terraform-docs tfvars json ./my-terraform-module # json format of terraform.tfvars terraform-docs toml ./my-terraform-module # toml terraform-docs xml ./my-terraform-module # xml terraform-docs yaml ./my-terraform-module # yaml

In the other systems

SystemPortVersion
OpenBSDtextproc/terraform-docs0.24.0
FreeBSDsysutils/terraform-docs0.24.0_6
NetBSDwip/terraform-docs0.12.1
DragonFlysysutils/terraform-docs0.19.0_3
MidnightBSDsysutils/terraform-docs0.15.0
HardenedBSDsysutils/terraform-docs0.24.0_4
GhostBSDsysutils/terraform-docs0.24.0_4

Install

Binary package:

pkg_add terraform-docs

From the ports tree:

cd /usr/ports/textproc/terraform-docs && make install

Dependencies

Build dependencies 2

No port depends on this one.