aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-11-10 02:48:58 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-11-10 02:51:40 +0100
commit45e65c66bbcded97135503068881214ee644d2f7 (patch)
tree34c956e83cf729f04839cf65c4dc0a4b3083e33d
parentb0397503c8bdcc98216bab220b661466c74a63e9 (diff)
Added README.md with future plans
-rw-r--r--README.md35
-rw-r--r--workstack.go23
-rw-r--r--ws/main.go1
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"
diff --git a/ws/main.go b/ws/main.go
index 09a4731..17cc7c0 100644
--- a/ws/main.go
+++ b/ws/main.go
@@ -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) {