ciaran
03/25/2021, 12:04 PM0.14.3
are not aligned to the commands I'm able to run...
$ prefect version
0.14.3
$ prefect register -h
Usage: prefect register [OPTIONS] COMMAND [ARGS]...
Register flows
Usage:
$ prefect register [OBJECT]
Arguments:
flow Register flows with a backend API
Examples:
$ prefect register flow --file my_flow.py --name My-Flow
Options:
-h, --help Show this message and exit.
I'd expect to see
Register one or more flows into a project.
Options:
--project TEXT The name of the Prefect project to register this flow in.
Required.
-p, --path TEXT A path to a file or a directory containing the flow(s) to
register. May be passed multiple times to specify
multiple paths.
-m, --module TEXT A python module name containing the flow(s) to register.
May be passed multiple times to specify multiple modules.
...
As defined in the docs at https://docs.prefect.io/api/latest/cli/register.htmlGreg Roche
03/25/2021, 1:10 PMprefect register
CLI is new in 0.14.13
(c.f. https://prefect-community.slack.com/archives/CKNSX5WG3/p1616625985043900) and you're running 0.14.3
. The API docs at the URL you linked are applicable to the latest version.ciaran
03/25/2021, 1:11 PMciaran
03/25/2021, 1:11 PMciaran
03/25/2021, 1:11 PMciaran
03/25/2021, 1:12 PM