aboutsummaryrefslogtreecommitdiff
path: root/services/docker/mail-server/relay/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'services/docker/mail-server/relay/main.ts')
-rw-r--r--services/docker/mail-server/relay/main.ts28
1 files changed, 0 insertions, 28 deletions
diff --git a/services/docker/mail-server/relay/main.ts b/services/docker/mail-server/relay/main.ts
deleted file mode 100644
index 5a021d8..0000000
--- a/services/docker/mail-server/relay/main.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-import { parseArgs } from "@std/cli";
-
-import { AwsRelayApp } from "./aws/app.ts";
-
-if (import.meta.main) {
- const app = new AwsRelayApp();
-
- const args = parseArgs(Deno.args);
- if (args._.length === 0) {
- throw new Error("You must specify a command.");
- }
-
- const commands = {
- "list-lives": () => {
- console.log("absdf")
- },
- };
-
- const command = args._[0];
- if (command in commands) {
- commands[command as keyof typeof commands]();
- Deno.exit(0);
- } else {
- throw new Error(command + " is not a valid command.");
- }
-
- await app.run();
-}