loom serve bootstrap
This commit is contained in:
parent
677c22d3a6
commit
30e97f5b8e
7 changed files with 470 additions and 50 deletions
|
|
@ -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 });
|
||||
Loading…
Add table
Add a link
Reference in a new issue