nose-pluto/nose/bin/projects.ts
Chris Wanstrath 021700e785 html output
2025-09-21 12:30:47 -07:00

9 lines
287 B
TypeScript

import { apps } from "@/webapp"
import { Thread } from "@/shell"
export default function () {
const state = Thread.getStore()
if (!state) return { error: "no state" }
return { html: apps().map(app => app === state.project ? `<b class="cyan">${app}</b>` : app).join(" ") }
}