Khosrow Moossavi
e3a19ea9dd
Move pkg/tfconf to internal/terraform
...
Originally pkg/tfconf was set to be public to be used by plugin
developers, but these structs have to be defined by plugin-sdk and as
such it's moved to internal/terraform to be only used by terraform-docs
core project.
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com >
2021-01-26 15:39:30 -05:00
Khosrow Moossavi
63750c1784
fix: Normalize last empty line of the generated output ( #336 )
...
Generated output will not have any empty line or
carriage return at the end of the last line and
one carriage return (\n) will be added when we
print that to stdout.
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com >
2020-10-15 18:51:30 -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
04a9ef49eb
refactor: Refactor cli implemention and configuration ( #266 )
...
* Refactor cli implemention and configuration
* cleanup
2020-05-20 22:21:19 -04:00
Khosrow Moossavi
c196c7cc49
refactor: Add factory function to return format types ( #243 )
2020-04-10 19:08:37 -04:00
Khosrow Moossavi
40bd96be44
docs: Enhance automatic document generation ( #227 )
...
* Enhance automatic document generation
* update contribuor guide
* fix broken link
2020-03-29 18:17:55 -04:00
Khosrow Moossavi
9043f268ad
feat: Add support for tfvars hcl and json commands ( #226 )
...
* Add support for tfvars hcl and json commands
* fix docs generation header issue
* align padding of hcl tfvars items
* add more tests
* update docs
* wording
2020-03-27 15:02:09 -04:00
Khosrow Moossavi
01c8fa1c61
feat: Add support for fetching the module header from any file ( #217 )
...
* Add support for fetching the module header from any file
* fix the failing test because of lines reader
2020-03-12 13:58:35 -04:00
Khosrow Moossavi
b716a25811
feat: Add support for XML renderer ( #198 )
...
* Add support for XML renderer
* formatting
* update docs
2020-02-26 14:44:50 -05:00
Khosrow Moossavi
38e18970ed
refactor: Introduce Format interface and expose to public pkg ( #195 )
...
* Introduce format interface and expose to public pkg
* fix issues after merge
* don't panic
* Rename TFString back to String
2020-02-19 14:07:10 -05:00
Khosrow Moossavi
d4a0663909
refactor: Add tfconf.Options to load Module with ( #193 )
2020-02-11 14:56:02 -05:00
Khosrow Moossavi
54ab7f9bbb
docs: Auto generate formats document from examples ( #192 )
...
* Auto generate formats document from examples
* fix lint issues
2020-02-10 20:53:57 -05:00