summaryrefslogtreecommitdiff
path: root/src/Dalos-cli.cc
blob: 7a5c5ba2ddbcb34ed7952f7e30363bf620b04bad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <Main.h>
#include <TaskMan.h>
#include <LuaTask.h>

using namespace Balau;

void MainTask::Do() {
    Printer::log(M_STATUS, "Dalos-cli starting");

    LuaMainTask * luaMainTask = createTask(new LuaMainTask);
    LuaExecString luaExecString("print 'foo'");
    luaExecString.exec(luaMainTask);
}