mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-21 05:41:54 +03:00
Get console entry point working
This commit is contained in:
parent
d77a785a64
commit
512fe69e9e
@ -11,7 +11,6 @@ url = https://github.com/1j01/textual-paint
|
|||||||
keywords = tui, terminal, paint, drawing, art, graphics, text, textual, rich, ansi, ansi-art, mspaint
|
keywords = tui, terminal, paint, drawing, art, graphics, text, textual, rich, ansi, ansi-art, mspaint
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
packages = find:
|
|
||||||
install_requires =
|
install_requires =
|
||||||
textual
|
textual
|
||||||
rich
|
rich
|
||||||
@ -25,3 +24,6 @@ wallpaper =
|
|||||||
appscript
|
appscript
|
||||||
pyxdg
|
pyxdg
|
||||||
PyGObject
|
PyGObject
|
||||||
|
[options.entry_points]
|
||||||
|
console_scripts =
|
||||||
|
textual-paint = textual_paint.paint:main
|
||||||
|
@ -4494,5 +4494,9 @@ if args.clear_screen:
|
|||||||
|
|
||||||
app.call_later(app.start_backup_interval)
|
app.call_later(app.start_backup_interval)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
def main() -> None:
|
||||||
|
"""Entry point for the textual-paint CLI."""
|
||||||
app.run()
|
app.run()
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
|
Loading…
Reference in New Issue
Block a user