See PR #2292 <https://github.com/leo-editor/leo-editor/pull/2292>.
You can now invoke the plugin outside of Leo this way:
python -m leo.plugins.picture_viewer
At present the code isn't flexible. The main function calls:
Slides().run(
c=None,
delay=1000,
full_screen=True,
reset_zoom=True,
sort_kind='random',
verbose=False,
)
This is good enough for me, but it would be better to use Python's argparse
module to set the various kwargs from the command-line. All contributions
gratefully accepted :-)
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/11ea5787-c2f9-47fb-9a76-35faceebf3cdn%40googlegroups.com.