Added npm script for running application.

This commit is contained in:
2018-04-29 04:13:01 +02:00
parent ab816204d0
commit 4754e2445d
3 changed files with 11 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
const config = require('config');
const yargs = require('yargs');
module.exports = yargs.option('users', {
module.exports = yargs.command('npm start -- --user <username>').option('users', {
alias: 'user',
describe: 'Reddit usernames to fetch posts from',
type: 'array'