Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulker inspect currently active crate #42

Open
nsheff opened this issue Jan 9, 2020 · 2 comments
Open

Bulker inspect currently active crate #42

nsheff opened this issue Jan 9, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@nsheff
Copy link
Member

nsheff commented Jan 9, 2020

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 nsheff added the enhancement New feature or request label Jan 9, 2020
@nsheff
Copy link
Member Author

nsheff commented Mar 23, 2020

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

nsheff added a commit that referenced this issue Mar 23, 2020
@nsheff
Copy link
Member Author

nsheff commented Mar 25, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant