summaryrefslogtreecommitdiff
path: root/sysutils/awslim/files/patch-cmd_awslim-gen_main.go
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2025-06-15 15:21:03 +0900
committerNorikatsu Shigemura <nork@FreeBSD.org>2025-06-15 15:21:03 +0900
commit29ce0be017f2ab434d218b051c21deffbf744a08 (patch)
tree3b8da43dbd8c0ac52939b4d8479538aa22fc4c91 /sysutils/awslim/files/patch-cmd_awslim-gen_main.go
parentnews/inn-current: Update to 20250610 (diff)
sysutils/awslim: New port
awslim is a CLI utility for AWS services. This is written in Go and generated from the AWS SDK Go v2 service client. Features include: - Improved performance compared to AWS CLI, - All methods of the AWS service client, - JSON and Jsonnet as input format, - JSON as output format (no support of TEXT), - Binding of a file to the input/output data structure of methods, - JMESPath to query the output, - AWS CLI configuration file (~/.aws/config) and the native configuration files (~/.config/awslim/config.(json|jsonnet|yaml|yml)). Approved by: hrs (mentor)
Diffstat (limited to 'sysutils/awslim/files/patch-cmd_awslim-gen_main.go')
-rw-r--r--sysutils/awslim/files/patch-cmd_awslim-gen_main.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/awslim/files/patch-cmd_awslim-gen_main.go b/sysutils/awslim/files/patch-cmd_awslim-gen_main.go
new file mode 100644
index 000000000000..568ffc4fb425
--- /dev/null
+++ b/sysutils/awslim/files/patch-cmd_awslim-gen_main.go
@@ -0,0 +1,12 @@
+--- cmd/awslim-gen/main.go.orig 2025-04-11 13:35:01 UTC
++++ cmd/awslim-gen/main.go
+@@ -10,8 +10,7 @@ import (
+ "text/template"
+ )
+
+-//go:generate go run ../awslim-gen-gen/main.go
+-//go:generate go get ./...
++//go:generate ${GO_CMD} run ../awslim-gen-gen/main.go
+
+ const serviceTemplateStr = `// Code generated by cmd/awslim-gen/main.go; DO NOT EDIT.
+ package sdkclient