{"modulePath":"github.com/algolia/cli","version":"v1.18.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package operations\n\n## Functions\n\n```go\nfunc NewOperationsCmd(f *cmdutil.Factory, runF func(*OperationsOptions) error) *cobra.Command\n```\nNewOperationsCmd creates and returns an operations command for object operations\n\n```go\nfunc ValidateBatchOperation(request search.MultipleBatchRequest) error\n```\nValidateBatchOperation validates a batch operation before hitting the API.\n\n## Types\n\n```go\ntype OperationsOptions struct {\n\tConfig config.IConfig\n\tIO     *iostreams.IOStreams\n\n\tSearchClient func() (*search.APIClient, error)\n\n\tWait bool\n\n\tFile    string\n\tScanner *bufio.Scanner\n\n\tContinueOnError bool\n\tDryRun          bool\n\tPrintFlags      *cmdutil.PrintFlags\n}\n```\n\n","path":"github.com/algolia/cli/pkg/cmd/objects/operations","name":"operations","synopsis":"","isRedistributable":true}
