Replies: 1 comment 6 replies
-
This is actually super easy: you just need to make an entry point for I recommend this tutorial if you want to learn more about how it works - it's where I first learnt about it. I should also warn you that the route from Just to give you an idea, this is what happens under the hood (from these docs): |
Beta Was this translation helpful? Give feedback.
-
For context, I'm trying to fork kedro to be another CLI but for generating Dockerized Django projects from cookiecutter templates. See #1190 for details.
So I manage to make the
def new
function work for my context. However, the way i test it currently isgo to my dockerized-django-cli project (codenamed greendeploy) and type
python -m greendeploy new --verbose
Then it's generated inside the cli project codebase.
How do I compile the source code to be a python cli executable? So i can go anywhere in the directory and type
greendeploy new
likekedro new
?I am running on macOS 12.1 Apple Silicon and using py3.10 in my venv if it matters.
Beta Was this translation helpful? Give feedback.
All reactions