Skip to content

Awesome cli todos application with own console. Written with Go language

License

Notifications You must be signed in to change notification settings

readyyyk/terminal-todos-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang - CLI todos app

example

Installation

Downloading binary from releases

  1. download latest binary from releases
  2. to make tokens accessible from anywhere type:
$ # rename executable you downloaded to "todos"
$ mv todos-linux-amd64 todos # example
$ chmod 777 todos
$ echo -e "\nPATH+=\"$(pwd)\"\n" >> ~/.bashrc

Custom make

git clone https://github.com/readyyyk/terminal-todos-go
cd terminal-todos-go
make
make install
command arguments description
exit
help prints help
colors toggle enable or disable color usage
autosort toggle enable or disable automatic sorting with field in last sort
autoclear toggle enable or disable automatic clearing screen
ls // list list all stored todos
clear deletes all todos with State done
sort {Field} sorts todos array with the Field
add {Title} {Text} {Deadline} (t) adds new todo, in case you enter duration {_}h{_}m type "t" in the end
delete {ID_1 ID_2 ID_3...} deletes all todos with written ids
edit {ID} {Field} {Value} edits todo

datetime format is: dd.MM_hh:mm (d - day, M - month, h - hour, m - minute)

duration format is: {_}h{_}m (for example 12h30m, or 1h1m, but not 1d12h)

for lines with spaces use "" for exmaple "buy bread, milk, smth else"

Coming soon

  • Saving data on virtual server.
  • Default CLI usage