# Copyright (c) 2020 CloudZero - ALL RIGHTS RESERVED - PROPRIETARY AND CONFIDENTIAL
# Unauthorized copying of this file and/or project, via any medium is strictly prohibited.
# Direct all questions to legal@cloudzero.com
#

# DEPRECATED: Views functionality has been removed
# The V4 API does not include views endpoints, indicating this feature has been deprecated
# in the backend. This module is kept for backwards compatibility but all functions
# will display deprecation warnings.

from src.utils.console import eprint


def list_views(cz_organization_id):
    """DEPRECATED: Views functionality is no longer available in V4 API."""
    eprint("⚠️  DEPRECATED: The 'views' command is no longer supported.")
    eprint("   The Views API has been deprecated and is not available in the V4 backend.")
    eprint("   Please use other commands like 'czops org list' or 'czops connection list' instead.")
    eprint("")
    eprint("   For more information about available commands, run: czops --help")
