client.getScriptEngine().put("args", args);
}
private void bindNamedArgs(ClientMain client, ScriptCmdLine cmdLine) {
for (ScriptArg arg : cmdLine.getArgs()) {
NamedScriptArg namedArg = (NamedScriptArg) arg;
client.getScriptEngine().put(namedArg.getName(), namedArg.getValue());
}
}