winterthur.cli

Attributes

cli

Functions

import_mission_reports(...)

Imports the existing mission reports.

export_mission_vehicles(...)

Exports the mission vehicles (with symbols, but without usage) into

import_mission_vehicles(...)

Imports the mission vehicles created by the export-mission-vehicles

analyze_directories(...)

Spots missing depot directories of file in directory entries and

Module Contents

winterthur.cli.cli[source]
winterthur.cli.import_mission_reports(vehicles_file: str, missions_file: str, no_confirm: bool) collections.abc.Callable[[onegov.winterthur.request.WinterthurRequest, onegov.winterthur.app.WinterthurApp], None][source]

Imports the existing mission reports.

winterthur.cli.export_mission_vehicles(export_file: str) collections.abc.Callable[[onegov.winterthur.request.WinterthurRequest, onegov.winterthur.app.WinterthurApp], None][source]

Exports the mission vehicles (with symbols, but without usage) into a ZIP file for consumption with the ‘import-mission-vehicles’ command.

winterthur.cli.import_mission_vehicles(import_file: str, replace: bool, match: bool) collections.abc.Callable[[onegov.winterthur.request.WinterthurRequest, onegov.winterthur.app.WinterthurApp], None][source]

Imports the mission vehicles created by the export-mission-vehicles command.

winterthur.cli.analyze_directories(log_file: str | None, dry_run: bool) collections.abc.Callable[[onegov.winterthur.request.WinterthurRequest, onegov.winterthur.app.WinterthurApp], None][source]

Spots missing depot directories of file in directory entries and fixes full-path filenames that come from Upload via IE11.