- Create api-server with Bun.serve: - oRPC router with stub handlers for all procedures - Auth middleware placeholder - CORS configuration - Create CLI tool with stricli: - bootstrap command for initial superuser creation - Placeholder commands for auth, user, org management Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
26 lines
753 B
TypeScript
26 lines
753 B
TypeScript
import type { CommandContext } from "@stricli/core";
|
|
|
|
/**
|
|
* Create organization command stub
|
|
*/
|
|
export async function create(this: CommandContext): Promise<void> {
|
|
console.log("Org create command - Not implemented");
|
|
console.log("This command will create a new organization");
|
|
}
|
|
|
|
/**
|
|
* List organizations command stub
|
|
*/
|
|
export async function list(this: CommandContext): Promise<void> {
|
|
console.log("Org list command - Not implemented");
|
|
console.log("This command will list all organizations");
|
|
}
|
|
|
|
/**
|
|
* Add site to organization command stub
|
|
*/
|
|
export async function addSite(this: CommandContext): Promise<void> {
|
|
console.log("Org add-site command - Not implemented");
|
|
console.log("This command will add a site to an organization");
|
|
}
|