#!/usr/bin/env python

__copyright__ = """ Copyright (c) 2009-2011 Torsten Schmits

This file is part of tek-utils. tek-utils is free software;
you can redistribute it and/or modify it under the terms of the GNU General
Public License version 2, as published by the Free Software Foundation.

tek-utils is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
details.

You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA  02111-1307  USA

"""

from tek.run import moo_run
from tek.config import Configurations, ConfigClient

from tek_utils.process_album import process_album

def main():
    Configurations.parse_cli(positional=('album', '+'))
    args = ConfigClient('process_album')('album')
    process_album(args)

if __name__ == "__main__":
    moo_run(main)
