import click from click_help_colors import HelpColorsGroup @click.group( cls=HelpColorsGroup, help_headers_color="yellow", help_options_color="green", ) def main() -> None: """TTS Service CLI""" @main.command() @click.option("--share", is_flag=True, help="Share the service") def serve(share: bool) -> None: """Start the TTS Service""" from tts_service.app import app app.launch(share=share) if __name__ == "__main__": main()