mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 06:03:25 +00:00
Settings via ENV vars #214
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tofuSCHNITZEL on GitHub.
Hi,
would it be possible to enable the settings (like provider etc.) via environment variables?
there are a lot of gui implementations for docker (e.g. in synology nas or plesk) that only allow the setting of env vars and not adding something to the run command.
thanks!
cheers
Tobias
@paolafrancesca commented on GitHub:
merged to master, thanks @tofuSCHNITZEL
@paolafrancesca commented on GitHub:
hello @tofuSCHNITZEL
that sould be pretty easy and some of the settings can be already provided by environment variables (see https://github.com/dutchcoders/transfer.sh/blob/master/cmd/cmd.go#L103)
I'm not sure when I'll have time to do it so you're welcome if you want to open a PR for it.
@tofuSCHNITZEL commented on GitHub:
its as easy as adding the "EnvVar" to all the flags?
if so... done: https://github.com/dutchcoders/transfer.sh/pull/304