modify_priority: Modify Task Priority

View source: R/update.R

modify_priorityR Documentation

Modify Task Priority

Description

In the todo.txt format, tasks can be prioritized using a capital in round braces at the start of the task.

Usage

modify_priority(task, priority)

Arguments

task

A string with one (or, as vector, one or more) task(s) that follow(s) the todo.txt specification by Gina Trapani. When multiple tasks are provided, all tasks are modified in the same way.

priority

A string with the new priority to set. If a priority needs to be removed, use the empty string.

Value

the updated task(s)

Author(s)

Paul Lemmens (paul.lemmens@gmail.com)


paullemmens/todoRtxt documentation built on May 19, 2023, 3:21 p.m.