inetum-orleans / docker-devbox-ddb

Erase environment differences, make developers happy !
https://inetum-orleans.github.io/docker-devbox-ddb
MIT License
4 stars 1 forks source link

Allow global binary registration #185

Closed Toilal closed 3 years ago

Toilal commented 3 years ago

It may be useful in some cases to have binary registered globaly for associated binary shim to be available outside of the project directory.

When a global binary shim is invoked, it should temporarly activate the project where it's defined and run the command as usual.

It should also be possible to register any executable file as a global binary, so it's automatically registered in global path when activating the module for the first time. There should be a way to unregister all those global binaries too, either per project or system-wide.