Skip to content

Commit 60b18c6

Browse files
feat(cli): Output prirority for tasks
1 parent 89218f2 commit 60b18c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

quick-add/cli/OutputFormatter.vala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ namespace PlanifyCLI {
4343
{ "description", (builder) => builder.add_string_value (item.description) },
4444
{ "checked", (builder) => builder.add_boolean_value (item.checked) },
4545
{ "pinned", (builder) => builder.add_boolean_value (item.pinned) },
46+
{ "priority", (builder) => builder.add_int_value (5 - item.priority) },
4647
{ "project-id", (builder) => builder.add_string_value (item.project_id) },
4748
{ "section-id", (builder) => builder.add_string_value (item.section_id) },
4849
{ "parent-id", (builder) => builder.add_string_value (item.parent_id) },

0 commit comments

Comments
 (0)