- 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
749 B
TypeScript
26 lines
749 B
TypeScript
import type { CommandContext } from "@stricli/core";
|
|
|
|
/**
|
|
* Login command stub
|
|
*/
|
|
export async function login(this: CommandContext): Promise<void> {
|
|
console.log("Auth login command - Not implemented");
|
|
console.log("This command will authenticate a user and store credentials");
|
|
}
|
|
|
|
/**
|
|
* Logout command stub
|
|
*/
|
|
export async function logout(this: CommandContext): Promise<void> {
|
|
console.log("Auth logout command - Not implemented");
|
|
console.log("This command will clear stored authentication credentials");
|
|
}
|
|
|
|
/**
|
|
* Status command stub
|
|
*/
|
|
export async function status(this: CommandContext): Promise<void> {
|
|
console.log("Auth status command - Not implemented");
|
|
console.log("This command will show current authentication status");
|
|
}
|