UNPKG

@subtitles/cli

Version:

Your tool to query and download subtitles for your favorites TV Shows and movies. It searches according to your preferences, also it can scan your directory for video files and downloading the best match on the run

2 lines 2.37 kB
#!/usr/bin/env node "use strict";(()=>{var e={id:442,ids:[442]};e.modules={292:(e,t,i)=>{const r=i(647),s=i(876),a=new r.Command("subtitle-finder");a.version(s.version).description("Search and download subtitles in most popular providers. The search can be made with a keyword or using a video file"),a.option("-y, --yes","download without asking").option("-o, --output <path>","Write output to <path> instead of current directory path"),a.command("search <keyword>","Search for movies and TV Shows by keyword, searching for the best match",{executableFile:__dirname+"/commands/search.js"}).alias("query").command("scan <dir>","Scan a directory, searching for subtitles for all video files found"),a.parse(process.argv)},647:e=>{e.exports=require("commander")},876:e=>{e.exports=JSON.parse('{"name":"@subtitles/cli","version":"0.3.0-beta.2","description":"Your tool to query and download subtitles for your favorites TV Shows and movies. It searches according to your preferences, also it can scan your directory for video files and downloading the best match on the run","keywords":["subtitle","cli","scan","TV Shows","Movies"],"author":"Peter <npmjs@peter.dev.br>","homepage":"https://github.com/pherval/subtitle-finder/tree/main/packages/cli#readme","license":"MIT","main":"./bin/cli.js","bin":{"subtitle-finder":"./bin/cli.js"},"directories":{"lib":"lib"},"files":["dist","bin"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/pherval/subtitle-finder.git","directory":"packages/cli"},"scripts":{"start":"node .","build":"npm run webpack -- --env mode=production","build:analyzer":"npm run build -- --env presets.analyzer","dev":"npm run webpack -- --env mode=development --watch","webpack":"webpack","typecheck":"tsc --noEmit","test":"jest","test:watch":"npm t -- --watch","clean":"rimraf dist"},"bugs":{"url":"https://github.com/pherval/subtitle-finder/issues"},"devDependencies":{"@types/debug":"^4.1.7","webpack":"^5.38.1","webpack-bundle-analyzer":"^4.4.2","webpack-cli":"^4.7.0","webpack-config-organizer":"^0.2.2","webpack-node-externals":"^3.0.0"},"dependencies":{"@subtitles/providers":"^0.3.0-beta.0","chalk":"^4.1.2","commander":"^8.1.0","debug":"^4.3.2"},"webpack-config-organizer":{"base":"configs/webpack","presets":{"path":".","prefix":"preset."}}}')}};var t=require("./runtime.js");t.C(e),t(t.s=292)})();