@bli-cockpit/cli 0.2.75 → 0.2.76

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.
@@ -61,7 +61,8 @@ async function listChannels(door) {
61
61
  }
62
62
  for (const channel of fetched.channels) {
63
63
  const label = channel.is_dm ? "dm" : channel.is_private ? "private" : "public";
64
- writeLine(door.io.stdout, `${channel.id} ${label.padEnd(7)} ${channel.name ?? "(unnamed)"}`);
64
+ const workspace = channel.is_dm ? "-" : (channel.slack_workspace ?? "bli");
65
+ writeLine(door.io.stdout, `${channel.id} ${label.padEnd(7)} ${workspace.padEnd(10)} ${channel.name ?? "(unnamed)"}`);
65
66
  }
66
67
  return 0;
67
68
  }
@@ -15,7 +15,7 @@ export async function runCockpitCli(argv, io) {
15
15
  }
16
16
 
17
17
  if (command === "--version" || command === "-V" || command === "version") {
18
- writeLine(io?.stdout ?? process.stdout, "0.2.75");
18
+ writeLine(io?.stdout ?? process.stdout, "0.2.76");
19
19
  return 0;
20
20
  }
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bli-cockpit/cli",
3
- "version": "0.2.75",
3
+ "version": "0.2.76",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {