public interface IPrinterPojo
To support both mode, each command generates a so-caller printer pojo, that can be rendered using jackson for json output, and that provide a print method to take care of providing the right information at the terminal.
Modifier and Type | Method and Description |
---|---|
void |
print(IConsolePrinter printer)
This method is invoked only if the cli is configured in terminal mode.
|
void print(IConsolePrinter printer)
printer
- the printer to use.Copyright © 2014–2023. All rights reserved.