Wrap poutput, but apply Cmd2Style.SUCCESS. For details on the parameters, refer to the `print_to` method documentation.
(
self,
*objects: Any,
sep: str = " ",
end: str = "\n",
soft_wrap: bool = True,
justify: JustifyMethod | None = None,
emoji: bool = False,
markup: bool = False,
highlight: bool = False,
rich_print_kwargs: Mapping[str, Any] | None = None,
**kwargs: Any, # noqa: ARG002
)
| 1581 | ) |
| 1582 | |
| 1583 | def psuccess( |
| 1584 | self, |
| 1585 | *objects: Any, |
| 1586 | sep: str = " ", |
| 1587 | end: str = "\n", |
| 1588 | soft_wrap: bool = True, |
| 1589 | justify: JustifyMethod | None = None, |
| 1590 | emoji: bool = False, |
| 1591 | markup: bool = False, |
| 1592 | highlight: bool = False, |
| 1593 | rich_print_kwargs: Mapping[str, Any] | None = None, |
| 1594 | **kwargs: Any, # noqa: ARG002 |
| 1595 | ) -> None: |
| 1596 | """Wrap poutput, but apply Cmd2Style.SUCCESS. |
| 1597 | |
| 1598 | For details on the parameters, refer to the `print_to` method documentation. |
| 1599 | """ |
| 1600 | self.poutput( |
| 1601 | *objects, |
| 1602 | sep=sep, |
| 1603 | end=end, |
| 1604 | style=Cmd2Style.SUCCESS, |
| 1605 | soft_wrap=soft_wrap, |
| 1606 | justify=justify, |
| 1607 | emoji=emoji, |
| 1608 | markup=markup, |
| 1609 | highlight=highlight, |
| 1610 | rich_print_kwargs=rich_print_kwargs, |
| 1611 | ) |
| 1612 | |
| 1613 | def pwarning( |
| 1614 | self, |