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

io.quarkiverse.argocd.cli.project.ProjectBaseCommand Maven / Gradle / Ivy

The newest version!
package io.quarkiverse.argocd.cli.project;

import java.util.concurrent.Callable;

import jakarta.inject.Inject;

import io.fabric8.kubernetes.client.KubernetesClient;
import picocli.CommandLine.Model.CommandSpec;
import picocli.CommandLine.Option;
import picocli.CommandLine.Spec;

public abstract class ProjectBaseCommand implements Callable {

    @Inject
    KubernetesClient kubernetesClient;

    @Spec
    protected CommandSpec spec;

    @Option(order = 1, names = { "-h", "--help" }, usageHelp = true, description = "Display this help message.")
    public boolean help;

    @Option(order = 2, names = { "--dry-run" }, description = "Show actions that would be taken.")
    boolean dryRun = false;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy