pgdesign v0.26.0 /pgdesign fmt
On this page

Reference for the pgdesign fmt command — usage, flags, arguments, and examples for the fmt subcommand of the pgdesign CLI.

#pgdesign fmt

Format a pgdesign TOML schema file or directory in place

Effect: mutating

#Flags

Flags
NameShortTypeDefaultEnvDescription
--checkboolCheck if file is already formatted (exit 1 if not)
--table-orderstrdependencyTable ordering strategy: dependency-based or alphabetical
--column-orderstrpk_fk_alphaColumn ordering: pk_fk_alpha, alphabetical, fk_last, or preserve

#Arguments

Arguments
NameRequiredDescription
pathyesPath to the TOML schema file or directory to format
Search