diff --git a/configs/slpkg.toml b/configs/slpkg.toml index e1aafc7b..05cc2a2f 100644 --- a/configs/slpkg.toml +++ b/configs/slpkg.toml @@ -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] diff --git a/slpkg/configs.py b/slpkg/configs.py index 3c8d5a29..288910f9 100644 --- a/slpkg/configs.py +++ b/slpkg/configs.py @@ -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']