initial commit

This commit is contained in:
2025-04-18 12:04:03 +10:00
commit 57385cbaed
11 changed files with 168 additions and 0 deletions

12
flag/flag.go Normal file
View File

@@ -0,0 +1,12 @@
package flag
import (
"github.com/spf13/pflag"
"github.com/spf13/viper"
)
func Parse() {
pflag.String("config", "/etc/netbounce/netbounce.yml", "path to config file")
pflag.Parse()
_ = viper.BindPFlags(pflag.CommandLine)
}