1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-20 08:16:55 -05:00
v2fly/commands/all/commands.go
Jebbs a17fc40651
v5: API commands (#452)
* api commands

* do not build all commands texts

* apply lint style

* configurable api timeout

* api cmds accepts file, url, stdin.
optimze output

* extract to dialAPIServer()
2020-11-30 20:08:08 +08:00

27 lines
403 B
Go

package all
import (
"v2ray.com/core/commands/all/api"
"v2ray.com/core/commands/all/tls"
"v2ray.com/core/commands/base"
)
// go:generate go run v2ray.com/core/common/errors/errorgen
func init() {
base.RootCommand.Commands = append(
base.RootCommand.Commands,
api.CmdAPI,
cmdConvert,
cmdLove,
tls.CmdTLS,
cmdUUID,
cmdVerify,
cmdMerge,
// documents
docFormat,
docMerge,
)
}