agency.cli

Attributes

cli

Functions

consolidate_cli(→ Callable[[AgencyRequest, AgencyApp], ...)

Consolidates double entries of person objects based on the property

import_bs_function(→ Callable[[AgencyRequest, ...)

import_bs_data_files(→ Callable[[AgencyRequest, ...)

Usage:

import_lu_data_files(→ Callable[[AgencyRequest, ...)

Usage:

create_pdf(→ Callable[[AgencyRequest, AgencyApp], None])

export_xlsx(→ Callable[[AgencyRequest, AgencyApp], None])

enable_yubikey(→ Callable[[AgencyRequest, AgencyApp], ...)

disable_yubikey(→ Callable[[AgencyRequest, AgencyApp], ...)

Module Contents

agency.cli.cli[source]
agency.cli.consolidate_cli(based_on: str, ignore_case: bool, dry_run: bool, verbose: bool) Callable[[AgencyRequest, AgencyApp], None][source]

Consolidates double entries of person objects based on the property based_on. Property must be convertible to string.

agency.cli.import_bs_function(agency_file: str, people_file: str, dry_run: bool) Callable[[AgencyRequest, AgencyApp], None][source]
agency.cli.import_bs_data_files(agency_file: str, people_file: str, dry_run: bool, clean: bool) Callable[[AgencyRequest, AgencyApp], None][source]

Usage:

onegov-agency –select /onegov_agency/bs import-bs-data $agency_file $people_file

agency.cli.import_lu_data_files(data_file: str, dry_run: bool, clean: bool) Callable[[AgencyRequest, AgencyApp], None][source]

Usage:

onegov-agency –select /onegov_agency/lu import-lu-data $people_file

agency.cli.create_pdf(group_context: onegov.core.cli.core.GroupContext, root: bool, recursive: bool) Callable[[AgencyRequest, AgencyApp], None][source]
agency.cli.export_xlsx(group_context: onegov.core.cli.core.GroupContext, people: bool) Callable[[AgencyRequest, AgencyApp], None][source]
agency.cli.enable_yubikey(group_context: onegov.core.cli.core.GroupContext) Callable[[AgencyRequest, AgencyApp], None][source]
agency.cli.disable_yubikey(group_context: onegov.core.cli.core.GroupContext) Callable[[AgencyRequest, AgencyApp], None][source]