Something went wrong. Try again.
Jerb is a background job library for Rust. It runs async functions on Tokio workers, stores jobs in a database or Redis, and handles retries
Something went wrong. Try again.
123456789101112131415161718#!/usr/bin/env sh#MISE description="Create a jj workspace for an agent to work in beside others"#USAGE arg "<id>" help="The number that names the workspace"#USAGE arg "[base]" help="The revision to start from"
set -e
id="$1"dir="$(scripts/util/workspace "$id")"
mkdir -p "$(dirname "$dir")"jj workspace add "$dir" --name "ws${id}" -r "${2:-@-}"[ -f .env ] && cp .env "$dir/.env"
cd "$dir"mise trust --quiet .config/mise.tomlmise run setup