plexus.cli.shared.CommandTasks module

plexus.cli.shared.CommandTasks.register_tasks(app)

Register Celery tasks with the application.

plexus.cli.shared.CommandTasks.upload_file_to_s3(bucket_name: str, key: str, content: str, content_type: str = 'text/plain') bool

Upload a file to S3.

Args:

bucket_name: S3 bucket name key: S3 object key content: File content as string content_type: MIME type of the content

Returns:

bool: True if successful, False otherwise