# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pylint: disable=too-many-statements
# pylint: disable=too-many-locals

from azure.cli.core.commands import CliCommandType


def load_command_table(self, _):

    from azext_healthbot.generated._client_factory import cf_bot
    healthbot_bot = CliCommandType(
        operations_tmpl='azext_healthbot.vendored_sdks.healthbot.operations._bots_operations#BotsOperations.{}',
        client_factory=cf_bot)
    with self.command_group('healthbot', healthbot_bot, client_factory=cf_bot, is_experimental=True) as g:
        g.custom_command('list', 'healthbot_list')
        g.custom_show_command('show', 'healthbot_show')
        g.custom_command('create', 'healthbot_create', supports_no_wait=True)
        g.custom_command('update', 'healthbot_update')
        g.custom_command('delete', 'healthbot_delete', supports_no_wait=True, confirmation=True)
        g.custom_wait_command('wait', 'healthbot_show')
