$ luarocks install snaphelpers
snaphelpers is a Lua module for interfacing with the snap subsystem
from within a snap. Level up your hooks and wrappers by being able
to quickly access configuration options and application properties
without requiring the use of complex and difficult to maintain
shell scripts!
Versions
Dependencies
lua >= 5.1, < 5.5
lua-cjson >= 2.1.0
luaposix >= 33.4.0
lyaml >= 6.2.7