freeports_analysis.cmd

Contains all the functions related to command line use of the freeport script

Functions

cmd()

Command called when launching freeports from terminal, it calls the main function.

overwrite_with_args(args, config, ...)

Overwrite configuration provided and update the dictionary containing from where the configuration are loaded from accordingly, using command line arguments

freeports_analysis.cmd.cmd()

Command called when launching freeports from terminal, it calls the main function.

freeports_analysis.cmd.overwrite_with_args(args, config: dict, config_location: dict) Tuple[dict, dict]

Overwrite configuration provided and update the dictionary containing from where the configuration are loaded from accordingly, using command line arguments

Parameters:
  • config (dict) – configuration to overwrite

  • config_location (dict) – location of configuration to update

Returns:

first dict is the new configuration, second is the updated location dict

Return type:

Tuple[dict,dict]