lokalise / lokalise-cli-2-go

Lokalise CLI v2
Other
108 stars 52 forks source link

Have the ability to pass the --token var via Environment Variables #95

Open jamesrwu opened 2 years ago

jamesrwu commented 2 years ago

Given that tokens should be secret, it would be nice if the lokalise CLI supported reading token values from Env Vars so that we don't have to type out sensitive secrets out in shell commands.

B-Galati commented 1 year ago

That would be really to have for project_id too so that we avoid long CLI command like:

lokalise --token ${LOKALISE_TOKEN} --project-id ${LOKALISE_PROJECT_ID} ....

And like @jamesrwu said, it's better for security by design.