databio / bulker

Manager for multi-container computing environments
https://bulker.io
BSD 2-Clause "Simplified" License
24 stars 2 forks source link

Bulker inspect currently active crate #42

Open nsheff opened 4 years ago

nsheff commented 4 years ago

It would be nice to have a way to notify the user of what crate is currently active. This could be done by loading an environment variable upon activation, and reading that environment variable upon check.

Also, a way to show which commands are provided by the currently active crate.

What if multiple crates are active? So the environment variable should be an ordered list of activated crates.

nsheff commented 4 years ago

the first part of this now works; there's a $BULKERCRATE env var listing the currently active crate.

nsheff commented 3 years ago

This works now for individual crates; but if multiple crates are activated, it only shows the information from the last one.