Class ForwardsList
java.lang.Object
ai.wanaku.cli.main.commands.BaseCommand
ai.wanaku.cli.main.commands.forwards.ForwardsList
Command to list port forwarding configurations in the Wanaku platform.
This command retrieves and displays all registered port forwards. The output includes forward name and address for each entry.
-
Field Summary
FieldsFields inherited from class ai.wanaku.cli.main.commands.BaseCommand
authTokenOverride, EXIT_ERROR, EXIT_OK, noAuth -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCall(org.jline.terminal.Terminal terminal, WanakuPrinter printer) Methods inherited from class ai.wanaku.cli.main.commands.BaseCommand
call, initAuthenticatedService, initService, initService
-
Field Details
-
host
-
-
Constructor Details
-
ForwardsList
public ForwardsList()
-
-
Method Details
-
doCall
public Integer doCall(org.jline.terminal.Terminal terminal, WanakuPrinter printer) throws IOException, Exception - Specified by:
doCallin classBaseCommand- Throws:
IOExceptionException
-