Added npm script for running application.

This commit is contained in:
2024-09-11 05:16:54 +02:00
parent 7fd77d5232
commit 6131d0a76c
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'