Update cli/backup/backup.go

Shared backup variables added to file.
fileCreatedBefore strings are duplicated. These vars are now in the utils package.
This commit is contained in:
Danny Adams 2023-03-08 08:47:38 -05:00
parent f404b7716f
commit 913327e016

View File

@ -18,18 +18,12 @@ import (
"github.com/spf13/cobra"
)
// ==============================================
// Folder Object flags
// These options are flags for indicating
// that a time-based filter should be used for
// within returning objects for details.
// Used by: OneDrive, SharePoint
// ================================================
// Shared Backup Globals
// ================================================
var (
fileCreatedAfter string
fileCreatedBefore string
fileModifiedAfter string
fileModifiedBefore string
backupID string
user []string
)
var subCommandFuncs = []func() *cobra.Command{