@zenithcore/zenny
Version:
Command-line interface for ZenithKernel framework
20 lines (16 loc) • 490 B
text/typescript
// TODO: import { bootstrapKernel } from "@bootstrap/bootstrapKernel";
// Stub for bootstrapKernel
const bootstrapKernel = async () => ({
getSystemManager: () => ({
getAllSystems: () => []
}),
getRegisteredSystems: () => []
});
export async function listSystems() {
const kernel = await bootstrapKernel();
const systems = kernel.getRegisteredSystems();
console.log("🧠 Registered Systems:");
for (const id of systems) {
console.log(" -", id);
}
}