maestral.cli.output
This module provides classes and methods for beautifully formatted output to stdout. This includes printing tables and grids, formatting dates and eliding strings.
Module Contents
- class maestral.cli.output.RichDateField(dt, style='')[source]
A datetime renderable.
- Parameters
dt (datetime.datetime) –
style (str | Style) –
- maestral.cli.output.info(message, nl=True)[source]
Print an info message to stdout. Will be prefixed with a dash.
- maestral.cli.output.warn(message, nl=True)[source]
Print a warning to stdout. Will be prefixed with an exclamation mark.