idea to avoid branching on startup #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
dinosaurtirex/cmd-chat@2b2ec44999/cmd_chat/init.py#L30-L50You can make two entry points for your program to avoid branching in
run()or maybe
The command line interface can be
docoptorclick, withclickyou later move to terminal interface (TUI) viatextual.It is very good idea. I will do it, thanks!
Finally done in
dinosaurtirex/cmd-chat@e83f9e5368Nice! Have you thought of cmd-chat entry point so that the command is available after install?
I want to do it, but don't know really how it works. I tried several ways and it didn't work. If you have examples for how to do it, you can just simply make PR or some code snippets and i will add it.
Did send a link in about entry point in a reddit discussion, maybe you can open a separate issue on entry points and I can help with establishing it.
Got it! Thanks. I will try to do so
So i made it but got some weird sanic issue. I'll try to rewrite backend to flask and i hope today project will be updated
So i actually did it.
dinosaurtirex/cmd-chat@f24fc491d4Sorry didn't not mean to break your backend. Entry point seems very cool now!
Ahahhah, not, it's not up to you. it's only because sanic has been updated and included some weird start logic.