Class Command.Env

java.lang.Object
software.amazon.smithy.cli.Command.Env
Enclosing interface:
Command

public static final class Command.Env extends Object
Environment settings for the command.
  • Constructor Details

  • Method Details

    • stdout

      public CliPrinter stdout()
      Returns:
      Returns the configured printer for stdout.
    • stderr

      public CliPrinter stderr()
      Returns:
      Returns the configured printer for stderr.
    • classLoader

      public ClassLoader classLoader()
      Returns:
      Returns the configured class loader to use to load additional classes/resources.