initial
This commit is contained in:
18
mod.ts
Normal file
18
mod.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user