mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-22 19:33:32 +02:00
f650d87083
* Add back convert-configs-to-protobuf command. * Add convert-typedMessage-to-json command. * Add -debug and -type arguments into convert.pb sub-command. --------- Co-authored-by: nobody <nobody@nowhere.mars>
22 lines
470 B
Go
22 lines
470 B
Go
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/tls"
|
|
"github.com/xtls/xray-core/main/commands/base"
|
|
)
|
|
|
|
// go:generate go run github.com/xtls/xray-core/common/errors/errorgen
|
|
|
|
func init() {
|
|
base.RootCommand.Commands = append(
|
|
base.RootCommand.Commands,
|
|
api.CmdAPI,
|
|
convert.CmdConvert,
|
|
tls.CmdTLS,
|
|
cmdUUID,
|
|
cmdX25519,
|
|
cmdWG,
|
|
)
|
|
}
|