Resolves the GraphQL operation for a bulk command from either an inline --query value or a
--query-file path, validating that it's non-empty and contains exactly one operation.
Centralizes the read-and-validate logic shared by the app and store bulk execute commands.
Parameters
input: ResolveBulkOperationQueryInput
The inline query and/or the query file path (exactly one is expected).
Returns Promise<string>
The validated GraphQL operation string.
Throws
AbortError if the value/file is empty or missing, or the operation is invalid.
Throws
BugError if neither input was provided (oclif's exactlyOne constraint should prevent this).
Resolves the GraphQL operation for a bulk command from either an inline
--queryvalue or a--query-filepath, validating that it's non-empty and contains exactly one operation.Centralizes the read-and-validate logic shared by the app and store bulk execute commands.