from sys import argv
from fb3_reader import fb3, __version__

if __name__ == '__main__':
    try:
        if argv[1] == "--version" or argv[1] == "-v":
            print(__version__)
    except IndexError:
        fb3.reader(input("Enter path to file: "))
