emusoi

Configuration

Two TOML files, both optional:

Unknown keys are an error. examples/config.toml uses every key.

Worktrees

keymeaning
basethe branch new branches start from
prefixadded to new branch names, like "you/"
setupa command run in each new worktree
clonefiles copied from the main checkout into new worktrees
commit_timesdate files by their last commit
editoryour editor; otherwise $EDITOR
namesplaces to name worktrees after, used before mia's own
[launch]named windows: logs = "tail -f log/dev.log"

[env]

keymeaning
imagethe container image
image_setupbaked into the image
setuprun in each new container
portsports the app serves
pagethe port mia env browse opens
host_portsports on your computer the container can reach
pass_hostsend the original Host header
container_onlypaths kept inside the container, like node_modules
cachecontainer paths shared by the repository's environments
passenvironment variables passed from your shell

[[service]]

id, run, health, autostart, restart ("on-failure" or "on-unhealthy"), grace (seconds).

[tools] and [dotfiles]

keymeaning
[tools] copyfiles copied into environments
[tools] credentialscopied only with mia env tools --credentials
[dotfiles] envfiles for every environment's home
[dotfiles] shellthe shell in environments
[dotfiles] packagespackages installed in environments
[dotfiles] setuprun in every environment
[dotfiles] machinefiles for other machines' home

Keys, popups, plugins

[keys]
machines = "B"
down = ["j", "down"]

[popup]
width = "80%"
height = "75%"

plugins = ["gh"]

[plugin.gh]
# that plugin's own settings

Edit this page

    ↑↓ choose ⏎ open esc close