From 7a69edd03f7276b1ced4e51ddbc4dc7ce27b2ba1 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Mon, 5 Aug 2024 17:34:52 +0100 Subject: [PATCH] Print to use gen-sdk instead of pulumi-java-gen --- pkg/cmd/pulumi-java-gen/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cmd/pulumi-java-gen/main.go b/pkg/cmd/pulumi-java-gen/main.go index 36453d116fb..d5eec0f9de3 100644 --- a/pkg/cmd/pulumi-java-gen/main.go +++ b/pkg/cmd/pulumi-java-gen/main.go @@ -22,6 +22,7 @@ import ( ) func main() { + fmt.Printf("pulumi-java-gen is deprecated, use `pulumi schema gen-sdk --language java` instead\n") if err := newPulumiJavaGenCmd().Execute(); err != nil { _, err := fmt.Fprintf(os.Stderr, "An error occurred: %v\n", err) contract.IgnoreError(err)