added the 'anime' cli command

This commit is contained in:
Itamar Oren
2023-02-26 20:41:10 -05:00
parent 21b8ec4d2a
commit d9f848734a
3 changed files with 15 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env node
import animeMain from "./anime/getAndSave.js";
function fromCLI() {
const argsRaw = [...process.argv].slice(2);
animeMain(argsRaw);
}
fromCLI();