@extends(act.base, title: "CLI Over HTTP") @import org.osgl.Osgl @args String title, boolean showSysCmd @section(moreStyles) { } @args act.cli.CliDispatcher dispatcher @def commandList(List commandList) { @for(String cmd: commandList) { @{ act.handler.CliHandler handler = dispatcher.handler(cmd); Osgl.T2 commandLine = handler.commandLine(); } @cmd @commandLine._2 } else { No command found ... } } @title @if(showSysCmd) { Application commands } @commandList(dispatcher.applicationCommands()) @if(showSysCmd) { System commands @commandList(dispatcher.systemCommands()) } Click on the command list in the left navigation column to load command panel @section(moreScripts){ }
Click on the command list in the left navigation column to load command panel