CloudQuery sync drops to shell with output mode error

Following the Python tutorial video, when I run

cloudquery sync TestConfig.yaml

it drops me to some kind of shell with a cloudquery> prompt. Most commands give an error like

output mode python needs doc

I haven’t changed much from the Python example, just the URL endpoint and defined my own tables. There are no other errors, and the server is running.

Can you share the exact command you are running?

Starting the server with main.py serve.
Then trying to sync in another shell with cloudquery sync TestConfig.yaml.

Is this Windows, Linux, or MacOS?

MacOS
Running in VSCode
Just tried it outside VSCode in a normal shell… same issue.

Can you share the contents of the TestConfig file?

❯ cat TestConfig.yaml
kind: source
spec:
  name: "formations"
  registry: "grpc"
  path: "localhost:7777"
  tables: ['*']
  destinations: ["sqlite"]
  spec:
    base_url: https://<hidden>
---
kind: destination
spec:
  name: sqlite
  path: cloudquery/sqlite
  version: "v2.4.11"
  spec:
    connection_string: ./db.sqlite

Thank you! Trying to reproduce this now.

Sure, here is the command you requested:

cloudquery --version

Nope.
Literally everything I run for that command ends up like this:

❯ cloudquery --version
cloudquery>

Interesting! How did you install the CloudQuery CLI?

I ran pip install . in the checked out repo.

Hmm…

Yup, I ran it again, and it says cloudquery-plugin-sdk is installed.

CloudQuery is a CLI binary that needs to be downloaded. The easiest way to install it on a Mac is to install via Homebrew:

brew install cloudquery/tap/cloudquery

ooooooooo
yeah this cloudquery is pointing to something in my python virtualenv
wtf
Woooooooooo that did it! Thank you!