package
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: Jun 2, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
shellescape
Lua module for github.com/alessio/shellescape.
Usage
local shellescape = require("shellescape")
escaped = shellescape.quote("foo bar baz")
-- 'foo bar baz'
escaped_command = shellescape.quote_command({ "echo", "foo bar baz" })
-- echo 'foo bar baz'
Documentation
¶
Loader is the module loader function.
Preload adds json to the given Lua state's package.preload table. After it
has been preloaded, it can be loaded using require:
local json = require("json")
Source Files
¶
Click to show internal directories.
Click to hide internal directories.