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

1from __future__ import annotations 

2 

3import typer 

4from click_repl import repl as start_repl 

5 

6from ...app import app 

7from ...state import state 

8 

9 

10@app.command() 

11def repl(ctx: typer.Context) -> None: 

12 """Start an interactive REPL.""" 

13 state.repl = True 

14 start_repl(ctx)