Skip to main content
Version: 2.0.0

tdk set

Give a setting a value.

Settings are persisted in 'options.json' under the Tabsdata directory ('~/.tabsdata') and apply to every later invocation; 'tdk unset' drops them back to their default and 'tdk settings' shows them. More than one can be set at once.

Examples:

tdk set --hints false
tdk set --prompt false
tdk set --server http://127.0.0.1:2457
tdk set --server 127.0.0.1 # http://127.0.0.1:2457
tdk set --proj sales
tdk set --proj sales --coll orders
tdk set \
--hints true \
--prompt true \
--server https://tabsdata.example.com \
--proj quickstart \
--coll sales_data
FlagTypeRequiredDescription
--hintstrue | falseOptionalShow the hints the CLI adds to errors. Default: true.
--prompttrue | falseOptionalPrompt for a value a command needs but was not given. Default: true; 'tdk set --prompt false' is the standing form of the root '--no-prompt' flag.
--serverstringOptionalURL of the Tabsdata Server 'tdk login' uses without '--server'. If omitted, the protocol defaults to 'http://' and the port to 2457.
--proj, -PstringOptionalProject to pin as the default of project-scoped commands.
--coll, -cstringOptionalCollection to pin (requires a pinned project).