fix: implement missing CLI flags — --worker, --on-failure (#89)#16
Merged
govindkavaturi-art merged 1 commit intomainfrom Apr 4, 2026
Merged
fix: implement missing CLI flags — --worker, --on-failure (#89)#16govindkavaturi-art merged 1 commit intomainfrom
govindkavaturi-art merged 1 commit intomainfrom
Conversation
- --worker flag on create: sets transport="worker", makes --url optional - --on-failure flag on create: accepts JSON config for failure escalation - --url is now optional when --worker is set (error if neither provided) - Added 4 new tests: worker flag in help, url-or-worker validation, on-failure in help, key regenerate --yes in help - Total: 16 tests passing Fixes Argus issue #89. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
argus-qa-ai
approved these changes
Apr 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements missing CLI flags identified by Argus in issue #89:
--workertransport="worker", makes--urloptional--payload--on-failure'{"email": false}'key regenerate --yesTests added
test_create_worker_flag_in_help—--workerappears in helptest_create_requires_url_or_worker— error if neither--urlnor--workertest_create_on_failure_in_help—--on-failureappears in helptest_key_regenerate_help—--yes/-yappears in helpAll 16 tests pass locally (0.18s).
🤖 Generated with Claude Code