mirror of
https://github.com/netbirdio/terraform-provider-netbird.git
synced 2026-05-22 17:13:16 -07:00
20 lines
637 B
Go
20 lines
637 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
//go:build generate
|
|
|
|
package tools
|
|
|
|
import (
|
|
_ "github.com/hashicorp/copywrite"
|
|
_ "github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs"
|
|
)
|
|
|
|
// Format Terraform code for use in documentation.
|
|
// If you do not have Terraform installed, you can remove the formatting command, but it is suggested
|
|
// to ensure the documentation is formatted properly.
|
|
//go:generate terraform fmt -recursive ../examples/
|
|
|
|
// Generate documentation.
|
|
//go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate --provider-dir .. -provider-name netbird
|