Categorygithub.com/readyyyk/terminal-todos-go
repositorypackage
0.0.0-20230427193154-93e5ea4fd85c
Repository: https://github.com/readyyyk/terminal-todos-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

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
commandargumentsdescription
exit
helpprints help
colorstoggle enable or disable color usage
autosorttoggle enable or disable automatic sorting with field in last sort
autocleartoggle enable or disable automatic clearing screen
ls // listlist all stored todos
cleardeletes 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