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

com.github.jy2.commandline.picocli.param.ParamCommand Maven / Gradle / Ivy

There is a newer version: 0.0.39
Show newest version
package com.github.jy2.commandline.picocli.param;

import com.github.jy2.commandline.picocli.HzCommand;

import picocli.CommandLine;
import picocli.CommandLine.Command;
import picocli.CommandLine.ParentCommand;

@Command(name = "param", description = "Parameter operations (new line like in bash ^V^J)", subcommands = { ParamGetCommand.class,
		ParamListCommand.class, ParamSetCommand.class, ParamGetAllCommand.class,
		ParamShowYamlCommand.class, ParamShowJsonCommand.class, ParamDeleteCommand.class }, sortOptions = true)
public class ParamCommand implements Runnable {

	@ParentCommand
	HzCommand parent;

	public void run() {
		parent.out.println(new CommandLine(this).getUsageMessage());
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy