Re: Does the Import/Export tool have scriptable options?
If by scripting, you mean using a command line interface (CLI), then no, the only options are '-e' or '--export' followed by filename, and '-f' or '--format' to specify the export format.
As you probably realize, use of filters allows a lot of flexibility in what is exported, but it has to be done via the GUI.
If you are ambitious, then you can write some python code (scripts) which can probably do what you are after 🤔. But it would take quite a bit of study to figure out how to do that as you would be interacting with the guts of Gramps, where the only real documentation is the code itself.