#!/usr/bin/env python

"""
This module is the entry point for the application.
Process command line arguments and pass appropriate flags to Session
"""

from __future__ import print_function
import pkg_resources
from roamer.session import Session

def start(argv):
    if '--version' in argv:
        version = pkg_resources.require('roamer')[0].version
        print(version)
        return
    Session().run()
