An open API service indexing awesome lists of open source software.

https://github.com/doodzik/simple_task


https://github.com/doodzik/simple_task

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# About

Simple Task is a simple Todo list for the commandline.

# Installation

```
$ brew tap doodzik/tap https://github.com/doodzik/tap
$ brew instal simple_task
# if you use zsh run this to get the autocompletion
$ brew instal bash-completion
```

### configuration
```bash
# .bashrc/.zshrc

# add this if you use zsh and want autocomplete
autoload bashcompinit
bashcompinit

# path where the todos are saved to
export T_DIR=~/Library/Mobile Documents/com~apple~CloudDocs

. simple_task_init

alias t=simple_task
alias tl=simple_task_list
alias tn=simple_task_note
```

# Usage
## how to work on a specific task list

```bash
# add a todo, returns the task list
$ t hello world
todo
1 hello world
# show tasks
$ t
todo
1 hello world
# remove/check a task by index, returns todo list, you can use tab-completion to get your tasks
$ t 1
todo
```

## How to work with multiple task_lists

```bash
# change to a different task list if it isn’t present it creates a new one,
# prints content of the task list, you can use tab completion to access your task lists
$ tl tasks
tasks
# rename a task
$ tl tasks mv new_task_list
# edit task list file in editor # opens in $EDITOR
$ tl new_task_list o
# delete task list
$ tl new_task_list rm
```

## How notes work

```bash
# see and edit an note in a editor specified in $EDITOR
$ tn 1
```