aboutsummaryrefslogtreecommitdiff
path: root/src/cli.yml
diff options
context:
space:
mode:
authorMariot Tsitoara <[email protected]>2021-01-03 22:14:12 +0100
committerMariot Tsitoara <[email protected]>2021-01-03 22:14:12 +0100
commit3ec98a7b0f1d2794d2753e568518c249739c9663 (patch)
tree56780083a3d5b2971bf390d04fab76a6e6120791 /src/cli.yml
parentAdd log actions to lin and bin (diff)
downloadchan-downloader-3ec98a7b0f1d2794d2753e568518c249739c9663.tar.xz
chan-downloader-3ec98a7b0f1d2794d2753e568518c249739c9663.zip
Add reload and sleep actions
Diffstat (limited to 'src/cli.yml')
-rw-r--r--src/cli.yml18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/cli.yml b/src/cli.yml
index 0b82bb8..6b0ca8f 100644
--- a/src/cli.yml
+++ b/src/cli.yml
@@ -1,5 +1,5 @@
name: chan-downloader
-version: "0.1.5"
+version: "0.1.6"
author: "Mariot Tsitoara <[email protected]>"
about: CLI to download all images/webms of a 4chan thread
args:
@@ -16,3 +16,19 @@ args:
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