Appearance
tes config
View or update repository configuration settings.
Usage
bash
tes config <subcommand> [arguments]Subcommands
show- Display the effective configuration for the repository.set <KEY> <VALUE>- Updatetrunk_branch,base_port,port_stride,verify_command,co_author,co_author_trailer, orpager.trust- Trust the repository'stessera.tomlsoverify_command,pager, andextra_bin_dirsdefined intessera.tomlare allowed to execute.untrust- Revoke trust for the repository'stessera.toml.add-cache-dir <DIRS...>- Add directories tocow_cache_dirs.remove-cache-dir <DIRS...>- Remove directories fromcow_cache_dirs.add-bin-dir <DIRS...>- Add directories toextra_bin_dirs.remove-bin-dir <DIRS...>- Remove directories fromextra_bin_dirs.set-env <KEY> <TEMPLATE>- Set a custom environment variable template ({slot},{port},{branch},{agent_id}).unset-env <KEY>- Remove a custom environment variable template.
Examples
bash
# view current configuration
tes config show
# update base port and verification command
tes config set base_port 4000
tes config set verify_command "npm test"
# enable Co-authored-by trailer on Tessera commits (false by default)
tes config set co_author true
# configure a custom terminal pager (e.g. delta or less -FRX)
tes config set pager "delta --paging=always"
# trust a cloned repository's tessera.toml
tes config trust
# add a Copy-on-Write cache directory
tes config add-cache-dir .nx
# set a custom environment variable template
tes config set-env DATABASE_URL "postgres://localhost:5432/app_slot_{slot}"See Also
- Configuration Guide - Full
tessera.tomlreference