mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-10-12 09:18:15 +03:00
CLI: Add lua encode command for inline scripts
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package lua
|
||||
|
||||
import "github.com/xtls/xray-core/main/commands/base"
|
||||
|
||||
// CmdLua holds all Lua subcommands.
|
||||
var CmdLua = &base.Command{
|
||||
UsageLine: "{{.Exec}} lua",
|
||||
Short: "Lua tools",
|
||||
Long: "{{.Exec}} {{.LongName}} provides tools for Lua scripts.",
|
||||
Commands: []*base.Command{
|
||||
cmdEncode,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user