Merged
Conversation
…tions for CLI tool paths
- Updated USER_GUIDE.md to include examples for running multiple task sets and using the --all flag. - Modified cli.py to accept multiple task set names and added --all and --stop-on-error options. - Refactored run_cmd.py to handle multi-task set execution, including logic for task set ordering and error handling. - Enhanced display functions to show headers and summaries for multi-task set executions. - Added task_set_order field to ProjectConfig for defining execution order. - Created comprehensive tests for multi-task set functionality, including argument parsing and execution flow.
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.
This pull request introduces comprehensive support for sequential execution of multiple task sets within a project, both via CLI and in documentation. It enhances the user experience by allowing users to specify multiple task sets, execute all task sets in a defined order, and control error handling behavior. The CLI, documentation, and help messages are all updated to reflect these new capabilities.
Key changes include:
Multi-Task Set Execution Support
runanddry-runCLI commands now accept multiple task set names as positional arguments and add a--alloption to execute all task sets in a project, respecting an optionaltask_set_orderdefined in__init__.json. A--stop-on-errorflag allows stopping execution upon the first failure. [1] [2]epilog) and argument descriptions are updated to provide clear usage examples for multi-task set execution.Documentation Updates
README.mdanddocs/USER_GUIDE.mdare extensively updated to document multi-task set execution, including new CLI usage examples, configuration oftask_set_order, and best practices for supervisor/systemd environments. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]Task Set Order Configuration
task_set_orderarray in__init__.jsonto control the execution order when using--all. Unlisted task sets are appended alphabetically. This is documented in both user and reference guides. [1] [2] [3]Codebase and CLI Refactoring
_execute→_dispatch).Minor Enhancements and Fixes
README.mdfeature list and tool/model documentation are updated for clarity and accuracy, including new tool examples and corrected feature descriptions. [1] [2] [3]These changes make it significantly easier for users to manage large projects with multiple task sets, providing both flexibility and improved documentation.