@solaqua/gji 0.5.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -4
- package/dist/cli.js +64 -1
- package/dist/config.d.ts +1 -0
- package/dist/config.js +2 -1
- package/dist/editor.d.ts +8 -0
- package/dist/editor.js +17 -0
- package/dist/gji-bundle.mjs +1574 -994
- package/dist/go.js +22 -4
- package/dist/hooks.d.ts +5 -4
- package/dist/hooks.js +61 -9
- package/dist/init.js +26 -11
- package/dist/install-prompt.js +9 -1
- package/dist/new.d.ts +3 -0
- package/dist/new.js +33 -1
- package/dist/open.d.ts +20 -0
- package/dist/open.js +155 -0
- package/dist/repo-registry.d.ts +8 -0
- package/dist/repo-registry.js +52 -0
- package/dist/shell-completion.js +124 -89
- package/dist/warp.d.ts +20 -0
- package/dist/warp.js +196 -0
- package/man/man1/gji-back.1 +1 -1
- package/man/man1/gji-clean.1 +1 -1
- package/man/man1/gji-completion.1 +1 -1
- package/man/man1/gji-config.1 +1 -1
- package/man/man1/gji-go.1 +1 -1
- package/man/man1/gji-history.1 +1 -1
- package/man/man1/gji-init.1 +1 -1
- package/man/man1/gji-ls.1 +1 -1
- package/man/man1/gji-new.1 +7 -1
- package/man/man1/gji-open.1 +19 -0
- package/man/man1/gji-pr.1 +1 -1
- package/man/man1/gji-remove.1 +1 -1
- package/man/man1/gji-root.1 +1 -1
- package/man/man1/gji-status.1 +1 -1
- package/man/man1/gji-sync.1 +1 -1
- package/man/man1/gji-trigger-hook.1 +1 -1
- package/man/man1/gji-warp.1 +19 -0
- package/man/man1/gji.1 +11 -1
- package/package.json +4 -2
package/man/man1/gji.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH GJI 1 "May 2026" "gji 0.
|
|
1
|
+
.TH GJI 1 "May 2026" "gji 0.6.1" "User Commands"
|
|
2
2
|
.SH NAME
|
|
3
3
|
gji \- Context switching without the mess.
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -29,8 +29,13 @@ navigate to the previously visited worktree, optionally N steps back
|
|
|
29
29
|
.B history [options]
|
|
30
30
|
show navigation history
|
|
31
31
|
.TP
|
|
32
|
+
.B open [options] [branch]
|
|
33
|
+
open the worktree in an editor
|
|
34
|
+
.TP
|
|
32
35
|
.B go [options] [branch]
|
|
33
36
|
print or select a worktree path
|
|
37
|
+
.br
|
|
38
|
+
Alias: \fBjump\fR
|
|
34
39
|
.TP
|
|
35
40
|
.B root [options]
|
|
36
41
|
print the main repository root path
|
|
@@ -55,6 +60,9 @@ Alias: \fBrm\fR
|
|
|
55
60
|
.B trigger\-hook [options] <hook>
|
|
56
61
|
run a named hook (afterCreate, afterEnter, beforeRemove) in the current worktree
|
|
57
62
|
.TP
|
|
63
|
+
.B warp [options] [branch]
|
|
64
|
+
jump to any worktree across all known repos
|
|
65
|
+
.TP
|
|
58
66
|
.B config [options] [command]
|
|
59
67
|
manage global config defaults
|
|
60
68
|
.SH OPTIONS
|
|
@@ -68,6 +76,7 @@ output the version number
|
|
|
68
76
|
.BR gji\-pr (1),
|
|
69
77
|
.BR gji\-back (1),
|
|
70
78
|
.BR gji\-history (1),
|
|
79
|
+
.BR gji\-open (1),
|
|
71
80
|
.BR gji\-go (1),
|
|
72
81
|
.BR gji\-root (1),
|
|
73
82
|
.BR gji\-status (1),
|
|
@@ -76,4 +85,5 @@ output the version number
|
|
|
76
85
|
.BR gji\-clean (1),
|
|
77
86
|
.BR gji\-remove (1),
|
|
78
87
|
.BR gji\-trigger\-hook (1),
|
|
88
|
+
.BR gji\-warp (1),
|
|
79
89
|
.BR gji\-config (1)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solaqua/gji",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Git worktree CLI for fast context switching.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "sjquant",
|
|
@@ -64,6 +64,8 @@
|
|
|
64
64
|
"vitest": "^3.2.4"
|
|
65
65
|
},
|
|
66
66
|
"pnpm": {
|
|
67
|
-
"onlyBuiltDependencies": [
|
|
67
|
+
"onlyBuiltDependencies": [
|
|
68
|
+
"esbuild"
|
|
69
|
+
]
|
|
68
70
|
}
|
|
69
71
|
}
|