diff options
Diffstat (limited to 'nuldoc-src/main.ts')
| -rw-r--r-- | nuldoc-src/main.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nuldoc-src/main.ts b/nuldoc-src/main.ts index 1635d76..8598d80 100644 --- a/nuldoc-src/main.ts +++ b/nuldoc-src/main.ts @@ -1,4 +1,5 @@ import { runBuildCommand } from "./commands/build.ts"; +import { runNewCommand } from "./commands/new.ts"; import { runServeCommand } from "./commands/serve.ts"; import { config } from "./config.ts"; @@ -6,6 +7,8 @@ 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 { |
