seafile_recovery/config.go

16 lines
374 B
Go
Raw Normal View History

2021-04-21 12:44:49 +00:00
package main
type configCollect struct {
2021-04-22 09:29:04 +00:00
Head bool `docopt:"head"`
2021-04-22 10:38:52 +00:00
Ls bool `docopt:"ls"`
2021-04-23 15:33:32 +00:00
Info bool `docopt:"info"`
Cp bool `docopt:"cp"`
2021-04-22 10:38:52 +00:00
S3 bool `docopt:"s3"`
2021-04-27 14:24:01 +00:00
S3Del bool `docopt:"s3del"`
2021-04-21 12:44:49 +00:00
Storage string `docopt:"--storage"`
2021-04-23 15:33:32 +00:00
DirId string `docopt:"--dir"`
FileId string `docopt:"--file"`
2021-04-21 12:44:49 +00:00
RepoId string `docopt:"<repoid>"`
2021-04-26 09:05:31 +00:00
Dest string `docopt:"<dest>"`
2021-04-21 12:44:49 +00:00
}