Skip to main content

exec

Function exec 

Source
pub async fn exec(command: &str) -> Result<Vec<ExecResult>>
Expand description

Run a shell command in every worktree.

The command is passed to sh -c for shell expansion. This is intentional — the user provides the command string directly via thor wt exec <cmd>, similar to git worktree foreach.