package cmd import ( "flag" "github.com/loveuer/nfflow/internal/opt" ) func init() { flag.StringVar(&opt.ConfigFile, "c", "etc/config.json", "config json file path") flag.IntVar(&opt.Debug, "debug", 0, "") }