RedditVideoMakerBot
RedditVideoMakerBot copied to clipboard
Basic CLI functions
Description
Added 2 arguments to main.py.
--post-id to specify post-id from command line.
--run-many use run many function from command line.
Issue Fixes
None
Checklist:
- [x] I am pushing changes to the develop branch
- [x] I am using the recommended development environment
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have formatted and linted my code using python-black and pylint
- [x] I have cleaned up unnecessary files
- [x] My changes generate no new warnings
- [x] My changes follow the existing code-style
- [x] My changes are relevant to the project
Any other information (e.g how to test the changes)
Run main.py with CLI arguments
Does settings post_id in the config still work? And does running with the post id param override that?
Setting post_id in the config still works, the param doesn’t work. I’ll fix that in my next commit.
The command arguments now have priority over the config. If there are no commands, the config will still work.