import click

from .chat import chat
from .db import db
from .embedding import embedding
from .image import image
from .knowledge import knowledge
from .search import search
from .video import video
from .video_edit import video_edit
from .voice import asr, tts


@click.group()
@click.version_option(version="0.5.0", prog_name="coze-coding-ai")
def main():
    """Coze Coding CLI - AI-powered tools for video generation, embedding, and more."""
    pass


main.add_command(video)
main.add_command(video_edit)
main.add_command(image)
main.add_command(knowledge)
main.add_command(search)
main.add_command(tts)
main.add_command(asr)
main.add_command(chat)
main.add_command(db)
main.add_command(embedding)


if __name__ == "__main__":
    main()
