Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
daneah committed Sep 20, 2024
1 parent 4ff249b commit 1f90e81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ pip install trogon

### Typer
1. Import `from trogon.typer import init_tui`
2. Pass your CLI into the `init_tui` function, e.g.
2. Pass your Typer CLI app into the `init_tui` function, e.g.
```python
cli = typer.Typer(...)
init_tui(cli)
```
3. Your typer app will have a new `tui` command available.
3. Your Typer app will have a new `tui` command available.

See also the `examples` folder for two example apps.

Expand Down

0 comments on commit 1f90e81

Please sign in to comment.