Give cool project a cool command-line interface#11
Give cool project a cool command-line interface#11robvanderleek merged 2 commits intogetcodelimit:mainfrom JnyJny:feature/cli-refactor
Conversation
- Refactored (natch) ./main.py into codelimit/__main__.py - Added typer CLI support
|
FYI, I did not test the |
|
Hi @JnyJny 👋 Thanks a lot for your first contribution! This project is still in its infancy 🐣 Please have patience while basic stuff is missing or broken. I really appreciate your contributions and any positive/negative feedback! To briefly answer your questions: KR, Rob |
|
Thanks for accepting my PR! I just realized I didn't provide an updated README.md to reflect the new usage and not sure if the Textual console development mode is broken now. But that's what future issue and PRs are for I guess! |
|
I've updated the README 👍 For Textual development mode is still broken, need to look into that. |
codelimit/__main__.pyI've added a stanza in the pyproject.toml file that helps poetry create a stub executable so now we can do stuff like:
Additionally after publishing to PyPI,
codelimitcan be installed and used like:I realize this is out of the blue, but Bob Belderbos turned me on to your tool this morning and I got excited about it.