1# -*- coding: utf-8 -*- 2# This file is part of beets. 3# Copyright 2017, Adrian Sampson. 4# 5# Permission is hereby granted, free of charge, to any person obtaining 6# a copy of this software and associated documentation files (the 7# "Software"), to deal in the Software without restriction, including 8# without limitation the rights to use, copy, modify, merge, publish, 9# distribute, sublicense, and/or sell copies of the Software, and to 10# permit persons to whom the Software is furnished to do so, subject to 11# the following conditions: 12# 13# The above copyright notice and this permission notice shall be 14# included in all copies or substantial portions of the Software. 15 16"""The __main__ module lets you run the beets CLI interface by typing 17`python -m beets`. 18""" 19 20from __future__ import division, absolute_import, print_function 21 22import sys 23from .ui import main 24 25if __name__ == "__main__": 26 main(sys.argv[1:]) 27