Add a simple command line interface#63
Conversation
Can be run as 'pycaption' or by calling 'python -m pycaption'
|
Hi, I use my own (forked) library as a cli for this library at this moment (https://github.com/vladiibine/pycaption-cli), but that is only because as I said, we don't have a better way to integrate the new parameters that will be used in a future version. |
|
Thanks for the comment, I'll take a look when the new version is released. |
|
Closing this PR — it's from 2015 and the code no longer works with Python 3 (args.input.read().decode() crashes on text-mode file objects). The reader/writer APIs have also grown significantly since then with parameters that a CLI would need to expose. If we add CLI support in the future, it'll be a fresh implementation accounting for current reader/writer options and the modern project structure. Thanks for the original contribution. |
Can be run as 'pycaption' or by calling 'python -m pycaption'