Use a flow from the 103 lab
• Make a deployment via interactive CLI commands
• Start a worker
• Run a deployment from the UI
• See the flow run logs in the UI
• Stretch: Create a deployment that has default parameters & override the default parameters at runtime in the UI
v
Varun Srinivasan
07/12/2023, 1:44 PM
@Jeff Hale how do we pass command line params while running flows? we tried
Copy code
prefect deployment run <flow-run> --param name=Bob --param height=7
is there another way to do it?
j
Jeff Hale
07/12/2023, 1:47 PM
CLI runs coming up soon. But that looks correct. What message are you getting?
v
Varun Srinivasan
07/12/2023, 2:03 PM
@Christopher Boyd mentioned to use
--params
Copy code
prefect deployment run <flow-run> --params='{"name":"Bob","height":7}'
Varun Srinivasan
07/12/2023, 2:04 PM
both works fine. i thought a json based input would be easy if there are more than one param
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.