linear skill
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
// List all Linear teams
|
||||
// Usage: linear-teams.js
|
||||
|
||||
import { getClient } from "./lib.js";
|
||||
|
||||
const client = getClient();
|
||||
|
||||
const teams = await client.teams();
|
||||
|
||||
console.log("Teams:");
|
||||
for (const team of teams.nodes) {
|
||||
console.log(` ${team.key.padEnd(8)} ${team.name}`);
|
||||
}
|
||||
Reference in New Issue
Block a user