https://github.com/buildertools/go-flash
Write the contents of an environment variable to the named path.
https://github.com/buildertools/go-flash
Last synced: about 1 month ago
JSON representation
Write the contents of an environment variable to the named path.
- Host: GitHub
- URL: https://github.com/buildertools/go-flash
- Owner: buildertools
- License: apache-2.0
- Created: 2019-08-20T21:22:41.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-20T21:51:40.000Z (almost 7 years ago)
- Last Synced: 2025-12-18T18:11:18.262Z (6 months ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-flash
Writes the content of an environment variable to a named file.
## Using it
The `flash` program expects exactly two arguments. The first is the name of an environment variable. The second is the name of an output file. The environment variable must be set. The output file must not already exist. Non-existant paths will be created automatically.
## Licensing
See the [LICENSE](LICENSE) file.
## Building it
It is pure Go. Run `go build`. Or maybe some variation like:
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags='-s -w -extldflags "-static"'