wt

Native MoonBit Git worktree manager with PR awareness

git
worktree
github
cli
moon add totto2727/wt@0.1.3
Download zip
Author
Version
0.1.3
License
MIT
Last updated
6 days ago
Downloads
20
README

#wt

Native MoonBit implementation of the wt Git worktree manager.

#Usage

wt ls [directory] wt cleanup [directory] --dry-run

ls shows each worktree's branch, pull request state, Git state, and path. cleanup removes non-main worktrees only when their branch is pushed and its pull request is merged, closed, or absent. Use --dry-run to inspect eligible removals without changing the repository.

#Development

Enter the Nix development shell, then run the repository tasks:

nix develop moon check moon test moon package --list

Build the installable package with nix build .#wt.

#
CleanupOptions

type CleanupOptions

#
GitHubPrWireEntry

type GitHubPrWireEntry

#
LsOptions

type LsOptions

#
PrInfo

type PrInfo

#
RepoWorktrees

type RepoWorktrees

#
WorktreeEntry

type WorktreeEntry

#
WorktreeStatus

type WorktreeStatus

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io