def list_workspaces() -> None:
    """List the workspaces in Argilla and prints them on the console."""
    from rich.console import Console

    from argilla_v1 import Workspace
    from argilla_v1.cli.rich import get_argilla_themed_table

    workspaces = Workspace.list()

    table = get_argilla_themed_table(title="Workspaces")
    for column in ("ID", "Name", "Creation Date", "Last Update Date"):
        table.add_column(column, justify="center")

    for workspace in workspaces:
        table.add_row(
            str(workspace.id),
            workspace.name,
            workspace.inserted_at.isoformat(sep=" "),
            workspace.updated_at.isoformat(sep=" "),
        )

    console = Console()
    console.print(table)
List the workspaces in Argilla and prints them on the console.
argilla-v1/src/argilla_v1/cli/workspaces/list.py