Align maniphest show and maniphest search Output #104
Merged
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.
Fixes #101
Changes
Core Functionality
_format_and_display_tasks()methodmaniphest showandmaniphest searchnow produce identical YAML outputtask_show()method: Uses modernmaniphest.searchAPI instead of deprecatedmaniphest.infofor consistencyCommand-Line Interface
--show-historyflag: Display transition history for columns, priority, and status (both commands)--show-metadataflag: Display metadata about filter matches (both commands)--allflag now maps to--show-historyfor consistency--ppflag preserved for users who need the old pretty-print formatExamples
Sample Output
Both commands now produce identical structured YAML:
Technical Details
_format_and_display_tasks()methodmaniphest.searchAPI for modern feature supportmaniphest.infoAPI still used by--ppflagBenefits
--show-history) work in both commands automatically