:orphan: :mod:`cloup.formatting._util` ============================= .. py:module:: cloup.formatting._util Functions --------- .. autosummary:: ~cloup.formatting._util.ensure_is_cloup_formatter ~cloup.formatting._util.unstyled_len Attributes ---------- .. autoapisummary:: cloup.formatting._util.FORMATTER_TYPE_ERROR Contents -------- .. py:data:: FORMATTER_TYPE_ERROR :annotation: = Multiline-String .. raw:: html
Show Value .. code-block:: text :linenos: since cloup v0.8.0, this class relies on cloup.HelpFormatter to align help sections. So, you need to make sure your command class uses cloup.HelpFormatter as formatter class. If you have your own custom HelpFormatter, know that cloup.HelpFormatter is more easily customizable then Click's one, so consider extending it instead of extending click.HelpFormatter. .. raw:: html
.. py:function:: ensure_is_cloup_formatter(formatter) .. py:function:: unstyled_len(string)