@click.command()
@click.option('--dockerfile', default='Dockerfile', help='Path to the Dockerfile')
def lint(dockerfile):
    try:
        linter = DockerfileLabelLint(path=dockerfile)

        # All (third-party) tools should prefix their keys with the
        # reverse DNS notation of a domain controlled by the author.
        # For example, com.example.some-label.
        linter.namespaced_labels()

        # The com.docker.*, io.docker.* and org.dockerproject.* namespaces
        # are reserved for Docker’s internal use.
        linter.reserved_namespaces()

        # Keys should only consist of lower-cased alphanumeric characters,
        # dots and dashes (for example, [a-z0-9-.]).
        linter.valid_characters()

        # Keys should start and end with an alpha numeric character.
        linter.valid_start_and_end_characters()

        # Keys may not contain consecutive dots or dashes.
        linter.consecutive_dividers()

        logger = Logger.instance()
        if logger.has_failures:
            sys.exit(2)

    except DockerfileNotFoundError:
        sys.exit(3)
Implements the 'Get Multiple Devices' API.
dataset/ETHPy150Open garethr/docker-label-inspector/dli.py/lint--crossover with--dataset/ETHPy150Open exosite-labs/pyonep/pyonep/portals/endpoints.py/Endpoints.get_multiple_devices