Skip to content

Commit e3e7961

Browse files
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>
1 parent 668de2c commit e3e7961

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup Pages
3838
uses: actions/configure-pages@v2
3939
- name: Install Linux Dependencies
40-
run: sudo apt install libcairo2-dev libpango1.0-dev ffmpeg freeglut3-dev
40+
run: sudo apt install libcairo2-dev libpango1.0-dev ffmpeg freeglut3-dev
4141
- name: Install Python dependencies
4242
run: pip install manim sphinx sphinx_click furo
4343
- name: Install local Python package

.github/workflows/test_examples.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ name: Test Examples
88

99
env:
1010
QT_QPA_PLATFORM: offscreen
11+
MANIM_SLIDES_VERBOSITY: debug
1112

1213
jobs:
1314
build-examples:

manim_slides/commons.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,7 @@ def callback(ctx: Context, param: Parameter, value: bool) -> None:
5656
help="Verbosity of CLI output",
5757
default=None,
5858
expose_value=False,
59+
envvar="MANIM_SLIDES_VERBOSITY",
60+
show_envvar=True,
5961
callback=callback,
6062
)(function)

0 commit comments

Comments
 (0)