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)[source]

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)[source]

Bases: CredentialPrompt

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

__init__(comps_url, username, password)[source]

Constructor.

prompt()[source]

Return our stores username and password.