Files
trojanZ/trojan-master/cmd/tls.go
T
2026-07-26 00:09:57 +08:00

20 lines
294 B
Go

package cmd
import (
"github.com/spf13/cobra"
"trojan/trojan"
)
// tlsCmd represents the tls command
var tlsCmd = &cobra.Command{
Use: "tls",
Short: "证书安装",
Run: func(cmd *cobra.Command, args []string) {
trojan.InstallTls()
},
}
func init() {
rootCmd.AddCommand(tlsCmd)
}