idmtools_platform_comps.cli.comps module

idmtools comps cli comands.

Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.

idmtools_platform_comps.cli.comps.add_item(assets: AssetCollection, file: str)

Add Item.

Parameters:
  • assets – Assets

  • file – File or Directory

Returns:

None

Raises:

FileNotFoundError if file cannot be found.

class idmtools_platform_comps.cli.comps.StaticCredentialPrompt(comps_url, username, password)

Bases: CredentialPrompt

Provides a class to allow login to comps from a username password that is static or provided.

__init__(comps_url, username, password)

Constructor.

prompt()

Return our stores username and password.