find_work.core.cli.messages#

Console messages.

class find_work.core.cli.messages.Message(text: str, color: str)#

Bases: object

Styled message.

text: str#

Message text.

color: str#

Message foreground color.

class find_work.core.cli.messages.Status(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: StrEnum

Messages for ongoing tasks.

CACHE_READ = 'Checking for cached data'#

Reading cache file.

CACHE_LOAD = 'Reading data from cache'#

Deserialization.

CACHE_WRITE = 'Caching data'#

Serialization and writing cache file.

class find_work.core.cli.messages.Result(text: str, color: str)#

Bases: Message, Enum

Messages for non-standard command execution results.

EMPTY_RESPONSE#

Source didn’t return any data.

NO_WORK#

All data returned from source was filtered out.