idmtools_slurm_utils.cli module

Handles CLI portion of idmtools-slurm-bridge.

idmtools_slurm_utils.cli.setup_loggers(config_directory: Path, console_level: int, file_level: int)

Setup loggers.

Parameters:
  • config_directory – Directory where config lives

  • console_level – Level to log to console

  • file_level – Level to log to file

Returns:

None

idmtools_slurm_utils.cli.existing_process_running(pid_file: Path)

Existing Process running.

Parameters:

pid_file

Returns:

None

idmtools_slurm_utils.cli.main()

CLI main.

idmtools_slurm_utils.cli.cleanup(*args, **kwargs)

Cleanup pid when user tries to kill process.

Parameters:

config_directory – The base config directory