mirror of
https://github.com/1j01/textual-paint.git
synced 2024-09-11 15:56:03 +03:00
Update commands now that it must be run as a module
This commit is contained in:
parent
3364e11b5d
commit
d77a785a64
@ -211,12 +211,12 @@ pip install "textual[dev]" stransi psutil watchdog pyperclip pyright
|
|||||||
|
|
||||||
Run via Textual's CLI for live-reloading CSS support, and enable other development features:
|
Run via Textual's CLI for live-reloading CSS support, and enable other development features:
|
||||||
```bash
|
```bash
|
||||||
textual run --dev "src/textual_paint/paint.py --clear-screen --inspect-layout --restart-on-changes"
|
textual run --dev "src.textual_paint.paint --clear-screen --inspect-layout --restart-on-changes"
|
||||||
```
|
```
|
||||||
|
|
||||||
Or run more basically:
|
Or run more basically:
|
||||||
```bash
|
```bash
|
||||||
python src/textual_paint/paint.py
|
python -m src.textual_paint.paint
|
||||||
```
|
```
|
||||||
|
|
||||||
`--clear-screen` is useful for development, because it's sometimes jarring to see error messages that have actually been fixed, when exiting the program.
|
`--clear-screen` is useful for development, because it's sometimes jarring to see error messages that have actually been fixed, when exiting the program.
|
||||||
|
Loading…
Reference in New Issue
Block a user