Skip to content
This repository was archived by the owner on Oct 29, 2023. It is now read-only.
This repository was archived by the owner on Oct 29, 2023. It is now read-only.

Ensure that jobs emit usage help #27

@deflaux

Description

@deflaux

It would be nice if when jobs are run with no arguments or --help that they print out usage details.

java -cp target/google-genomics-dataflow-v1beta2-0.2-SNAPSHOT.jar com.google.cloud.genomics.dataflow.pipelines.IdentityByState 
Exception in thread "main" java.lang.IllegalArgumentException: Need to specify either --genomicsSecretsFile or --apiKey
        at com.google.cloud.genomics.dataflow.utils.GenomicsOptions$Methods.validateOptions(GenomicsOptions.java:42)
        at com.google.cloud.genomics.dataflow.utils.GenomicsDatasetOptions$Methods.validateOptions(GenomicsDatasetOptions.java:63)
        at com.google.cloud.genomics.dataflow.pipelines.IdentityByState.main(IdentityByState.java:55)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions