more articles
This commit is contained in:
2
dist/config.js
vendored
2
dist/config.js
vendored
@ -4,7 +4,7 @@ const fs = require("fs");
|
||||
const cmdargs = require("command-line-args");
|
||||
const OPTION_DEFINITIONS = [
|
||||
{ name: 'verbose', alias: 'v', type: Boolean },
|
||||
{ name: 'config', alias: 'c', type: String, defaultValue: '~/homepage.conf' }
|
||||
{ name: 'config', alias: 'c', type: String, defaultValue: './homepage.conf' }
|
||||
];
|
||||
function readConfig() {
|
||||
let options = cmdargs(OPTION_DEFINITIONS);
|
||||
|
Reference in New Issue
Block a user