Skip to content

Commit 568cdc7

Browse files
committed
feat(completions): update jj
1 parent c5fcfce commit 568cdc7

2 files changed

Lines changed: 148 additions & 0 deletions

File tree

completions/jj/language/en-US.json

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,27 @@
6666
}
6767
]
6868
},
69+
{
70+
"name": "arrange",
71+
"tip": [
72+
"U: arrange [OPTIONS]",
73+
"Interactively arrange the commit graph"
74+
],
75+
"options": [
76+
{
77+
"name": "-r",
78+
"alias": [
79+
"--revisions"
80+
],
81+
"tip": [
82+
"U: -r, --revisions <REVSETS>",
83+
"The revisions to edit.",
84+
"If no revisions are specified, this defaults to the `revsets.arrange` setting, or `reachable(@, mutable())` if it is not set."
85+
],
86+
"next": []
87+
}
88+
]
89+
},
6990
{
7091
"name": "bisect",
7192
"tip": [
@@ -110,6 +131,15 @@
110131
"Manage bookmarks"
111132
],
112133
"next": [
134+
{
135+
"name": "advance",
136+
"alias": [
137+
"a"
138+
],
139+
"tip": [
140+
"Advance the closest bookmarks to a target revision"
141+
]
142+
},
113143
{
114144
"name": "create",
115145
"alias": [
@@ -1889,6 +1919,50 @@
18891919
"name": "util",
18901920
"tip": [
18911921
"Infrequently used commands such as for generating shell completions"
1922+
],
1923+
"next": [
1924+
{
1925+
"name": "completion",
1926+
"tip": [
1927+
"Print a command-line-completion script"
1928+
]
1929+
},
1930+
{
1931+
"name": "config-schema",
1932+
"tip": [
1933+
"Print the JSON schema for the jj TOML config format"
1934+
]
1935+
},
1936+
{
1937+
"name": "exec",
1938+
"tip": [
1939+
"Execute an external command via jj"
1940+
]
1941+
},
1942+
{
1943+
"name": "gc",
1944+
"tip": [
1945+
"Run backend-dependent garbage collection"
1946+
]
1947+
},
1948+
{
1949+
"name": "install-man-pages",
1950+
"tip": [
1951+
"Install Jujutsu's manpages to the provided path"
1952+
]
1953+
},
1954+
{
1955+
"name": "markdown-help",
1956+
"tip": [
1957+
"Print the CLI help for all subcommands in Markdown"
1958+
]
1959+
},
1960+
{
1961+
"name": "snapshot",
1962+
"tip": [
1963+
"Snapshot the working copy if needed"
1964+
]
1965+
}
18921966
]
18931967
},
18941968
{

completions/jj/language/zh-CN.json

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,27 @@
6666
}
6767
]
6868
},
69+
{
70+
"name": "arrange",
71+
"tip": [
72+
"U: arrange [OPTIONS]",
73+
"交互式排列提交图"
74+
],
75+
"options": [
76+
{
77+
"name": "-r",
78+
"alias": [
79+
"--revisions"
80+
],
81+
"tip": [
82+
"U: -r, --revisions <REVSETS>",
83+
"要编辑的修订版本",
84+
"如果未指定修订版本,则默认值为 `revsets.arrange` 设置,如果它未设置则使用 `reachable(@, mutable())`"
85+
],
86+
"next": []
87+
}
88+
]
89+
},
6990
{
7091
"name": "bisect",
7192
"tip": [
@@ -110,6 +131,15 @@
110131
"管理书签"
111132
],
112133
"next": [
134+
{
135+
"name": "advance",
136+
"alias": [
137+
"a"
138+
],
139+
"tip": [
140+
"将最接近的书签推进到目标修订版本"
141+
]
142+
},
113143
{
114144
"name": "create",
115145
"alias": [
@@ -1890,6 +1920,50 @@
18901920
"name": "util",
18911921
"tip": [
18921922
"不经常使用的命令,例如生成 shell 补全"
1923+
],
1924+
"next": [
1925+
{
1926+
"name": "completion",
1927+
"tip": [
1928+
"打印 jj 的 shell 补全脚本"
1929+
]
1930+
},
1931+
{
1932+
"name": "config-schema",
1933+
"tip": [
1934+
"打印 jj 配置文件的 JSON Schema"
1935+
]
1936+
},
1937+
{
1938+
"name": "exec",
1939+
"tip": [
1940+
"通过 jj 执行外部命令"
1941+
]
1942+
},
1943+
{
1944+
"name": "gc",
1945+
"tip": [
1946+
"运行后端相关的垃圾回收"
1947+
]
1948+
},
1949+
{
1950+
"name": "install-man-pages",
1951+
"tip": [
1952+
"安装 Jujutsu 的 man 页面到提供的路径"
1953+
]
1954+
},
1955+
{
1956+
"name": "markdown-help",
1957+
"tip": [
1958+
"打印所有子命令的 CLI 帮助文档,格式为 Markdown"
1959+
]
1960+
},
1961+
{
1962+
"name": "snapshot",
1963+
"tip": [
1964+
"如果需要,快照工作副本"
1965+
]
1966+
}
18931967
]
18941968
},
18951969
{

0 commit comments

Comments
 (0)