Well, I didn't use argparse so it's not as robust as it could be (but it's really simple), but my recent PR provides command line arguments.
On Saturday, October 23, 2021 at 9:44:52 PM UTC-4 Edward K. Ream wrote: > See PR #2292 <https://github.com/leo-editor/leo-editor/pull/2292>. > > You can now invoke the plugin outside of Leo this way: > ... > > 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/79911b08-5e27-4015-99cc-b9f6d407fbdbn%40googlegroups.com.
