8 lines
278 B
Plaintext
8 lines
278 B
Plaintext
|
load("@this//:secret-to-environment.star", "secretToEnvironment")
|
||
|
|
||
|
def echoSecret(secret):
|
||
|
return 'echo "export {environment}=???" >> ***filename*** # {secret}'.format(
|
||
|
secret = secret,
|
||
|
environment = secretToEnvironment(secret), # .replace("-", "_").upper()
|
||
|
)
|