terminal-todos-go

command module
v0.0.0-...-93e5ea4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 15 Imported by: 0

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
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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL