Commands for managing the CLI’s local configuration and profiles.
tunnee config init # create a default config file
tunnee config show # print everything (all profiles)
tunnee config get <key> # read a single value from the active profile
tunnee config set <key> <val> # write a value to the active profile
tunnee config add <name> # create a new named profile
tunnee config remove <name> # delete a profile
tunnee config use <name> # switch the active profile
tunnee config reset # reset the current profile to defaults Config file
The CLI stores everything in ~/.tunnee/config.yml:
active: default
profiles:
default:
api_addr: https://api.tunnee.com
downloads_addr: https://downloads.tunnee.com
token: ""
user_id: ""
user_email: "" Profiles
Profiles let you keep separate sets of credentials and settings - useful if you work with multiple accounts or environments. See the profiles guide for details.
Keys
Each profile stores:
api_addr- API server URLdownloads_addr- downloads server URLtoken- auth token (empty means not logged in)user_id- your account IDuser_email- your account email
Reset
tunnee config reset --env production restores the active profile to defaults. --env accepts production or development.