Skip to main content

MINE_TEMPLATE

Constant MINE_TEMPLATE 

Source
pub const MINE_TEMPLATE: &str = "\
# catalog.toml, beside config.toml: your catalog, \"My datasets\" on the home screen.
# Ctrl+D on the home screen adds the selected row here; Ctrl+D on one of these rows
# forgets it. Your edits, comments and layout are kept: datui catalog check catalog.toml
#
# Each [table] is one dataset; its key is a short id (lowercase letters, digits, -):
#
#   [sales]
#   name = \"Sales\"
#   path = \"~/datasets/sales.parquet\"
#   columns.amount = { description = \"Net of returns\", unit = \"USD\" }
#
# The bundled \"Example datasets\" catalog is separate:
#   hide all of it      [home] hide = [\"examples\"]               (config.toml)
#   hide some entries   [home] hide = [\"examples/nyc-taxis\"]     (config.toml)
#   make it your own    datui catalog show examples > examples.toml
#                       then move examples.toml into catalogs/ here, and edit it:
#                       it replaces the bundled one
#
# Any other *.toml in catalogs/ here is a catalog too, named by its file name.

label = \"My datasets\"
";
Expand description

What a new catalog.toml starts with.