in dell_ai/cli/main.py [0:0]
def platforms_list() -> None:
"""
List all available platforms from the Dell Enterprise Hub.
Returns a JSON array of platform SKU IDs.
"""
try:
client = get_client()
platforms = client.list_platforms()
print_json(platforms)
except Exception as e:
print_error(f"Failed to list platforms: {str(e)}")