PostgREST provides a CLI with the commands listed below:
$ postgrest [-h|--help]
Shows all the commands available.
$ postgrest [-v|--version]
Prints the PostgREST version.
$ postgrest [-e|--example]
Shows example configuration options.
$ postgrest [--dump-config]
Dumps the loaded configuration
values, considering the configuration file, environment variables and in_db_config
.
$ postgrest [--dump-schema]
Dumps the schema cache in JSON format.