lib/hexo.ts
Function entry
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function entry(cwd = process.cwd(), args) {
args = camelCaseKeys(args || minimist(process.argv.slice(2), { string: ['_', 'p', 'path', 's', 'slug'] }));
let hexo = new Context(cwd, args);
let { log } = hexo;