treeboot 0.3.0

Bootstrap Git worktrees from one repo-local setup file.
treeboot-0.3.0 is not a library.

treeboot

Bootstrap new Git worktrees from one repo-local setup file.

treeboot is a CLI for teams and agents that create lots of Git worktrees. A new worktree often needs the same local setup every time: copy an .env, link shared tooling, install dependencies, or run a project setup command. Put those steps in .treeboot.toml and run:

treeboot

Install

The primary binary distribution is GitHub Releases. The crate is also prepared for crates.io publishing:

cargo install treeboot

Example

copy = [
  ".env",
  ".env.local",
]

symlink = [
  ".tool-versions",
  { source = "shared/.agents", target = ".agents" },
]

commands = [
  "mise install",
  { name = "Install dependencies", run = "mise run setup" },
]

Run from a linked worktree:

treeboot

treeboot and treeboot run are equivalent. The CLI also includes config, init, copy, symlink, sync, and completions subcommands.

See the repository for project details.