Skip to content

Conversation

@holmboe
Copy link
Contributor

@holmboe holmboe commented Jan 9, 2026

Fixes #112

Add comprehensive YAML template system for task searches with support for:

  • Search parameter templates with --with option for reusable queries
  • Multi-document YAML for running multiple searches sequentially
  • CLI parameter override capability (CLI args override YAML values)
  • 8 pre-built templates for common workflow patterns
  • Reorganized template structure: templates/task-search/ and templates/task-create/
  • Rich output formatting with search headers and separators

Templates support all search parameters: text queries, project filters, date filters, column/priority/status transitions, and display options.

Examples:

  phabfive maniphest search --with templates/task-search/project-status-overview.yaml
  phabfive maniphest search --with templates/task-search/blocked-tasks.yaml --tag override

🤖 Generated with Claude Code

Add comprehensive YAML template system for task searches with support for:

- Search parameter templates with --with option for reusable queries
- Multi-document YAML for running multiple searches sequentially
- CLI parameter override capability (CLI args override YAML values)
- 8 pre-built templates for common workflow patterns
- Reorganized template structure: templates/task-search/ and templates/task-create/
- Rich output formatting with search headers and separators

Templates support all search parameters: text queries, project filters,
date filters, column/priority/status transitions, and display options.

Examples:
  phabfive maniphest search --with templates/task-search/project-status-overview.yaml
  phabfive maniphest search --with templates/task-search/blocked-tasks.yaml --tag override

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@holmboe holmboe requested a review from Timpan4 January 9, 2026 02:54
holmboe and others added 2 commits January 9, 2026 04:12
Remove legacy positional argument syntax for task creation and standardize
on --with option to match search template syntax. This provides a consistent
UX across both search and creation commands.

Changes:
- Replace legacy <config-file> positional argument with --with TEMPLATE
- Update all documentation to use new --with syntax
- Rename internal config_file variable to create_config for clarity
- Maintain single source of truth for template specification

Breaking change: Users must now use --with option for task creation:
  Before: phabfive maniphest create template.yaml
  After:  phabfive maniphest create --with template.yaml

This aligns with search template syntax for better consistency and
clearer intent in command usage.

🤖 Generated with Claude Code (https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Contributor

@Timpan4 Timpan4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@holmboe holmboe merged commit a1d7ed6 into master Jan 9, 2026
15 checks passed
@holmboe holmboe deleted the feat-saved-task-searches branch January 9, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support templates to store and reuse task searches

3 participants