feat: add addpeer cmd to add a remote Wireguard peer

This commit is contained in:
braginini
2021-05-01 16:03:43 +02:00
parent 550698c3b5
commit 4f3799ac65
2 changed files with 46 additions and 0 deletions
+1
View File
@@ -33,6 +33,7 @@ func init() {
rootCmd.PersistentFlags().StringVar(&configPath, "config", "/etc/wiretrustee/config.json", "Wiretrustee config file location to write new config to")
rootCmd.PersistentFlags().StringVar(&logLevel, "log-level", "info", "")
rootCmd.AddCommand(initCmd)
rootCmd.AddCommand(addPeerCmd)
rootCmd.AddCommand(upCmd)
rootCmd.AddCommand(signalCmd)
}