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

Support JSON configuration #31

Closed
3 tasks done
instantiator opened this issue Feb 8, 2025 · 1 comment
Closed
3 tasks done

Support JSON configuration #31

instantiator opened this issue Feb 8, 2025 · 1 comment
Assignees

Comments

@instantiator
Copy link
Owner

instantiator commented Feb 8, 2025

Make it possible to provide config keys as a single JSON config value

  • with a JSON environment variable, ie. PRESENCE_CONFIG_JSON (see ConfigKeys)
  • with a parameter for Presence.Posting.Console
  • document the new config key and parameter
@instantiator instantiator moved this to In progress in Presence Feb 8, 2025
@instantiator
Copy link
Owner Author

JSON environment variable:

ConfigKeys.JSON_DATA_ENV_KEY = "PRESENCE_CONFIG_JSON";

Presence.Posting.Console parameter:

-j / --json-config <JSON>

Data is provided as a Dictionary<string,string> of key-value pairs in the same format as environment config strings.

@instantiator instantiator moved this from In progress to Done in Presence Feb 9, 2025
@instantiator instantiator closed this as completed by moving to Done in Presence Feb 9, 2025
@instantiator instantiator self-assigned this Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant