#!/usr/bin/env python3
"""
Lesana Command Line interface
"""

import argparse

import lesana.command


class Lesana(lesana.command.MainCommand):
    """
    Manage collections
    """

    commands = (
        ("new", lesana.command.New()),
        ("edit", lesana.command.Edit()),
        ("show", lesana.command.Show()),
        ("index", lesana.command.Index()),
        ("search", lesana.command.Search()),
        ("update", lesana.command.Update()),
        ("export", lesana.command.Export()),
        ("init", lesana.command.Init()),
        ("rm", lesana.command.Remove()),
    )


if __name__ == "__main__":
    Lesana().main()
