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