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

Add a PYAPP_EXPOSE_ALL_COMMANDS environment variable to expose all the management commands by default #134

Merged
merged 6 commits into from
May 23, 2024

Conversation

FlorentClarret
Copy link
Contributor

@FlorentClarret FlorentClarret commented May 23, 2024

I used PyApp and enabled all the management commands, so I ended up with this:

PYAPP_EXPOSE_PIP: 1
PYAPP_EXPOSE_PYTHON: 1
PYAPP_EXPOSE_CACHE: 1
PYAPP_EXPOSE_METADATA: 1
PYAPP_EXPOSE_PYTHON_PATH: 1

This PR introduces the PYAPP_EXPOSE_ALL_COMMANDS environment variable that would enable all of them if it is set to 1 or true. Users can still explicitly disable some commands if they want to, e.g.:

PYAPP_EXPOSE_ALL_COMMANDS: 1
PYAPP_EXPOSE_PIP: 0

build.rs Outdated Show resolved Hide resolved
docs/runtime.md Outdated Show resolved Hide resolved
Copy link
Owner

@ofek ofek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much!

@ofek ofek merged commit 4aed37f into ofek:master May 23, 2024
12 checks passed
github-actions bot pushed a commit that referenced this pull request May 23, 2024
…the management commands by default (#134)

Co-authored-by: Ofek Lev <[email protected]> 4aed37f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants