mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-05-22 21:17:19 +08:00
feat(cli): read environ variable for verbosity (#63)
* feat(cli): read environ variable for verbosity * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
1
.github/workflows/test_examples.yml
vendored
1
.github/workflows/test_examples.yml
vendored
@ -8,6 +8,7 @@ name: Test Examples
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
QT_QPA_PLATFORM: offscreen
|
QT_QPA_PLATFORM: offscreen
|
||||||
|
MANIM_SLIDES_VERBOSITY: debug
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-examples:
|
build-examples:
|
||||||
|
@ -56,5 +56,7 @@ def verbosity_option(function: Callable) -> Callable:
|
|||||||
help="Verbosity of CLI output",
|
help="Verbosity of CLI output",
|
||||||
default=None,
|
default=None,
|
||||||
expose_value=False,
|
expose_value=False,
|
||||||
|
envvar="MANIM_SLIDES_VERBOSITY",
|
||||||
|
show_envvar=True,
|
||||||
callback=callback,
|
callback=callback,
|
||||||
)(function)
|
)(function)
|
||||||
|
Reference in New Issue
Block a user