This commit is contained in:
loveuer
2024-07-26 17:59:02 +08:00
parent d55c6b1932
commit eea192e385
14 changed files with 250 additions and 22 deletions

View File

@ -1,16 +1,12 @@
package cmd
import (
"flag"
"time"
"ultone/internal/opt"
)
func init() {
time.Local = time.FixedZone("CST", 8*3600)
flag.StringVar(&filename, "c", "etc/config.json", "config json file path")
flag.BoolVar(&opt.Debug, "debug", false, "")
flag.Parse()
initRoot()
initCli()
}