aea.manager.helpers
Project helper tools.
AEAProject Objects
class AEAProject()
A context manager class to create and delete an AEA project.
__
init__
def __init__(name: str = "my_aea", parent_dir: Optional[str] = None)
Initialize an AEA project.
Arguments:
name
: the name of the AEA project.parent_dir
: the parent directory.
__
enter__
def __enter__() -> None
Create and enter into the project.
__
exit__
def __exit__(exc_type, exc_val, exc_tb) -> None
Exit the context manager.
run_
cli
@staticmethod
def run_cli(*args: Any, **kwargs: Any) -> None
Run a CLI command.
run_
aea
@classmethod
def run_aea(cls, *args: Any, **kwargs: Any) -> None
Run an AEA command.
Arguments:
args
: the AEA commandkwargs
: keyword arguments to subprocess function