Now that Artsy has more and more apps migrating to Kubernetes, it would be be helpful to be able to bootstrap a local development .env from that environment as well.
Hokusai makes this easy, thanks to the hokusai staging env get command.
This PR adds the ability to choose a source (Heroku or Hokusai) and use the appropriate command to fetch the staging environment variables before copying.
The default is Heroku, so a simple copy_env should work the same as before:
copy_env # same as before
copy_env heroku # same as before
copy_env hokusai # will copy the hokusai staging env
Now that Artsy has more and more apps migrating to Kubernetes, it would be be helpful to be able to bootstrap a local development
.env
from that environment as well.Hokusai makes this easy, thanks to the
hokusai staging env get
command.This PR adds the ability to choose a source (Heroku or Hokusai) and use the appropriate command to fetch the staging environment variables before copying.
The default is Heroku, so a simple
copy_env
should work the same as before: