@import org.osgl.*, act.cli.meta.* @args() { String cmd act.handler.CliHandler handler act.cli.CliDispatcher dispatcher } @{ String title = cmd; String help = handler.commandLine()._2; if (s().notEmpty(help)) { title = help; } }

@title

@handler.summary()

@for ($.Tuple option: handler.options()) { }

Result