"""mlx-music CLI."""

import argparse


def main():
    parser = argparse.ArgumentParser(
        description="mlx-music: Music generation on Apple Silicon with MLX"
    )
    parser.add_argument("--version", action="store_true", help="Show version")
    args = parser.parse_args()

    if args.version:
        from mlx_music import __version__

        print(f"mlx-music {__version__}")
    else:
        parser.print_help()


if __name__ == "__main__":
    main()
