Skip to content

Commit

Permalink
feat: Add support for specify terraform-docs config file (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxymVlasov authored Oct 15, 2021
1 parent e6aad17 commit 25cddd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set -eo pipefail
main() {
initialize_
parse_cmdline_ "$@"
# Support for setting relative PATH to .terraform-docs.yml config.
ARGS=${ARGS/--config=/--config=$(pwd)\/}
terraform_docs_ "${ARGS[*]}" "${FILES[@]}"
}

Expand Down

0 comments on commit 25cddd9

Please sign in to comment.