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

Accept systems properties as well as environment variables #106

Closed
ianagbip1oti opened this issue Mar 25, 2018 · 0 comments
Closed

Accept systems properties as well as environment variables #106

ianagbip1oti opened this issue Mar 25, 2018 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers s T-Shirt size S

Comments

@ianagbip1oti
Copy link
Member

Currently ErisCasper accepts configuration via environment variables (e.g., EC_TOKEN=my.bot.token).

Java projects often respect system properties as well (e.g., -Dec.token=my.bot.token)

We should accept either. If both are given, prioritize the environment variable setting.

@ianagbip1oti ianagbip1oti added enhancement New feature or request good first issue Good for newcomers s T-Shirt size S labels Mar 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers s T-Shirt size S
Development

No branches or pull requests

1 participant