load("@this//:secret-to-environment.star", "secretToEnvironment") def echoSecret(secret): return 'echo "export {environment}=??? ${environment}" >> ***filename*** # {secret}'.format( secret = secret, environment = secretToEnvironment(secret), )