changed PackageOperation to enums

This commit is contained in:
CyberShell committed 2025-02-28 17:39:08 -06:00
1 parent 6db5f73bc0
commit 8900bd70a4
8 files changed
+94 -70

No files matched your search

+5 -1
View File
@@ -18,7 +18,11 @@ var (
func cron(cmd *cobra.Command, args []string) {
parseS3Config()
opts := backy.NewOpts(cfgFile, backy.EnableCron(), backy.SetLogFile(logFile), backy.SetCmdStdOut(cmdStdOut))
opts := backy.NewOpts(cfgFile,
backy.EnableCron(),
backy.SetLogFile(logFile),
backy.SetCmdStdOut(cmdStdOut))
opts.InitConfig()
opts.ReadConfig()