MCPcopy Create free account
hub / github.com/codename-co/stack / StackEntry

Interface StackEntry

packages/scripts/maintenance/lib/hub.ts:14–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12import { parse as parseYAML } from "yaml";
13
14export interface StackEntry {
15 slug: string;
16 dir: string;
17 stackFile: string;
18 composeFile: string | null;
19 envFile: string | null;
20 data: Record<string, any>;
21 raw: string;
22}
23
24export function listStacks(root = "hub", only?: string[]): StackEntry[] {
25 const dirs = readdirSync(root)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected