diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-01 02:28:10 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-01 02:28:10 +0900 |
| commit | cd16ed5d6b46d91ae9ac7b2237d6405ad6715a4a (patch) | |
| tree | 0e00d7caf3031fa86decaa0cbc226cc1e521b914 /services/nuldoc/nuldoc-src/main.ts | |
| parent | d08e3edb65b215152aa26e3518fb2f2cd7071c4b (diff) | |
| parent | 1964f77d03eb647dcf46d63dde68d7ae7301604f (diff) | |
| download | nsfisis.dev-cd16ed5d6b46d91ae9ac7b2237d6405ad6715a4a.tar.gz nsfisis.dev-cd16ed5d6b46d91ae9ac7b2237d6405ad6715a4a.tar.zst nsfisis.dev-cd16ed5d6b46d91ae9ac7b2237d6405ad6715a4a.zip | |
Merge branch 'feat/ruby-rewrite'
Diffstat (limited to 'services/nuldoc/nuldoc-src/main.ts')
| -rw-r--r-- | services/nuldoc/nuldoc-src/main.ts | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/services/nuldoc/nuldoc-src/main.ts b/services/nuldoc/nuldoc-src/main.ts deleted file mode 100644 index af6acc2e..00000000 --- a/services/nuldoc/nuldoc-src/main.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { runBuildCommand } from "./commands/build.ts"; -import { runNewCommand } from "./commands/new.ts"; -import { runServeCommand } from "./commands/serve.ts"; -import { getDefaultConfigPath, loadConfig } from "./config.ts"; - -const config = await loadConfig(getDefaultConfigPath()); - -if (import.meta.main) { - const command = Deno.args[0] ?? "build"; - if (command === "build") { - await runBuildCommand(config); - } else if (command === "new") { - runNewCommand(config); - } else if (command === "serve") { - runServeCommand(config); - } else { - console.error(`Unknown command: ${command}`); - } -} |
