from typing import List


def get_options(command: dict) -> List[str]:
    """Extract options from Click's information dictionary retrieved via `to_info_dict`."""
    params = command["params"]
    result = []
    for param in params:
        result.extend(filter(lambda x: "--" in x, param["opts"]))
    return result