mirror of
https://github.com/ION606/ion-cli.git
synced 2026-05-14 22:16:56 +00:00
added the 'anime' cli command
This commit is contained in:
@@ -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();
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"apath":"","vpath":"C:\\Program Files\\VideoLAN\\VLC\\vlc.exe"}
|
||||||
+3
-2
@@ -4,12 +4,13 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "node ./anime/fromCLI.js"
|
||||||
},
|
},
|
||||||
"author": "ION606",
|
"author": "ION606",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"bin": {
|
"bin": {
|
||||||
"ion": "./main.js"
|
"ion": "./main.js",
|
||||||
|
"anime": "./anime_fromCLI.js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ffmpeg-installer/ffmpeg": "^1.1.0",
|
"@ffmpeg-installer/ffmpeg": "^1.1.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user