aboutsummaryrefslogtreecommitdiff
path: root/src/cli.yml
blob: 262c2b62dccef2cd6cc3c33e4f0d078bd540941b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: chan-downloader
version: "0.2.0"
author: "Mariot Tsitoara <[email protected]>"
about: CLI to download all images/webms of a 4chan thread
args:
    - thread:
        short: t
        required: true
        long: thread
        value_name: thread
        help: URL of the thread
        takes_value: true
    - output:
        short: o
        long: output
        value_name: output
        help: Output directory (Default is 'downloads')
        takes_value: true
    - reload:
        short: r
        long: reload
        help: Reload thread every t minutes to get new images
    - interval:
        short: i
        long: interval
        value_name: interval
        help: Time between each reload (in minutes. Default is 5)
        takes_value: true
    - limit:
        short: l
        long: limit
        value_name: limit
        help: Time limit for execution (in minutes. Default is 120)
        takes_value: true
    - concurrent:
        short: c
        long: concurrent
        value_name: concurrent
        help: Number of concurrent requests (Default is 2)
        takes_value: true