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

org.bedework.bwcli.toolcmd.CmdToolUser Maven / Gradle / Ivy

/* ********************************************************************
    Appropriate copyright notice
*/
package org.bedework.bwcli.toolcmd;

import org.bedework.bwcli.bwcmd.PicoCmd;

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

/**
 * User: mike
 * Date: 11/11/16
 * Time: 21:48
 */
@Command(name = "tooluser",
        mixinStandardHelpOptions = true, version = "1.0",
        subcommands = { CommandLine.HelpCommand.class },
        description = {
                "Set user for tools."})
public class CmdToolUser extends PicoCmd {
  @CommandLine.Parameters(index = "0",
          paramLabel = "",
          description = {"user account"}, arity = "1")
  private String account;

  public void doExecute() throws Throwable {
    info(client().setCmdutilUser(account));
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy