1
0
Fork 0

Merging upstream version 2.2.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-07 00:49:55 +01:00
parent 4db980c3c4
commit 04b7f07412
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
9 changed files with 50 additions and 22 deletions

View file

@ -4,7 +4,7 @@
from __future__ import unicode_literals
from cli_helpers.utils import filter_dict_by_key
from cli_helpers.compat import Terminal256Formatter, StringIO
from cli_helpers.compat import Terminal256Formatter, Token, StringIO
from .preprocessors import (
convert_to_string,
truncate_string,
@ -105,8 +105,8 @@ def style_output_table(format_name=""):
data,
headers,
style=None,
table_separator_token="Token.Output.TableSeparator",
**_
table_separator_token=Token.Output.TableSeparator,
**_,
):
"""Style the *table* a(e.g. bold, italic, and colors)