wtfs.cli

Attributes

cli

Functions

add(→ Callable[[CoreRequest, WtfsApp], None])

Adds an instance to the database. For example:

delete(→ Callable[[CoreRequest, WtfsApp], None])

Deletes an instance from the database. For example:

import_users(→ Callable[[CoreRequest, WtfsApp], None])

Imports the wtfs live data from the legacy system.

Module Contents

wtfs.cli.cli[source]
wtfs.cli.add(group_context: onegov.core.cli.core.GroupContext) Callable[[CoreRequest, WtfsApp], None][source]

Adds an instance to the database. For example:

onegov-wtfs –select ‘/onegov_wtfs/wtfs’ add

wtfs.cli.delete(group_context: onegov.core.cli.core.GroupContext) Callable[[CoreRequest, WtfsApp], None][source]

Deletes an instance from the database. For example:

onegov-wtfs –select ‘/onegov_wtfs/wtfs’ delete

wtfs.cli.import_users(path: str) Callable[[CoreRequest, WtfsApp], None][source]

Imports the wtfs live data from the legacy system.