Updated for file pattern

This commit is contained in:
Dimitris Zlatanidis 2023-03-25 13:10:44 +02:00
parent bf878e7e60
commit 2f6833c75e
2 changed files with 3 additions and 2 deletions

View file

@ -26,6 +26,7 @@
# Download sources in parallel. Default is false. [true/false]
PARALLEL_DOWNLOADS = false
# Pass your file pattern here, instead, you can use '--file-pattern=' or '-F=' option.
# Default is the '*'.
FILE_PATTERN = "*"
# There are 5 predefined spinners for the progress bar.
# Default is pixel. [spinner/pie/moon/line/pixel]

View file

@ -72,7 +72,7 @@ class Configs:
ascii_characters: bool = True
ask_question: bool = True
parallel_downloads: bool = False
file_pattern_conf: str = ''
file_pattern: str = '*'
progress_spinner: str = 'pixel'
spinner_color: str = 'green'
@ -100,7 +100,7 @@ class Configs:
ascii_characters: bool = config['ASCII_CHARACTERS']
file_list_suffix: str = config['FILE_LIST_SUFFIX']
parallel_downloads: bool = config['PARALLEL_DOWNLOADS']
file_pattern_conf: str = config['FILE_PATTERN']
file_pattern: str = config['FILE_PATTERN']
progress_spinner: str = config['PROGRESS_SPINNER']
spinner_color: str = config['SPINNER_COLOR']