#!/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}`); }