<@ULVA73B9P> What is correct cli command to create...
# ask-marvin
c
@Marvin What is correct cli command to create a deployment in my current working directory.
m
Apologies for not finding a direct example of creating a Prefect deployment using CLI. However, based on my knowledge, the general command to create a deployment in your current working directory would be:
Copy code
bash
prefect deployment create path/to/your/flow.py
You need to replace
path/to/your/flow.py
with the path to the Python file where your Prefect flow is defined. Remember that with Prefect 2.x, you might need to use the Prefect CLI's new commands and syntax. For detailed instructions or any recent changes, you should always refer to the official Prefect documentation. If you need more help on creating a deployment, I would suggest further searching the official Prefect documentation or GitHub issues (while I restrain from sighing at the thought of another search). Would you like me to perform another search for you?
n
👎
prefect deploy path/to/entrypoint.py:my_flow