- toot references consistently use dot notation
- console_print statement with old print() comma use fixed
- change the way new lines are created in final message
Makes code more DRY by moving printing logic into a function.
Checks for --quiet and --hide_skipped are now in this function.
Checks for --datestamp also in this function.
Also makes code easier to test.
Move all logic for processing each individual toot out of check_batch to a top level function.
This is partially to enable easier testing and partially to make the codebase easier to read through and understand.
This moves the input() statements into four separate functions taking values.
The main reason for doing so was to allow for unit testing, however it also makes the init() function a little clearer.
Also, potentially, these input functions can now be used by other functions in future.
This commit updates ephemetoot for version 3.0.0-alpha.0
Version 3 is designed to be installed from PyPi rather than GitHub. This means the default plist and config files will not be available.
- updates to directory structure
- add --init flag for initiating a config file
- change --schedule so that it saves the plist file directly to ~/Library/LaunchAgents
- update documentation
- new README just for PyPi
This commit adds a --retry-mins option to enable users to choose how many minutes pass
between attempts to retry a toot deletion when there is an error.
Also re-organises documentation and bumps version to 2.6.
This new option suppresses most logging, except for very basic information (which account is being worked on, and how many toots were deleted).
Exception messages are not suppressed.