🚧 aliyundrive webdav write

This commit is contained in:
微凉
2021-12-06 22:14:32 +08:00
parent 28998d6f8c
commit 6e8d551420
5 changed files with 76 additions and 23 deletions

View File

@ -1,6 +1,7 @@
package bootstrap
import (
"flag"
"github.com/Xhofe/alist/conf"
log "github.com/sirupsen/logrus"
)
@ -22,5 +23,10 @@ func InitLog() {
}
func init() {
flag.StringVar(&conf.ConfigFile, "conf", "data/config.json", "config file")
flag.BoolVar(&conf.Debug, "debug", false, "start with debug mode")
flag.BoolVar(&conf.Version, "version", false, "print version info")
flag.BoolVar(&conf.Password, "password", false, "print current password")
flag.Parse()
InitLog()
}