diff options
-rw-r--r-- | README.md | 35 | ||||
-rw-r--r-- | workstack.go | 23 | ||||
-rw-r--r-- | ws/main.go | 1 |
3 files changed, 36 insertions, 23 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..1fe3ba2 --- /dev/null +++ b/README.md @@ -0,0 +1,35 @@ +# To Do +- [ ] Put a task at the top +- [ ] ZSH Completion +- [ ] Better help for commands & options +- [ ] Add descriptions to task +- [ ] Edit task with editor +- [ ] Create a script to add from dump file into tasks +- [ ] After pc/del do "ls" command +- [ ] Add "start" command +- [ ] Add tore-like reminder for shellrc +- [ ] Redo project folder structure. +- [ ] Rename a task +- [ ] import: read multiple lines from stdin and import them as taks +- [ ] parsing text as Tasks, maybe helper program? +- [ ] clocking with a 'start' command + +# Testing +- [ ] add +- [ ] done +- [ ] undone +- [ ] del +- [ ] pc +- [ ] <no arg> +- [ ] ls +- [ ] list +- [ ] tag +- [ ] tagd +- [ ] tagl + +# Bugs +- [ ] bug: undo a task with a tag that no longer exists + +# Done +- [x] implement "undone" command +- [x] Add tags support diff --git a/workstack.go b/workstack.go index 1205039..f7bc41c 100644 --- a/workstack.go +++ b/workstack.go @@ -3,28 +3,7 @@ package workstack // Workstack or ws for short is a program that manages To-Do's in a stack-based fashion. It tries // to guide your focus to your three most important tasks such that you do not get distracted by // other tasks. -// Every task added starts as inactive "[ ]" and can be marked as done by changing the status to -// "[x]". -// When the programs exits Tasks are saved to a tasks.gob file, this will truncate (os.Create) the -// existing file. - -// TODO's -// - edit functionality -// - import: read multiple lines from stdin and import them as taks -// - parsing text as Tasks, maybe helper program? -// - clocking functionality with a 'task' command -// - testing: -// - [ ] add -// - [ ] done -// - [ ] undone -// - [ ] del -// - [ ] pc -// - [ ] <no arg> -// - [ ] ls -// - [ ] list -// - [ ] tag -// - [ ] tagd -// - [ ] tagl +// Task have a Do state where they are on the stack and a Done state when they are archived. import ( "fmt" @@ -134,7 +134,6 @@ func main() { os.Exit(1) } if i == 0 { - fmt.Println(1) // tag is at the start taskText = strings.Join(os.Args[offset+i+2:], " ") } else if i+4 == len(os.Args) { |