Skip to content
Snippets Groups Projects
Commit e3235a06 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Merge branch 'verbose_no_param' into 'main'

Ignoring the verbose parameter

See merge request bob/exposed!14
parents 2f578e01 f62ba111
No related branches found
No related tags found
1 merge request!14Ignoring the verbose parameter
Pipeline #68632 passed
......@@ -46,6 +46,18 @@ with the appropriate logging level, mapped as such:
* 3 (the user provide the flag thrice or more, ``-vvv``):
``logger.setLevel(logging.DEBUG)``
.. note::
If you do not care about the ``verbose`` parameter in your command and only
rely on the decorator to set the logging level, you can set ``expose_value``
to ``False``:
.. code-block:: python
@exposed.click.verbosity_option(logger, expose_value=False)
def cli():
pass
.. _exposed.click.configcommand:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment