(
version: Optional[bool] = typer.Option(
None,
"--version",
"-v",
help="Show the application's version and exit.",
callback=_version_callback,
is_eager=True,
),
)
| 55 | |
| 56 | @codecarbon.callback() |
| 57 | def version( |
| 58 | version: Optional[bool] = typer.Option( |
| 59 | None, |
| 60 | "--version", |
| 61 | "-v", |
| 62 | help="Show the application's version and exit.", |
| 63 | callback=_version_callback, |
| 64 | is_eager=True, |
| 65 | ), |
| 66 | ) -> None: |
| 67 | return |
| 68 | |
| 69 | |
| 70 | def show_config(path: Path = Path("./.codecarbon.config")) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…