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
+2
View File
@@ -3,6 +3,7 @@ package all
import (
"github.com/xtls/xray-core/main/commands/all/api"
"github.com/xtls/xray-core/main/commands/all/convert"
"github.com/xtls/xray-core/main/commands/all/lua"
"github.com/xtls/xray-core/main/commands/all/tls"
"github.com/xtls/xray-core/main/commands/base"
)
@@ -12,6 +13,7 @@ func init() {
base.RootCommand.Commands,
api.CmdAPI,
convert.CmdConvert,
lua.CmdLua,
tls.CmdTLS,
cmdUUID,
cmdX25519,