2024-03-31 20:09:20 +08:00

12 lines
214 B
Go

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, "")
}