import { describe, expect, it } from 'vitest' import { buildWorkflowHandleCommand } from '../../src/commands/workflow/handle.ts' describe('workflow handle command', () => { it('requires an operator id and exposes output options', () => { const command = buildWorkflowHandleCommand() expect(command.name()).toBe('handle') expect(command.options.map(option => option.long)).toEqual(expect.arrayContaining([ '--operatorId', '--json', '--verbose', ])) }) })