jiradc-cli 1.0.26 → 1.0.27
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/dist/index.js +4 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -47,6 +47,9 @@ function positiveInt(raw) {
|
|
|
47
47
|
}
|
|
48
48
|
return n;
|
|
49
49
|
}
|
|
50
|
+
function listOf(item) {
|
|
51
|
+
return (raw, previous) => [...Array.isArray(previous) ? previous : [], item(raw)];
|
|
52
|
+
}
|
|
50
53
|
function text(raw) {
|
|
51
54
|
return raw;
|
|
52
55
|
}
|
|
@@ -1536,7 +1539,7 @@ function get2(parent) {
|
|
|
1536
1539
|
|
|
1537
1540
|
// src/commands/issue/link-epic.ts
|
|
1538
1541
|
function linkEpic(parent) {
|
|
1539
|
-
const cmd = parent.command("link-epic").description("Link one or more issues to an epic").argument("<keys...>", "Issue keys to link", issueKey).requiredOption("--epic <epicKey>", "Epic issue key", issueKey);
|
|
1542
|
+
const cmd = parent.command("link-epic").description("Link one or more issues to an epic").argument("<keys...>", "Issue keys to link", listOf(issueKey)).requiredOption("--epic <epicKey>", "Epic issue key", issueKey);
|
|
1540
1543
|
examples(cmd, ["PROJ-456 --epic PROJ-123", "PROJ-456 PROJ-457 PROJ-458 --epic PROJ-123"]);
|
|
1541
1544
|
cmd.action(async (keys, opts) => {
|
|
1542
1545
|
const client = getClient();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jiradc-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"publish": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"typescript": "^5.7.2",
|
|
25
25
|
"vitest": "^4.0.16",
|
|
26
26
|
"cli-utils": "1.0.0",
|
|
27
|
-
"config-
|
|
28
|
-
"config-
|
|
27
|
+
"config-typescript": "0.0.0",
|
|
28
|
+
"config-eslint": "0.0.0"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
31
|
"node": ">=22.0.0"
|