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

com.sshtools.commands.ChildUpdateCommand Maven / Gradle / Ivy

package com.sshtools.commands;

import java.util.concurrent.Callable;

import picocli.CommandLine.Command;
import picocli.CommandLine.Model.CommandSpec;
import picocli.CommandLine.Spec;

@Command(name = "update", usageHelpAutoWidth = true, mixinStandardHelpOptions = true, description = "Updates this application.", subcommands = {
		Updates.SetOrGetPhase.class, Updates.ListPhases.class, Updates.Check.class })
public class ChildUpdateCommand implements Callable {

	@Spec
	CommandSpec spec;

	@Override
	public Integer call() throws Exception {
		return Updates.call(JadaptiveCommand.getRootCommand(spec));
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy