collective.transmute.commands#
The collective.transmute.commands module provides the following interfaces.
collective.transmute.commands.info#
collective.transmute.commands.report#
- collective.transmute.commands.report._create_state(app_layout: ApplicationLayout, files: Iterator) ReportState[source]#
Initialize a ReportState object.
- collective.transmute.commands.report.report(ctx: ~typer.models.Context, src: ~typing.Annotated[~pathlib.Path, <typer.models.ArgumentInfo object at 0x11ac6a7b0>], dst: ~typing.Annotated[~pathlib.Path | None, <typer.models.ArgumentInfo object at 0x11ac46ad0>] = None, report_types_: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x11ac46d50>] = '')[source]#
Generates a JSON file with a report of export data in src directory.
collective.transmute.commands.sanity#
collective.transmute.commands.settings#
- collective.transmute.commands.settings.dump_settings(settings: TransmuteSettings) str[source]#
Dump settings as TOML string.
collective.transmute.commands.transmute#
- collective.transmute.commands.transmute._create_state(app_layout: ApplicationLayout, total: int, metadata: MetadataInfo | None = None, write_report: bool = True) PipelineState[source]#
Initialize a PipelineState object.
- collective.transmute.commands.transmute.run(ctx: ~typer.models.Context, src: ~typing.Annotated[~pathlib.Path, <typer.models.ArgumentInfo object at 0x11acec2d0>], dst: ~typing.Annotated[~pathlib.Path, <typer.models.ArgumentInfo object at 0x11acec910>], write_report: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x11aceca50>] = False, clean_up: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x11acecb90>] = False, ui: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x11aceccd0>] = True)[source]#
Transmutes data from
srcfolder (incollective.exportimportformat) toplone.exportimportformat in thedstfolder.