---json
{
"aliases": [
{ "path": ":docs:tabli:conf:set" }
],
"low_quality_page": "false",
"page_id": "x3wbhq7p80d2ymghwir6i"
}
---
====== Tabli - Variable Set Command ======
===== About =====
The ''set'' command of the [[start|variable module]] set a variable value in a [[docs:conf:variable_file|variable file]].
The [[docs:conf:variable_file|variable file]] edited is the file:
* given with the ''%%--vars%%'' [[docs:tabli:global|global option]]
* and if not present, the [[docs:conf:variable_file#default|default file]]
===== Example =====
To set the [[docs:common:log|loglevel]] to the ''tip'' value
tabli variable set log-level tip
===== Syntax =====
tabli variable set -h
Tabli variable set
==================
Set a configuration
Example
-------
1 - To set the `log-level` configuration to the value `tip`, you would use the following command:
tabli variable set log-level tip
Syntax
------
tabli variable set
where:
Arguments:
the configuration key
the configuration value
Global Options:
-cv,--connection-vault The path where a connection vault is located
-h,--help Print this help
-l,--log-level Set the log level
-odu,--output-data-uri defines the output data uri for the feedback data (default: console)
-oo,--output-operation defines the data operations (replace, truncate) on an existing output resource before transfer.
-oop,--output-transfer-operation defines the output transfer operation (insert, update, merge, copy). Default to `copy` for a file system and `insert` for a database.
-pp,--passphrase A passphrase (master password) to decrypt the encrypted values
-ph,--project-home A data uri to the project directory (ie a path)
-cf,--vars The path to a configuration file
-v,--version Print version information