10000 [feature] Provide environment variables to set defaults for certain moon run flags · Issue #1929 · moonrepo/moon · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[feature] Provide environment variables to set defaults for certain moon run flags #1929

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

Open
chadrik opened this issue Apr 22, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@chadrik
Copy link
Contributor
chadrik commented Apr 22, 2025

Is your feature request related to a problem? Please describe.

As a developer, I'd like to create my own preference for certain moon run flags so that I don't have to provide them on the CLI each time.

Describe the solution you'd like

Here are a handful of flags which users might want to enable in a semi-permanent way using environment variables:

--no-bail
--summary
--color
--dependents
--no-action

I propose we add the following environment variables:

MOON_NO_BAIL=1
MOON_SUMMARY=true
MOON_COLOR=True
MOON_DEPENDENTS=true
MOON_NO_ACTION=true

If you're open to this idea I can look into putting together a PR, unless you want to hammer it out real quick. Just let me know.

Describe alternatives you've considered

users could create wrapper scripts around moon run, but that's a huge pain in the ass.

@chadrik chadrik added the enhancement New feature or request label Apr 22, 2025
@chadrik chadrik changed the title [feature] Provide environment variable to set defaults for certain moon run flags [feature] Provide environment variables to set defaults for certain moon run flags Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant
0