Skip to content

Commit e538044

Browse files
committed
update help
1 parent 717c3c0 commit e538044

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pkg/loop/cmd/loopinstall/main.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,20 @@ Examples:
117117
# Install plugins sequentially
118118
loopinstall -s plugins.default.yaml
119119
120-
# Install plugins with environment variable overrides
120+
# Install plugins with go flags variable overrides
121121
CL_PLUGIN_GOFLAGS="-ldflags='-s'" loopinstall plugins.default.yaml
122122
123+
# Install plugins with custom environment variables
124+
CL_PLUGIN_ENVVARS="GOOS=linux GOARCH=amd64 CGO_ENABLED=0" loopinstall plugins.default.yaml
125+
123126
Environment Variables:
124127
CL_PLUGIN_GOFLAGS Override the goflags option from the configuration
128+
CL_PLUGIN_ENVVARS Space-separated list of environment variables to set during installation (for example for cross-compilation)
125129
126130
Plugin Configuration Format:
127131
defaults:
128132
goflags: "" # Default Go build flags
133+
envvars: [] # Default environment variables
129134
130135
plugins:
131136
plugin-type:

0 commit comments

Comments
 (0)