Coverage for harbor_cli/commands/cli/repl.py: 78%
9 statements
« prev ^ index » next coverage.py v6.5.0, created at 2023-02-09 12:09 +0100
« prev ^ index » next coverage.py v6.5.0, created at 2023-02-09 12:09 +0100
1from __future__ import annotations
3import typer
4from click_repl import repl as start_repl
6from ...app import app
7from ...state import state
10@app.command()
11def repl(ctx: typer.Context) -> None:
12 """Start an interactive REPL."""
13 state.repl = True
14 start_repl(ctx)