Warehouses
Commands for reading the warehouses connected to your account in the Knock CLI.
Warehouse commands enable you to read the warehouses connected to your account from the CLI. A warehouse is one database in your data warehouse that Knock reads from. Every environment shares it.
The CLI reads warehouses but doesn't create or change them. Add a warehouse and change its connection from the dashboard under Platform > Sources. To manage the syncs that read from a warehouse, use the warehouse sync commands.
knock warehouse list [flags]
#Display all warehouses connected to your account, with their type and connection status.
Flags
The environment to use. When omitted, the account's default environment is used. Every environment lists the same warehouses.
The total number to fetch per page.
Fetches all entries after this cursor.
Fetches all entries before this cursor.
Format output as json.
knock warehouse get <warehouse_key> [flags]
#Display a single warehouse, including its connection settings and connection status. Passwords and keys are never returned.
Flags
The environment to use. When omitted, the account's default environment is used.
Format output as json.