criteo / command-launcher

A command launcher 🚀 made with ❤️
https://criteo.github.io/command-launcher
MIT License
36 stars 8 forks source link

Pass package directory to the command as an environment variable #101

Closed bhou closed 1 year ago

bhou commented 1 year ago

Command launcher command sometimes needs to access the package resources on runtime. It will be convenient if command launcher could pass the absolute package directory to the command as a resource: COLA_PACKAGE_DIR.

bhou commented 1 year ago

A new environment variable COLA_PACKAGE_DIR is introduced in v1.18.0