This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Create a new jj workspace ("worktree") and spawn a command inside it. | |
| # Usage: jj spawn [options] -c <command> | |
| set -euo pipefail | |
| usage() { | |
| cat <<'EOF' | |
| Create a new jj workspace and spawn a command inside it. |