@kaynooo/cli-forgejo 0.23.0 → 0.24.0

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.
Files changed (2) hide show
  1. package/dist/cli.js +1 -3
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -2564,7 +2564,7 @@ async function board(args) {
2564
2564
  printJson(boardJson(rows.slice(0, limit)));
2565
2565
  return 0;
2566
2566
  }
2567
- printHeader("ft", "board");
2567
+ printHeader("ft", `${rows.length} open ${rows.length === 1 ? "issue" : "issues"}`);
2568
2568
  console.log(rows.length === 0 && (query !== undefined || state !== undefined) ? "no open issue matches" : renderBoard(rows, Date.now(), limit));
2569
2569
  return 0;
2570
2570
  }
@@ -3144,7 +3144,6 @@ async function digest(args) {
3144
3144
  if (values.json === true) {
3145
3145
  printJson(summary);
3146
3146
  } else {
3147
- printHeader("ft", "digest");
3148
3147
  console.log(renderDigest(summary));
3149
3148
  }
3150
3149
  return 0;
@@ -4620,7 +4619,6 @@ async function runs(args) {
4620
4619
  printJson(list.map((run) => ({ id: run.id, number: run.index_in_repo, status: run.status, workflow: run.workflow_id, ref: run.prettyref, event: run.event, sha: run.commit_sha, seconds: runSeconds(run), started: run.started, title: run.title, url: run.html_url })));
4621
4620
  return 0;
4622
4621
  }
4623
- printHeader("ft", "runs");
4624
4622
  if (list.length === 0) {
4625
4623
  console.log("no run");
4626
4624
  return 0;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kaynooo/cli-forgejo",
3
3
  "type": "module",
4
- "version": "0.23.0",
4
+ "version": "0.24.0",
5
5
  "description": "ft: Forgejo CI runs, logs, releases and issue checklists from the terminal, through tea.",
6
6
  "author": "Kaynooo <contact@kaynooo.fr>",
7
7
  "license": "MIT",
@@ -28,6 +28,6 @@
28
28
  "ft": "$npm_execpath src/cli.ts"
29
29
  },
30
30
  "devDependencies": {
31
- "@kaynooo/cli-kit": "0.28.0"
31
+ "@kaynooo/cli-kit": "0.29.0"
32
32
  }
33
33
  }