Allow usernames and post IDs to be read from file.
This commit is contained in:
@@ -11,11 +11,19 @@ function getArgs() {
|
||||
describe: 'Reddit usernames to fetch posts from',
|
||||
type: 'array',
|
||||
})
|
||||
.option('file-users', {
|
||||
describe: 'Load reddit usernames from file',
|
||||
type: 'string',
|
||||
})
|
||||
.option('posts', {
|
||||
alias: 'post',
|
||||
describe: 'Reddit post IDs to fetch',
|
||||
type: 'array',
|
||||
})
|
||||
.option('file-posts', {
|
||||
describe: 'Load reddit post IDs from file',
|
||||
type: 'string',
|
||||
})
|
||||
.option('limit', {
|
||||
describe: 'Maximum amount of posts to fetch per supplied user (!), after filtering out ignored, cross- and reposts',
|
||||
type: 'number',
|
||||
|
||||
Reference in New Issue
Block a user