views#

Handles all display/view logic.

Functions#

print_notices(channel_notices)

Accepts a list of channel notice responses and prints a display.

print_notice_message(→ None)

Prints a single channel notice.

print_more_notices_message(→ None)

Conditionally shows a message informing users how many more message there are.

print_notices(channel_notices: Sequence[conda.notices.types.ChannelNotice])#

Accepts a list of channel notice responses and prints a display.

Parameters:

channel_notices -- A sequence of ChannelNotice objects.

print_notice_message(notice: conda.notices.types.ChannelNotice, indent: str = '  ') None#

Prints a single channel notice.

print_more_notices_message(total_notices: int, displayed_notices: int, viewed_notices: int) None#

Conditionally shows a message informing users how many more message there are.