if __name__ == '__main__':
    args = docopt(__doc__, version='command alpha')
id_schema = Use(int, error='ID should be an int')
file_schema = Or(None, Use(open, error='FILE should be readable'))
docopt + schema validation