## Description Introduces a `factory` script to help devs generate fake m365 data in bulk for testing purposes. Only boilerplate at this time. Any TODO's or not-yet- implemented statuses are present as placeholders alone, without official deadlines. ## Type of change - [x] 🤖 Test ## Issue(s) * #902 ## Test Plan - [x] 💪 Manual
29 lines
531 B
Go
29 lines
531 B
Go
package main
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
|
|
. "github.com/alcionai/corso/src/cli/print"
|
|
"github.com/alcionai/corso/src/cli/utils"
|
|
)
|
|
|
|
var filesCmd = &cobra.Command{
|
|
Use: "files",
|
|
Short: "Generate OneDrive files",
|
|
RunE: handleOneDriveFileFactory,
|
|
}
|
|
|
|
func addOneDriveCommands(parent *cobra.Command) {
|
|
parent.AddCommand(filesCmd)
|
|
}
|
|
|
|
func handleOneDriveFileFactory(cmd *cobra.Command, args []string) error {
|
|
Err(cmd.Context(), ErrNotYetImplemeted)
|
|
|
|
if utils.HasNoFlagsAndShownHelp(cmd) {
|
|
return nil
|
|
}
|
|
|
|
return nil
|
|
}
|