Class IpmiCli

java.lang.Object
org.metricshub.ipmi.cli.IpmiCli

public final class IpmiCli extends Object
The command-line client: java -jar ipmi-java-<version>-standalone.jar [options] <subcommand> [...]. Every subcommand is a thin layer over one operation of IpmiClient; the text output is for humans, --json prints JSON Lines, diagnostics go to stderr only, and the exit codes are those of the MetricsHub command-line clients: the sysexits values, 1 for a partial result and 124 for a timeout. See the manual.
  • Method Details

    • main

      public static void main(String[] args)
      Runs the CLI on the standard streams and exits with its exit code.
      Parameters:
      args - the command line