rpmget.rpmget module
rpmget main init, run, and self-test functions.
- rpmget.rpmget.main()[source]
Collect and process command options/arguments and setup logging, check for user config, then launch the file/download manager.
- Parameters:
args – argument
- Return type:
None
- rpmget.rpmget.main_arg_parser()[source]
Function to parse command line arguments
- Parameters:
args – list of argument strings to parse
- Returns:
parsed arguments
- Return type:
ArgumentParser
- rpmget.rpmget.parse_command_line(argv)[source]
Parse command line arguments. See -h option
- Parameters:
argv – arguments on the command line include caller file name
- Return arguments:
parsed command line arguments
- rpmget.rpmget.process_config_loop(config, temp_path=None)[source]
Main processing loop for user config data; enables self-validation and partial config parsing before processing urls.
- Parameters:
config (CfgParser) – loaded CfgParser
temp_path (Path | None) – temp Path to be prepended to top_dir
- Returns:
list of downloaded filenames
- Return type:
List[str]