Skip to main content
On this page

Kater CLI Present and share dashboard tiles

kater dashboard tiles resize

Changes the size of one tile on the board, in words.

Name the width, the height or both, and what you leave out stays. Every other tile keeps its size, and a tile that the new size meets moves down. A band of figures that a new width gives more rows grows to show them.

Examples

Terminal window
# Make the spend_mix tile half the row wide and tall
kater dashboard tiles resize connections/snowflake_prod_connection/workspaces/ad_reporting/spend_mix --width half --height tall
# Make the table of a query the whole row wide
kater dashboard tiles resize connections/snowflake_prod_connection/workspaces/ad_reporting/spend --width full
# Make the first tile of the board, a text, one third of the row wide
kater dashboard tiles resize connections/snowflake_prod_connection/workspaces/ad_reporting --tile 0 --width narrow

Arguments

ArgumentDescription
<object>Optional. The chart or the query whose tile it is, or the workspace for a tile that --tile names. A chart: its key, such as duckdb_sample/shop/top_regions_chart, or in a person’s folder, duckdb_sample/users/<user id>/shop/top_regions_chart; as <workspace>/<name>, such as shop/top_regions_chart; its workspace’s folder and its name, such as connections/<connection>/workspaces/shop/top_regions_chart; or its id, rel1_…. A query: its key, such as duckdb_sample/shop/top_regions, or in a person’s folder, duckdb_sample/users/<user id>/shop/top_regions; as <workspace>/<name>, such as shop/top_regions; its workspace’s folder and its name, such as connections/<connection>/workspaces/shop/top_regions; or its id, rel1_…, also from before a rename. A workspace: its key, such as duckdb_sample/shop, or in a person’s folder, duckdb_sample/users/<user id>/shop; its name, such as shop; its folder, such as connections/<connection>/workspaces/shop; or its id, rel1_…, also from before a rename. By default the workspace you are in.

Options

OptionDescription
--request-file <file>The same as JSON, with chart, query or tile, and width and height. Give - to read it from standard input.
--width <name>How wide the tile is: full, wide (two thirds of the row), half or narrow (one third).
--height <name>How tall the tile is: short, medium, tall or tallest.
--tile <place>The tile’s place in the dashboard’s tiles, from 0, with the workspace as the first argument: how a text tile or an empty slot is named.

It also takes the global options anywhere on the line, and --help.

When the command refuses

  • No tile, or more than one, is named.
  • No width and no height is named.
  • The tile is not on the board. A tile in another region of the template has no size of its own.

See also