terradoc

package module
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

Table of Contents

terradoc

Terradoc is a lean helper tool that creates human readable documentation from HCL syntax.

Installing

To install terradoc using Go just run:

go install github.com/mineiros-io/terradoc/cmd/terradoc@<version>

Where is any terradoc version tag, or if you are feeling adventurous you can just install latest:

go install github.com/mineiros-io/terradoc/cmd/terradoc@latest

We put great effort into keeping the main branch stable, so it should be safe to use latest to play around, but not recommended for long term automation since you won't get the same build result each time you run the install command.

Go/Git configuration for private repositories

While this repository is private, there is some extra work in order to download and install it using go install. There is two main steps. First you need to configure git to use ssh instead of https:

git config --global url.git@github.com:.insteadOf https://github.com/

This only needs to be done once and will change the .gitconfig on your host. Then you should always export GOPRIVATE for our mineiros-io repos before running go install:

export GOPRIVATE=github.com/mineiros-io

More info here.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TemplateFS embed.FS

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL