You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/plugin_developer_guide.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1295,3 +1295,27 @@ The CLI SDK provides an API to retrieve both the public endpoint and private end
1295
1295
A CLI plugin should maintain backward compatibility within a major version, but MAY introduce incompatible changes in command format, parameters, or behavior in a major release of the plugin.
1296
1296
1297
1297
When a new major version of a plugin introduces incompatible changes, support for the prior major version of the plugin may only be withdrawn one year from an official deprecation notice for that version of the plugin.
1298
+
1299
+
## 11. Building
1300
+
1301
+
A CLI plug-in can be built for numerous architectures. For example: `Win64`, `Linux64`, `Linux64 ARM`, `MacOS`, and `MacOS ARM(M1)`. Below are a list of commands you can use for building these architectures.
1302
+
1303
+
1304
+
```bash
1305
+
# WIN64
1306
+
env GOOS=windows GOARCH=amd64 go build
1307
+
1308
+
# Linux64
1309
+
env GOOS=linux GOARCH=amd64 go build
1310
+
1311
+
# Linux64 ARM
1312
+
env GOOS=linux GOARCH=arm64 go build
1313
+
1314
+
# MacOS
1315
+
env GOOS=darwin GOARCH=amd64 go build
1316
+
1317
+
# MacOS ARM(M1)
1318
+
env GOOS=darwin GOARCH=arm64 go build
1319
+
```
1320
+
1321
+
To view other possible combinations of GOOS and GOARCH run the command: `go tool dist list`
0 commit comments