agency.cli
Attributes
Functions
|
Consolidates double entries of person objects based on the property |
|
|
|
Usage: |
|
Usage: |
|
|
|
|
|
|
|
Module Contents
- 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]