https://github.com/doodzik/simple_task
https://github.com/doodzik/simple_task
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/doodzik/simple_task
- Owner: doodzik
- Created: 2016-04-27T17:54:26.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-13T09:07:23.000Z (about 10 years ago)
- Last Synced: 2025-02-03T14:31:46.140Z (over 1 year ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```