mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-06 08:46:21 +01:00
Updated for file pattern
This commit is contained in:
parent
bf878e7e60
commit
2f6833c75e
2 changed files with 3 additions and 2 deletions
|
@ -26,6 +26,7 @@
|
||||||
# Download sources in parallel. Default is false. [true/false]
|
# Download sources in parallel. Default is false. [true/false]
|
||||||
PARALLEL_DOWNLOADS = false
|
PARALLEL_DOWNLOADS = false
|
||||||
# Pass your file pattern here, instead, you can use '--file-pattern=' or '-F=' option.
|
# Pass your file pattern here, instead, you can use '--file-pattern=' or '-F=' option.
|
||||||
|
# Default is the '*'.
|
||||||
FILE_PATTERN = "*"
|
FILE_PATTERN = "*"
|
||||||
# There are 5 predefined spinners for the progress bar.
|
# There are 5 predefined spinners for the progress bar.
|
||||||
# Default is pixel. [spinner/pie/moon/line/pixel]
|
# Default is pixel. [spinner/pie/moon/line/pixel]
|
||||||
|
|
|
@ -72,7 +72,7 @@ class Configs:
|
||||||
ascii_characters: bool = True
|
ascii_characters: bool = True
|
||||||
ask_question: bool = True
|
ask_question: bool = True
|
||||||
parallel_downloads: bool = False
|
parallel_downloads: bool = False
|
||||||
file_pattern_conf: str = ''
|
file_pattern: str = '*'
|
||||||
progress_spinner: str = 'pixel'
|
progress_spinner: str = 'pixel'
|
||||||
spinner_color: str = 'green'
|
spinner_color: str = 'green'
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ class Configs:
|
||||||
ascii_characters: bool = config['ASCII_CHARACTERS']
|
ascii_characters: bool = config['ASCII_CHARACTERS']
|
||||||
file_list_suffix: str = config['FILE_LIST_SUFFIX']
|
file_list_suffix: str = config['FILE_LIST_SUFFIX']
|
||||||
parallel_downloads: bool = config['PARALLEL_DOWNLOADS']
|
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']
|
progress_spinner: str = config['PROGRESS_SPINNER']
|
||||||
spinner_color: str = config['SPINNER_COLOR']
|
spinner_color: str = config['SPINNER_COLOR']
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue