Open ksonney opened 7 years ago
Bonus points if the config is read dynamically at runtime and the end user does not need to rebuild docker containers to get the new config.
This is actually very useful since you can currently use multiple instances of MastodonToTwitter by running it from different directories. It looks for the credentials in the current directory. But you have to use the same config, since that is loaded from the script.
The latest version supports a configuration file, but only one currently. I could update the script to allow the configuration file to be loaded from a custom path (e.g. using an environment variable).
As of the current codebase, in order the change the behavior of the app. you need t change at app source. It would be useful if the following could be set in a config file, and not source:
POST_ON_TWITTER POST_ON_MASTODON SPLIT_ON_TWITTER TOOT_VISIBILITY