All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.cli.image.ImageOptions Maven / Gradle / Ivy

There is a newer version: 3.17.0.CR1
Show newest version

package io.quarkus.cli.image;

import java.util.Optional;

import picocli.CommandLine;

public class ImageOptions {

    @CommandLine.Option(order = 3, names = {
            "--group" }, description = "The group part of the container image. Defaults to the ${user.name}.")
    public Optional group = Optional.empty();

    @CommandLine.Option(order = 4, names = {
            "--name" }, description = "The name part of the container image. Defaults to the ${project.artifactId}.")
    public Optional name = Optional.empty();

    @CommandLine.Option(order = 5, names = {
            "--tag" }, description = "The tag part of the container image. Defaults to the ${project.version}.")
    public Optional tag = Optional.empty();

    @CommandLine.Option(order = 6, names = {
            "--registry" }, description = "The registry part of the container image. Empty by default.")
    public Optional registry = Optional.empty();

    @Override
    public String toString() {
        return "ImageOptions [group=" + group + ", name=" + name + ", tag=" + tag + ", registry=" + registry + "]";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy