winterthur.cli ============== .. py:module:: winterthur.cli Attributes ---------- .. autoapisummary:: winterthur.cli.cli Functions --------- .. autoapisummary:: winterthur.cli.import_mission_reports winterthur.cli.export_mission_vehicles winterthur.cli.import_mission_vehicles winterthur.cli.analyze_directories Module Contents --------------- .. py:data:: cli .. py:function:: import_mission_reports(vehicles_file: str, missions_file: str, no_confirm: bool) -> collections.abc.Callable[[onegov.winterthur.request.WinterthurRequest, onegov.winterthur.app.WinterthurApp], None] Imports the existing mission reports. .. py:function:: export_mission_vehicles(export_file: str) -> collections.abc.Callable[[onegov.winterthur.request.WinterthurRequest, onegov.winterthur.app.WinterthurApp], None] Exports the mission vehicles (with symbols, but without usage) into a ZIP file for consumption with the 'import-mission-vehicles' command. .. py:function:: import_mission_vehicles(import_file: str, replace: bool, match: bool) -> collections.abc.Callable[[onegov.winterthur.request.WinterthurRequest, onegov.winterthur.app.WinterthurApp], None] Imports the mission vehicles created by the export-mission-vehicles command. .. py:function:: analyze_directories(log_file: str | None, dry_run: bool) -> collections.abc.Callable[[onegov.winterthur.request.WinterthurRequest, onegov.winterthur.app.WinterthurApp], None] Spots missing depot directories of file in directory entries and fixes full-path filenames that come from Upload via IE11.