mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-19 04:41:45 +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
|
||||
|
||||
[options]
|
||||
packages = find:
|
||||
install_requires =
|
||||
textual
|
||||
rich
|
||||
@ -25,3 +24,6 @@ wallpaper =
|
||||
appscript
|
||||
pyxdg
|
||||
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)
|
||||
|
||||
if __name__ == "__main__":
|
||||
def main() -> None:
|
||||
"""Entry point for the textual-paint CLI."""
|
||||
app.run()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user