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:
parent
f404b7716f
commit
913327e016
@ -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{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user