people.cli
Attributes
Functions
|
Deletes all people. |
|
Exports all people to an excel file. |
|
Imports people from an excel file. |
Module Contents
- people.cli.clear(dry_run: bool) Callable[[CoreRequest, Framework], None] [source]
Deletes all people.
Does not support agencies and memberships at the moment.
Example:
onegov-people –select ‘/org/govikon’ clear
- people.cli.export_xlsx(filename: str) Callable[[CoreRequest, Framework], None] [source]
Exports all people to an excel file.
Does not support agencies and memberships at the moment.
Example:
onegov-people –select ‘/onegov_org/govikon’ export people.xlsx
- people.cli.import_xlsx(file: IO[bytes]) Callable[[CoreRequest, Framework], None] [source]
Imports people from an excel file.
Does not support agencies and memberships at the moment.
Example:
onegov-people –select ‘/onegov_org/govikon’ import people.xlsx