Also I've noticed that the docs for `0.14.3` are n...
# ask-community
c
Also I've noticed that the docs for
0.14.3
are not aligned to the commands I'm able to run...
Copy code
$ 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
Copy code
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.html
g
I suspect this is because the
prefect 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.
c
Oh ffs I've re-installed the wrong version 😅
Missed out the 1.
More caffeine needed.
Thanks @Greg Roche - I'll pipe down 🤣