import click

from abcforge.commands.gp2xml import command as gp2xml
from abcforge.commands.xml2abc import command as xml2abc
from abcforge.commands.abc2abci import command as abc2abci
from abcforge.commands.view import command as view


@click.group()
def main():
    """abcforge: Guitar Pro / MusicXML → ABC → interleaved ABC pipeline."""


main.add_command(gp2xml, name="gp2xml")
main.add_command(xml2abc, name="xml2abc")
main.add_command(abc2abci, name="abc2abci")
main.add_command(view, name="view")


if __name__ == "__main__":
    main()
