🚧 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,7 +1,6 @@
package main
import (
"flag"
"fmt"
"github.com/Xhofe/alist/bootstrap"
"github.com/Xhofe/alist/conf"
@ -12,14 +11,6 @@ import (
log "github.com/sirupsen/logrus"
)
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()
}
func Init() bool {
//bootstrap.InitLog()
bootstrap.InitConf()