Closed PhilippvK closed 1 month ago
@thomasgoodfellow Feel free to have a look at this. This is a minimal "hack" to expose the transforms to be called from python while still using the "cmdline-fist" approach. The migration to a more powerful api (which will especially be helpful for sharing common code) can be done later as proposed in #54
See #81
Changes:
get_parser
functionsmain
torun
which expects argparse namespacemain
handling cmdline args__init__.py
. Example:from .transform import main as InferTypes
use_subprocess
argument to each transform passuse_subprocess
andlog_level
for transform passesTODOs: