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

io.github.qsy7.property.modules.cli.handler.GetSecretPropertyHandler Maven / Gradle / Ivy

The newest version!
// Generated by delombok at Sat Jan 13 17:12:39 EST 2024
package io.github.qsy7.property.modules.cli.handler;

import io.github.qsy7.inject.cli.service.CommandLineHandler;
import jakarta.inject.Inject;

/**
 * Helper to list our client id.
 */
public class GetSecretPropertyHandler implements CommandLineHandler {
  //  @Inject
  //  public GetSecretPropertyHandler(
  //      @Property(CommandLineHandlerShutdownTimeout.class) int shutdownTimeoutInSeconds) {
  //    super(shutdownTimeoutInSeconds);
  //  }
  @Override
  public void run(final String... arguments) {
    // change to assertion
    // we should not pass secrets on the command line, change this
    if (arguments == null || arguments.length % 2 != 0) {
      throw new IllegalArgumentException("Expected an even number of arguments");
    }
    //    BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
  }

  @Inject
  @java.lang.SuppressWarnings("all")
  public GetSecretPropertyHandler() {
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy