You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@codefromlani Thanks for the PR. However there are some missing core functionality:
❌ No tix add --template command to actually USE templates
❌ The load_template() method returns a dict, not a Task object
❌ No way to create tasks from templates
What's done:
✅ TemplateStorage class for managing templates
✅ tix template save <task_id> command
✅ tix template list command
✅ Templates stored in ~/.tix/templates/
@codefromlani Thanks for the PR. However there are some missing core functionality:
❌ No tix add --template command to actually USE templates ❌ The load_template() method returns a dict, not a Task object ❌ No way to create tasks from templates
What's done: ✅ TemplateStorage class for managing templates ✅ tix template save <task_id> command ✅ tix template list command ✅ Templates stored in ~/.tix/templates/
I’m already working on those and will push the changes soon
codefromlani
changed the title
feat: add task template feature with save and list commands
feat: add task template feature
Oct 2, 2025
@Valentin-v-Todorov
Hi, thanks for reaching out. I’ve noticed that the main branch currently has some issues, a few tests are failing, and some references to context remain even though it seems to have been removed from the project.
I’ll work on the task templates once the branch is updated and stable. Thanks
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
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.
closes #47
This PR adds full support for task templates in tix
Changes:
TemplateStorageclass for JSON-based storage of task templates.tix template save <task_id> <name>command to save a task as a template.tix template listcommand to display all saved templates.tix add --template <name>creates tasks from templates.This enables quick reuse of common task patterns for faster task creation.
- Pytest coverage for TemplateStorage save, load, and list.
- CLI tests for template save, template list, and add --template.
Sample: