def get_parser():
    """Return a parser for the command-line arguments."""
    parser = argparse.ArgumentParser(
        add_help=False,
        description='Analysis of your architecture strength based on DSM data')
    parser.add_argument(
        '-c', '--config', action='store', type=valid_file, dest='config_file',
        metavar='FILE', help='Configuration file to use.')
    parser.add_argument(
        '-h', '--help', action='help', default=argparse.SUPPRESS,
        help='Show this help message and exit.')
    parser.add_argument(
        '-i', '--input', action='store', type=valid_file, dest='input_file',
        metavar='FILE', help='Input file containing CSV data.')
    parser.add_argument(
        '-l', '--list-plugins', action='store_true', dest='list_plugins',
        default=False, help='Show the available plugins. Default: false.')
    parser.add_argument(
        '--no-color', action='store_true', dest='no_color', default=False,
        help='Do not use colors. Default: false.')
    parser.add_argument(
        '--no-config', action='store_true', dest='no_config', default=False,
        help='Do not load configuration from file. Default: false.')
    parser.add_argument(
        '-v', '--verbose-level', action='store', dest='level',
        type=valid_level, default='ERROR', help='Level of verbosity.')
    parser.add_argument(
        '-V', '--version', action='version', version='archan %s' % __version__,
        help='Show the current version of the program and exit.')
    return parser
Return a parser for the command-line arguments.