Commit Graph

332 Commits

Author SHA1 Message Date
Khosrow Moossavi
38316ec246 chore: Custom order of changelog items (#245)
* Custom order of changelog items

* Use forked built of git-chglog instead of upstream

* Update Changelog
2020-09-07 11:59:00 -04:00
dependabot[bot]
d6e8352c79 build: bump github.com/zclconf/go-cty from 1.6.0 to 1.6.1 (#321)
* build: bump github.com/zclconf/go-cty from 1.6.0 to 1.6.1

Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/zclconf/go-cty/releases)
- [Changelog](https://github.com/zclconf/go-cty/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zclconf/go-cty/compare/v1.6.0...v1.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

* go mod tidy

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-09-04 10:47:45 -04:00
dependabot[bot]
4de4aa2ac1 build: bump golang from 1.14.6 to 1.15.1 (#320)
Bumps golang from 1.14.6to 1.15.1.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-02 15:46:33 -04:00
Khosrow Moossavi
bde90257a3 build: Add Docker to dependabot file (#319) 2020-09-02 15:36:10 -04:00
dependabot-preview[bot]
5be6c1596a build: Create Dependabot config file (#317)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-02 15:31:43 -04:00
dependabot[bot]
59c157c818 build(deps): bump mislav/bump-homebrew-formula-action from v1.4 to v1.7 (#318)
Bumps [mislav/bump-homebrew-formula-action](https://github.com/mislav/bump-homebrew-formula-action) from v1.4 to v1.7.
- [Release notes](https://github.com/mislav/bump-homebrew-formula-action/releases)
- [Commits](https://github.com/mislav/bump-homebrew-formula-action/compare/v1.4...a603237caf97716bdb5b4b8b4abc807f675e6e88)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-02 15:22:47 -04:00
John Losito
5fcf555e1c build: Allow dependabot to update github action versions (#310) 2020-09-02 15:14:53 -04:00
dependabot-preview[bot]
e9cd8aa774 build(deps): bump github.com/zclconf/go-cty from 1.5.1 to 1.6.0 (#316)
* build(deps): bump github.com/zclconf/go-cty from 1.5.1 to 1.6.0

Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/zclconf/go-cty/releases)
- [Changelog](https://github.com/zclconf/go-cty/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zclconf/go-cty/compare/v1.5.1...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* go mod tidy

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-09-01 14:55:55 -04:00
Khosrow Moossavi
9729ec8f92 fix: Normalize variables with CRLF line ending in heredoc (#307) 2020-08-13 09:02:08 -04:00
dependabot-preview[bot]
c531384455 build(deps): bump github.com/imdario/mergo from 0.3.10 to 0.3.11 (#306)
* build(deps): bump github.com/imdario/mergo from 0.3.10 to 0.3.11

Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo) from 0.3.10 to 0.3.11.
- [Release notes](https://github.com/imdario/mergo/releases)
- [Commits](https://github.com/imdario/mergo/compare/v0.3.10...v0.3.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* go mod tidy

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-08-12 19:51:44 -04:00
Tomoya Chiba
1f12a88406 Fix typo in docs/CONFIG_FILE.md (#304)
Modified `markdonw` → `markdown`
2020-08-06 21:24:46 -04:00
Alexandre Chaussier
7329e47a7c Fix typo in README (#303) 2020-08-04 21:21:37 -04:00
Jason Swails
be8d639057 Fix typo in README (#300) 2020-07-30 10:49:19 -04:00
Khosrow Moossavi
39d84b62eb Upgrade actions stages (#299)
* Upgrade actions stages

* upgrade to go 1.14.6
2020-07-27 19:18:56 -04:00
dependabot-preview[bot]
bf8da72301 build(deps): bump github.com/imdario/mergo from 0.3.9 to 0.3.10 (#295)
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo) from 0.3.9 to 0.3.10.
- [Release notes](https://github.com/imdario/mergo/releases)
- [Commits](https://github.com/imdario/mergo/compare/v0.3.9...v0.3.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-20 10:19:15 -04:00
Julien Duchesne
52653b5107 fix: Render special chars in variables' default value properly (#284)
* Fix: No longer crashes when there are special chars in a variable default

* Do not escape chars everywhere

* Cleanup go.mod
2020-07-17 13:13:50 -04:00
Khosrow Moossavi
f71c2a360c docs: Overall improvements to documentation (#293) 2020-07-16 21:24:24 -04:00
Khosrow Moossavi
5fee49676b Fix faulty CI job on docker releases 2020-07-14 13:11:14 -04:00
Khosrow Moossavi
651635f329 Update Changelog v0.10.0-rc.1 2020-07-13 22:13:24 -04:00
Khosrow Moossavi
67a983b10f Release version v0.10.0-rc.1 2020-07-13 22:13:21 -04:00
Khosrow Moossavi
fd97ec5930 feat: Add support for .terraform-docs.yml config file (#272)
* Add support for .terraform-docs.yml config file

* add config reader

* add usage documentation and reference guide

* typo

* update docs
2020-07-13 22:06:30 -04:00
dependabot-preview[bot]
04375a6c6a build(deps): bump github.com/go-test/deep from 1.0.6 to 1.0.7 (#290)
* build(deps): bump github.com/go-test/deep from 1.0.6 to 1.0.7

Bumps [github.com/go-test/deep](https://github.com/go-test/deep) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/go-test/deep/releases)
- [Changelog](https://github.com/go-test/deep/blob/master/CHANGES.md)
- [Commits](https://github.com/go-test/deep/compare/v1.0.6...v1.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* tidy

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-07-13 12:45:18 -04:00
Khosrow Moossavi
38a86cbdc5 feat: Build and push docker image (#289) 2020-07-11 19:36:55 -04:00
Khosrow Moossavi
dfeaaecdc4 Migrate to github.com/terraform-docs org (#288)
* Migrate to github.com/terraform-docs org

* remove codecov token

* update maintenance notice in README
2020-07-06 19:43:25 -04:00
Khosrow Moossavi
6e259baf87 docs: Add detail about module header usage guide (#282) 2020-06-27 16:14:38 -04:00
dependabot-preview[bot]
9357d775f1 build(deps): bump github.com/zclconf/go-cty from 1.5.0 to 1.5.1 (#280)
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/zclconf/go-cty/releases)
- [Changelog](https://github.com/zclconf/go-cty/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zclconf/go-cty/compare/v1.5.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-27 15:42:25 -04:00
Ryan King
57de612e29 fix 'doccs' typo (#279)
s/doccs/docs/
2020-06-24 11:54:05 -04:00
dependabot-preview[bot]
2720f2c35b build(deps): bump github.com/zclconf/go-cty from 1.4.2 to 1.5.0 (#277)
* build(deps): bump github.com/zclconf/go-cty from 1.4.2 to 1.5.0

Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/zclconf/go-cty/releases)
- [Changelog](https://github.com/zclconf/go-cty/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zclconf/go-cty/compare/v1.4.2...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* mod tidy

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-06-12 13:21:50 -04:00
dependabot-preview[bot]
cd912b1d3f build(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1 (#274)
* build(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.0...v1.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* tidy vendor

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-06-05 13:19:47 -04:00
dependabot-preview[bot]
8f2e271754 build(deps): bump github.com/hashicorp/hcl/v2 from 2.5.1 to 2.6.0 (#273)
* build(deps): bump github.com/hashicorp/hcl/v2 from 2.5.1 to 2.6.0

Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/v2.6.0/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.5.1...v2.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* tidy vendor

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-06-05 13:14:58 -04:00
dependabot-preview[bot]
cd09faf4c4 build(deps): bump github.com/zclconf/go-cty from 1.4.1 to 1.4.2 (#271)
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/zclconf/go-cty/releases)
- [Changelog](https://github.com/zclconf/go-cty/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zclconf/go-cty/compare/v1.4.1...v1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-02 19:38:41 -04:00
dependabot-preview[bot]
36be49175a build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0 (#268)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-30 18:56:17 -04:00
Khosrow Moossavi
e0404399a7 feat: Add new flags: --show, --show-all, --hide-all (#267)
* Add new flags: --show, --show-all, --hide-all

* add deprecated flags to Config

* update docs

* add implementation for new flags

Examples:

- hide all sections except one (or more): `terraform-docs --hide-all --show <name> ...`
- show all sections except one (or more): `terraform-docs --show-all --hide <name> ...`
2020-05-25 12:08:52 -04:00
Khosrow Moossavi
04a9ef49eb refactor: Refactor cli implemention and configuration (#266)
* Refactor cli implemention and configuration

* cleanup
2020-05-20 22:21:19 -04:00
Khosrow Moossavi
085cac0c54 Update Changelog 2020-05-20 11:49:45 -04:00
Khosrow Moossavi
23c50e0ad8 refactor: Deprecate multiple flags in favor of new ones (#265)
BREAKING CHANGE: - Following flags have been deprecated and will be
removed in the following releases:

  - Flag `--no-color` has been deprecated, use `--color=false` instead

  - Flag `--no-escape` has been deprecated, use `--escape=false` instead

  - Flag `--no-header` has been deprecated, use `--hide header` instead

  - Flag `--no-inputs` has been deprecated, use `--hide inputs` instead

  - Flag `--no-outputs` has been deprecated, use `--hide outputs` instead

  - Flag `--no-providers` has been deprecated, use `--hide providers` instead

  - Flag `--no-requirements` has been deprecated, use `--hide requirements` instead

  - Flag `--no-required` has been deprecated, use `--required=false` instead

  - Flag `--no-sensitive` has been deprecated, use `--sensitive=false` instead

  - Flag `--no-sort` has been deprecated, use `--sort=false` instead
2020-05-20 11:49:25 -04:00
Khosrow Moossavi
8de80061fe Put terraform-docs imports after 3rd-party packages (#264) 2020-05-19 18:18:15 -04:00
dependabot-preview[bot]
027e6dfac6 build(deps): bump github.com/zclconf/go-cty from 1.4.0 to 1.4.1 (#263)
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/zclconf/go-cty/releases)
- [Changelog](https://github.com/zclconf/go-cty/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zclconf/go-cty/compare/v1.4.0...v1.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-19 12:09:25 -04:00
Khosrow Moossavi
dfa9e97d45 Update Changelog 2020-05-14 12:41:42 -04:00
Khosrow Moossavi
b397b7d46b feat: Add support for TOML renderer (#197)
* Add support for TOML renderer

* Add kind:formatter to toml command

* update docs

* adjust tests after merge

* fix after merge

* adjust tests after merge

* update docs

* remove vendor leftovers

* update doc

* update tests
2020-05-14 12:41:21 -04:00
dependabot-preview[bot]
6ed89d2769 build(deps): bump github.com/hashicorp/hcl/v2 from 2.5.0 to 2.5.1 (#262)
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/v2.5.1/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.5.0...v2.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-14 10:06:17 -04:00
dependabot-preview[bot]
342db66d96 build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 3.0.0 (#260)
* build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0

Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.2.8 to 2.3.0.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.8...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* bump gopkg.in/yaml to v3

* set indentation to 2

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-05-13 18:53:01 -04:00
Khosrow Moossavi
8d9c54f1df build(deps): bump github.com/spf13/cobra from 0.0.7 to 1.0.0 (#261) 2020-05-13 11:45:59 -04:00
Khosrow Moossavi
342f474287 Add explicit issue templates for bug and feature request (#257) 2020-05-07 16:14:53 -04:00
dependabot-preview[bot]
6034c1034b build(deps): bump github.com/hashicorp/hcl/v2 from 2.4.0 to 2.5.0 (#254)
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/v2.5.0/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.4.0...v2.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-07 10:29:35 -04:00
Khosrow Moossavi
f944987c90 Remove vendor folder from repo (#249)
* remove vendor folder

* appease staticcheck

* rename to verify

* fix test coverage job
2020-05-02 19:20:43 -04:00
Khosrow Moossavi
fbbf01e451 Read header from .adoc, .md and .txt file as well (#252)
* Allow reading header from a markdown file

* wording

* add supports for .adoc and .txt as well

* wording

* revert docs

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-04-29 15:30:48 -04:00
dependabot-preview[bot]
5aaf499280 build(deps): bump github.com/go-test/deep from 1.0.5 to 1.0.6 (#250)
* build(deps): bump github.com/go-test/deep from 1.0.5 to 1.0.6

Bumps [github.com/go-test/deep](https://github.com/go-test/deep) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/go-test/deep/releases)
- [Changelog](https://github.com/go-test/deep/blob/master/CHANGES.md)
- [Commits](https://github.com/go-test/deep/compare/v1.0.5...v1.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* update vendor

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-04-22 14:09:20 -04:00
dependabot-preview[bot]
29d3c523db build(deps): bump mvdan.cc/xurls/v2 from 2.1.0 to 2.2.0 (#248)
* build(deps): bump mvdan.cc/xurls/v2 from 2.1.0 to 2.2.0

Bumps [mvdan.cc/xurls/v2](https://github.com/mvdan/xurls) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/mvdan/xurls/releases)
- [Commits](https://github.com/mvdan/xurls/compare/v2.1.0...v2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* update vendors

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-04-17 12:56:25 -04:00
dependabot-preview[bot]
7b68f3cf0e build(deps): bump github.com/hashicorp/hcl/v2 from 2.3.0 to 2.4.0 (#247)
* build(deps): bump github.com/hashicorp/hcl/v2 from 2.3.0 to 2.4.0

Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/v2.4.0/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.3.0...v2.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* update vendors

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-04-14 11:21:22 -04:00