sqlalchemyseed.cli ================== .. py:module:: sqlalchemyseed.cli .. autoapi-nested-parse:: Command-line interface for seeding a database from data files. Module Contents --------------- .. py:function:: build_parser() -> argparse.ArgumentParser Build the argument parser for the ``sqlalchemyseed`` command. .. py:function:: collect_files(paths) -> list Expand each path into data files, walking directories in sorted order. .. py:function:: load_file(path: pathlib.Path, model=None) -> dict Load entities from a single data file, dispatching on its extension. .. py:function:: main(argv=None) -> int Entry point for the ``sqlalchemyseed`` command.