loom serve bootstrap

This commit is contained in:
EatThePooh 2025-10-06 14:19:00 +07:00
parent 677c22d3a6
commit 30e97f5b8e
7 changed files with 470 additions and 50 deletions

View file

@ -0,0 +1,16 @@
import { buildApplication, buildRouteMap, run } from 'npm:@stricli/core';
import { command as serve } from './cli/serve.ts';
import process from 'node:process';
const root = buildRouteMap({
routes: { serve },
docs: {
brief: "Grimu-R weaving companion CLI"
}
});
const app = buildApplication(root, {
name: "loom"
});
await run(app, process.argv.slice(2), { process });