Skip to content

A todo.txt add override that prepends the task w/ the creation date.

Notifications You must be signed in to change notification settings

DoctorRadar/todotxt_cli_date_add

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

todotxt cli date add

Description

A todo.txt add override that prepends the task w/ the creation date.

Installation

  • In your actions directory (default .todo.actions.d) create a new directory called add.
  • Clone the repo into the new directory git clone https://github.com/DoctorRadar/todotxt_cli_date_add.git ~/.todo.actions.d/add/
  • Set the script to be executable chmod +x ~/.todo.actions.d/add/add

Assumptions

Assumes that you have added the todo.sh script to your path. If not, edit the script to change the reference to todo.sh to whatever alias you have used.

Usage

Type todo.sh add This is my new task

Results in the line

nn YYYY-MM-DD This is my new task

be added to the todo.txt file where nn is the task number and YYYY-MM-DD is the creation date.

About

A todo.txt add override that prepends the task w/ the creation date.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •  

Languages