File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ Usage:
106106 [--quiet] [--debug]
107107 [--use-download-archive]
108108 [--output <output>]
109+ [--dir <dir>]
109110 [--ignore-existing-item]
110111 tubeup -h | --help
111112 tubeup --version
@@ -117,6 +118,8 @@ Arguments:
117118 of compatible websites.
118119 --metadata=<key:value> Custom metadata to add to the archive.org
119120 item.
121+ --dir <dir> Provide a directory for downloads and metadata.
122+
120123Options:
121124 -h --help Show this screen.
122125 -p --proxy <prox> Use a proxy while uploading.
Original file line number Diff line number Diff line change 2525 [--quiet] [--debug]
2626 [--use-download-archive]
2727 [--output <output>]
28+ [--dir <dir>]
2829 [--ignore-existing-item]
2930 tubeup -h | --help
3031 tubeup --version
3536 of compatible websites.
3637 --metadata=<key:value> Custom metadata to add to the archive.org
3738 item.
39+ --dir <dir> Provide a directory for downloads and metadata.
3840
3941Options:
4042 -h --help Show this screen.
@@ -74,6 +76,7 @@ def main():
7476 debug_mode = args ['--debug' ]
7577 use_download_archive = args ['--use-download-archive' ]
7678 ignore_existing_item = args ['--ignore-existing-item' ]
79+ dir_path = args ['--dir' ]
7780
7881 if debug_mode :
7982 # Display log messages.
@@ -91,6 +94,7 @@ def main():
9194 metadata = key_value_to_dict (args ['--metadata' ])
9295
9396 tu = TubeUp (verbose = not quiet_mode ,
97+ dir_path = dir_path ,
9498 output_template = args ['--output' ])
9599
96100 try :
You can’t perform that action at this time.
0 commit comments