CLI: Add lua encode command for inline scripts

This commit is contained in:
Meo597
2026-10-12 04:18:29 +08:00
parent 13396ff9c6
commit 8d79265bce
5 changed files with 194 additions and 0 deletions
+13
View File
@@ -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,
},
}