Document cfg.dir
rosik opened this issue · comments
Yaroslav Dynnikov commented
What is the dir
field in the result of config.parse
?
If it is supposed to be a path to the tarantool binary, then it's broken
init.lua:
local cfg = config.parse({
app_name = "myproject",
instance_name = os.getenv('INSTANCE_NAME'),
})
Running it
$ which tarantool
/opt/central/build/tarantool
$ /opt/central/build/tarantool ./init.lua
{"dir":"\/opt\/tarantool-install"}