emusoi

Commands

<worktree> is a name, path or branch; leave it out for the one you are in. mia <command> -h shows a command's usage.

Worktrees

commanddoes
mia new <branch>make a worktree
mia adopt <path>take over a worktree
mia lslist worktrees
mia shell [worktree]attach to its session
mia switch <worktree>cd there
mia path [worktree]print its path
mia open [worktree]open it in your editor
mia window …its session's windows
mia rename <worktree> <name>rename it
mia star [worktree]star or unstar it
mia setup [worktree]run setup again
mia run <worktree> <cmd…>run a command in it
mia rm <worktree>remove it
mia gc [--apply]find, or remove, untouched worktrees

Stacks and pull requests

commanddoes
mia up, mia downmove between layers
mia stackshow the stack
mia stack go|name|merge|restack|diff|pr|rmwork on it
mia pr [worktree]draft a pull request

Environments

commanddoes
mia env up|down|rmstart, stop, remove
mia env shella shell inside
mia env exec <cmd…>run a command inside
mia env run <worktree> <cmd…>run where its code runs
mia dev [worktree|off]lend main's dev server a worktree's files
mia env browseopen it in the browser
mia env status|ports|servicewhat it is doing
mia env host [machine]where it runs, or move it
mia machine list|add|shell|rmmachines
mia gateway status|start|stop|setup|trustthe <name>.mia gateway

Other

commanddoes
mia dashthe dashboard
mia configedit the repository's config
mia plugin ls|enable|disableplugins
mia api <query>state as JSON
mia help vocabularythe words
mia help tmuxtmux key bindings

Reading commands take --json.

Edit this page

    ↑↓ choose ⏎ open esc close