pgschema
pgschema copied to clipboard
unknown flag: --output-json
Just downloaded deb package of v1.4.3 and the suggested command in the quick start docs doesn't run.
I use:
PGPASSWORD='mypass' pgschema dump --host hostname --db mydb --user postgres --schema myschema --file my.schema.sql --output-json plan.json --output-human stdout
I get:
Error: unknown flag: --output-json
Is the documentation for an earlier version, or am I doing something else wrong?
"--output-json" is only applicable to the plan command https://www.pgschema.com/cli/plan#param-output-json
Not the dump command
I apparently blended the two different commands when I was trying to substitute my own database details in. Apologies for the noise.