19 lines
372 B
TypeScript
19 lines
372 B
TypeScript
#!/usr/bin/env -S deno run --allow-all
|
|
|
|
/**
|
|
* GitOps - Manage Gitea & GitLab from a single dashboard
|
|
*
|
|
* Entry point for the GitOps server.
|
|
*/
|
|
|
|
import { runCli } from './ts/index.ts';
|
|
|
|
if (import.meta.main) {
|
|
try {
|
|
await runCli();
|
|
} catch (error) {
|
|
console.error(`Error: ${error instanceof Error ? error.message : String(error)}`);
|
|
Deno.exit(1);
|
|
}
|
|
}
|