Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Commit 531e73c

Browse files
committed
refactor
1 parent ee795fb commit 531e73c

50 files changed

Lines changed: 1746 additions & 1094 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/cli/README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
> [!IMPORTANT]
2-
> `arr` is still in development and not production-ready. Interested? Email jonathan@posthog.com
1+
> [!IMPORTANT] > `arr` is still in development and not production-ready. Interested? Email jonathan@posthog.com
32
43
# arr
54

6-
A CLI for stacked PR management using Jujutsu (`jj`).
5+
arr is CLI for stacked PR management using Jujutsu (`jj`).
76

87
Split your work into small changes, push them as a PR stack, and keep everything in sync.
98

109
## Features
1110

12-
- Stacked PRs synced to GitHub
13-
- Simpler interface to `jj` for managing your work.
14-
- Visual stack log with PR status.
15-
- Comes with a GitHub Action to enforce merge order
16-
- Unknown commands pass through to `jj`
11+
- Stacked PRs synced to GitHub
12+
- Simpler interface compared to `jj` for managing your work.
13+
- Visual stack log with PR status.
14+
- Comes with a GitHub Action to enforce merge order
15+
- Unknown commands pass through to `jj`
1716

1817
## Why
1918

@@ -115,4 +114,4 @@ Run `arr exit` to switch back to `git`. Your repo, branches, and PRs stay exactl
115114
## Learn more
116115

117116
- [`jj` documentation](https://jj-vcs.github.io/jj/latest/) - full `jj` reference
118-
- [`jj` tutorial](https://jj-vcs.github.io/jj/latest/tutorial/) - getting started with `jj`
117+
- [`jj` tutorial](https://jj-vcs.github.io/jj/latest/tutorial/) - getting started with `jj`

apps/cli/arr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ if [ "$1" = "install" ]; then
1717
exit 0
1818
fi
1919

20-
exec bun run "$SCRIPT_DIR/src/bin.ts" "$@"
20+
exec bun run "$SCRIPT_DIR/bin/arr.ts" "$@"

apps/cli/bin/arr.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
import { main } from "../src/cli";
44

5-
main().catch((error) => {
6-
console.error(error);
7-
process.exit(1);
8-
});
5+
main()
6+
.then(() => process.exit(0))
7+
.catch((error) => {
8+
console.error(error);
9+
process.exit(1);
10+
});

apps/cli/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,11 @@
1616
"devDependencies": {
1717
"@types/bun": "latest",
1818
"@types/node": "^25.0.3",
19-
"node-pty": "1.1.0-beta39",
20-
"tsx": "^4.20.6",
2119
"typescript": "^5.5.0",
2220
"vitest": "^4.0.16"
2321
},
2422
"dependencies": {
2523
"@array/core": "workspace:*",
26-
"inversify": "^7.10.6",
27-
"reflect-metadata": "^0.2.2"
24+
"@clack/prompts": "^0.11.0"
2825
}
2926
}

apps/cli/src/bin.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)