hhctl CLI and Terraform provider for Hammerhead

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
VeillaxandClaude Sonnet 5.5 committed 2026-10-27 17:02:15 -06:00
commit bf340cdab4
19 files changed
+2442

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
// Command terraform-provider-hammerhead is the Terraform provider for Hammerhead.
package main
import (
"context"
"flag"
"log"
"github.com/hashicorp/terraform-plugin-framework/providerserver"
"git.veillax.com/Veillax/hhctl/internal/provider"
)
var version = "dev"
func main() {
debug := flag.Bool("debug", false, "run with support for debuggers")
flag.Parse()
err := providerserver.Serve(context.Background(), provider.New(version), providerserver.ServeOpts{
Address: "registry.terraform.io/veillax/hammerhead",
Debug: *debug,
})
if err != nil {
log.Fatal(err)
}
}