def format_example_name(example):
    """Formats an example command to a function or file name
    """
    return '_'.join(example).replace('-', '_').replace(
        '.', '_').replace('/examples/', '')[1:]