2023-02-26 11:34:26 +00:00
|
|
|
import { Command } from "../dependencies.ts";
|
2023-03-05 15:10:30 +00:00
|
|
|
import { moveCommand } from "./move.ts";
|
2023-02-25 16:37:04 +00:00
|
|
|
import { runCommand } from "./run.ts";
|
|
|
|
|
|
|
|
async function main(): Promise<void> {
|
|
|
|
await new Command()
|
|
|
|
.name("bulk")
|
|
|
|
.description("Bulk doer of things.")
|
2023-03-05 15:10:30 +00:00
|
|
|
.command("move", moveCommand)
|
2023-02-25 16:37:04 +00:00
|
|
|
.command("run", runCommand)
|
|
|
|
.parse(Deno.args);
|
|
|
|
}
|
|
|
|
|
|
|
|
if (import.meta.main) {
|
|
|
|
void main();
|
|
|
|
}
|