diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-11-02 17:49:34 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-11-02 17:49:34 +0900 |
| commit | 57315c52be96d2a2c013f0cfb0de5429980e301a (patch) | |
| tree | 5d691497772fddfe401cd970ead4e9a74b34ef38 /services/blog/nuldoc-src/main.ts | |
| parent | cf4091a93ed831456e8b30e2a9e1fc2650dcae02 (diff) | |
| download | nsfisis.dev-57315c52be96d2a2c013f0cfb0de5429980e301a.tar.gz nsfisis.dev-57315c52be96d2a2c013f0cfb0de5429980e301a.tar.zst nsfisis.dev-57315c52be96d2a2c013f0cfb0de5429980e301a.zip | |
refactor(blog): rename directory, services/{blog => nuldoc}/
Diffstat (limited to 'services/blog/nuldoc-src/main.ts')
| -rw-r--r-- | services/blog/nuldoc-src/main.ts | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/services/blog/nuldoc-src/main.ts b/services/blog/nuldoc-src/main.ts deleted file mode 100644 index af6acc2..0000000 --- a/services/blog/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}`); - } -} |
