Debian Codegraph @

pyvista/_cli/app.py

raw
1 """Module responsible to build the cyclopts App object."""
2
3 from __future__ import annotations
4
5 from cyclopts import App
6 from rich.console import Console
7
8 import pyvista as pv
9
10 app = App(
11 name=pv.__name__,
12 help_format='md',
13 version=f'{pv.__name__} {pv.__version__}',
14 help_on_error=True,
15 console=Console(),
16 result_action='return_value',
17 help_formatter='default',
18 )