mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-01-11 20:10:20 +00:00
17 lines
No EOL
335 B
TypeScript
17 lines
No EOL
335 B
TypeScript
import { appArgv } from "./modules/module.app-args";
|
|
import * as yamlCfg from './modules/module.cfg-loader';
|
|
|
|
import funimation from './funi'
|
|
|
|
(async () => {
|
|
const cfg = yamlCfg.loadCfg();
|
|
|
|
const argv = appArgv(cfg.cli);
|
|
|
|
if (argv.service === 'funi') {
|
|
await funimation()
|
|
} else if (argv.service === 'crunchy') {
|
|
|
|
}
|
|
|
|
})() |