Align maniphest show and maniphest search Output#104
Merged
Conversation
- Refactor task display with unified `task_show()` method - Add `--show-history` and `--show-metadata` CLI options - Improve output formatting with YAML and transition history - Update version to 0.5.0rc0 - Deprecate legacy `--all` flag in favor of new options Fix linting
holmboe
approved these changes
Nov 18, 2025
Contributor
holmboe
left a comment
There was a problem hiding this comment.
This LGTM. Personally I am fine with removing the legacy stuff. Up to you to decide before merge. 👍
Contributor
Author
|
Removed the legacy |
90680f3 to
8ecef04
Compare
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.
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