jack
02/19/2021, 7:58 PMnicholas
mutation {
create_flow_run(...args) {
id
}
}
nicholas
prefect run cloud --name "My Flow Name" --project "Hello, World!"
But the flow will need to be registered and you'll need to have an agent running still.jack
02/19/2021, 11:02 PMcloud
argument?Dylan
Dylan
prefect run flow --name Test-Flow --project My-Project -ps
Dylan
Dylan
(prefect) dylanhughes@Dylans-MacBook-Pro-Prefect ~/d/prefect> prefect run master
Usage: prefect run [OPTIONS] COMMAND [ARGS]...
Run Prefect flows.
Usage:
$ prefect run [STORAGE/PLATFORM]
Arguments:
flow Run a flow with a backend API
Examples:
$ prefect run flow --name Test-Flow --project My-Project -ps '{"my_param": 42}'
Flow Run: <https://cloud.prefect.io/myslug/flow-run/2ba3rrfd-411c-4d99-bb2a-f64a6dea78f9>
$ prefect run flow --name Test-Flow --project My-Project --watch
Flow Run: <https://localhost:8080/flow-run/2ba3rrfd-411c-4d99-bb2a-f64a6dea78f9>
Scheduled -> Submitted -> Running -> Success
Options:
-h, --help Show this message and exit.
Dylan
prefect run
on its own shows the health commandDylan
prefect backend server
so the CLI knows to talk to your prefect server instance