This commit is contained in:
chermack
2026-07-26 00:09:57 +08:00
commit 059be96536
134 changed files with 19678 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
package cmd
import (
"trojan/trojan"
"github.com/spf13/cobra"
)
// portCmd represents the info command
var portCmd = &cobra.Command{
Use: "port",
Short: "修改trojan端口",
Run: func(cmd *cobra.Command, args []string) {
trojan.ChangePort()
},
}
func init() {
rootCmd.AddCommand(portCmd)
}