Files

23 lines
831 B
Go
Raw Permalink Normal View History

// Copyright IBM Corp. 2020, 2026
// SPDX-License-Identifier: MPL-2.0
2020-05-14 17:06:23 -07:00
package main
import (
2020-09-15 19:56:43 -04:00
"github.com/hashicorp/terraform-plugin-sdk/v2/plugin"
"repo.anhonesthost.net/CyberCoveLLC/terraform-provider-threshold/internal/provider"
2020-05-14 17:06:23 -07:00
)
2021-01-14 14:07:36 -08:00
// Run "go generate" to format example terraform files and generate the docs for the registry/website
// If you do not have terraform installed, you can remove the formatting command, but its suggested to
// ensure the documentation is formatted properly.
//go:generate terraform fmt -recursive ./examples/
// Run the docs generation tool, check its repository for more information on how it works and how docs
// can be customized.
//go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs
2020-05-14 17:06:23 -07:00
func main() {
plugin.Serve(&plugin.ServeOpts{ProviderFunc: provider.New})
}