mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
8 lines
303 B
JavaScript
8 lines
303 B
JavaScript
const commandLineArgs = require("command-line-args");
|
|
|
|
const optionDefinitions = [
|
|
{ name: 'info', alias: 'i', defaultOption: true, type: String, defaultValue: undefined },
|
|
{ name: 'parts', alias: 'p', type: Number, defaultValue: undefined },
|
|
];
|
|
console.log(commandLineArgs(optionDefinitions));
|