Skip to content

Commit

Permalink
Add cli opts shortcuts (#68)
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
pditommaso committed May 17, 2024
1 parent f7823d7 commit ae79c6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/io/seqera/wave/cli/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public class App implements Runnable {
@Option(names = {"--wave-endpoint"}, paramLabel = "''", description = "Wave service endpoint e.g. https://wave.seqera.io.")
private String waveEndpoint;

@Option(names = {"--freeze"}, paramLabel = "false", description = "Request a container freeze.")
@Option(names = {"--freeze", "-F"}, paramLabel = "false", description = "Request a container freeze.")
private boolean freeze;

@Option(names = {"--platform"}, paramLabel = "''", description = "Platform to be used for the container build. One of: linux/amd64, linux/arm64.")
Expand Down Expand Up @@ -148,7 +148,7 @@ public class App implements Runnable {
@Option(names = {"--conda-file"}, paramLabel = "''", description = "A Conda file used to build the container e.g. /some/path/conda.yaml.")
private String condaFile;

@Option(names = {"--conda-package"}, paramLabel = "''", description = "One or more Conda packages used to build the container e.g. bioconda::samtools=1.17.")
@Option(names = {"--conda-package", "--conda"}, paramLabel = "''", description = "One or more Conda packages used to build the container e.g. bioconda::samtools=1.17.")
private List<String> condaPackages;

@Option(names = {"--conda-base-image"}, paramLabel = "''", description = "Conda base image used to to build the container (default: ${DEFAULT-VALUE}).")
Expand Down

0 comments on commit ae79c6f

Please sign in to comment.