Statistiques
| Branche: | Tag: | Révision :

dockonsurf / modules / config_arg.py @ 082685ad

Historique | Voir | Annoter | Télécharger (449 octet)

1
"""Configures the command-line arguments the programs can be called with"""
2
import argparse
3

    
4

    
5
def get_args():
6
    parser = argparse.ArgumentParser()
7
    parser.add_argument('-i', '--input',
8
                        help='input file to read the calculation details',
9
                        required=True)
10
    # parser.add_argument('--debug',  # TODO Implement
11
    #                     help='Turns on debug verbosity')
12
    return parser.parse_args()