Skip to content

Commit ed2bd19

Browse files
committed
implement mutation support for BulkOps CLI command
1 parent 2ef312a commit ed2bd19

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

packages/app/src/cli/flags.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const appFlags = {
3838
export const bulkOperationFlags = {
3939
query: Flags.string({
4040
char: 'q',
41-
description: 'The GraphQL query, as a string.',
41+
description: 'The GraphQL query or mutation, as a string.',
4242
env: 'SHOPIFY_FLAG_QUERY',
4343
required: true,
4444
}),

packages/app/src/cli/services/bulk-operations/execute-bulk-operation.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ export interface ExecuteBulkOperationInput {
99
query: string
1010
}
1111

12-
/**
13-
* Orchestrates the execution of a bulk operation query.
14-
* Handles the API call, error handling, and user feedback.
15-
*/
1612
export async function executeBulkOperation(input: ExecuteBulkOperationInput): Promise<void> {
1713
const {app, storeFqdn, query} = input
1814

0 commit comments

Comments
 (0)