hlfw.ca

todo2

Download patch

ref: 3eae490245e5e26aed0265e7ab1b769b93bdb087
parent: 12479fc71f58e704c755e626ae47e0f45f850995
author: halfwit <michaelmisch1985@gmail.com>
date: Thu Nov 28 08:02:16 PST 2019

Add stub files for now to match with our .todo

--- /dev/null
+++ b/.gitignore
@@ -1,0 +1,2 @@
+todo2.code-workspace
+todo
\ No newline at end of file
--- a/.todo
+++ b/.todo
@@ -1,49 +1,48 @@
-#1 TODO(halfwit): Create generate function
-
+#1
+TODO(halfwit) - Create generate functions
 [ ] generate.go: WalkFunc check for any match
 [ ] generate.go: Create each file
+[ ] generate.go: Make sure file doesn't already exist
 
-#2 TODO(halfwit) #2 Create add function
-
-requires TODO(halfwit) #8
-
+#2: requires [#8]
+TODO(halfwit) - Create add function
 [ ] add.go: Add link to dag
 
-#3 TODO(halfwit): Create rm function
-
-requires TODO(halfwit) #9
-
+#3: requires [#9]
+TODO(halfwit) - Create rm function
 [ ] rm.go: Remove link from dag
 
-#4 TODO(halfwit): Create dot function
-
-requires TODO(halfwit) #10
+#4: requires [#10]
+TODO(halfwit) - Create dot function
 [ ] list.go: Use dag libraries' built in dot printer
 
-#5 TODO(halfwit): Create list function
-
-requires TODO(halfwit) #10
+#5: requires [#10]
+TODO(halfwit) - Create list function
 [ ] list.go: Print each leaf to stdout
 
-#6 TODO(halfwit): Create listAll function
-
-requires TODO(halfwit) #10
+#6: requires [#10]
+TODO(halfwit) - Create listAll function
 [ ] list.go: Print each node to stdout
 
-#7 TODO(halfwit): Build graph function
+#7:
+TODO(halfwit) - Build graph function
 [ ] dag.go: Parse in .todo files
 [ ] dag.go: add edges/vertices into DAG
 
-#8 TODO(halfwit): add Subcommand
+#8:
+TODO(halfwit) - add Subcommand
 [ ] add.go: AddChild
 [ ] add.go: AddParent
 
-#9 TODO(halfwit): rm Subcommands
+#9:
+TODO(halfwit) - rm Subcommands
 [ ] rm.go: RmChild
 [ ] rm.go: RmParent
 
-#10 TODO(halfwit): walk nodes
+#10:
+TODO(halfwit) - walk nodes
 [ ] list.go: Walk each node in the dag
 
-#11 TODO(halfwit): Write out to file
-[ ] write.go: Write out files with changes
+#11:
+TODO(halfwit) - Write out to file
+[ ] write.go: write() func
--- /dev/null
+++ b/add.go
@@ -1,0 +1,9 @@
+package main
+
+// TODO(halfwit): [#2] Create add function
+// requires [#8]
+// [ ] Add link to our dag
+
+// TODO(halfwit): [#8] add Subcommand
+// [ ] AddChild
+// [ ] AddParent
\ No newline at end of file
--- /dev/null
+++ b/dag.go
@@ -1,0 +1,5 @@
+package main
+
+// TODO(halfwit): [#7] Build graph function
+// [ ] Parse in .todo files
+// [ ] add edges/vertices into DAG
--- /dev/null
+++ b/generate.go
@@ -1,0 +1,6 @@
+package main
+
+// TODO(halfwit): [#1] Create generate functions
+// [ ] WalkFunc for any match
+// [ ] Create each file
+// [ ] Make sure file doesn't already exist
--- /dev/null
+++ b/list.go
@@ -1,0 +1,13 @@
+package main
+
+// TODO(halfwit): [#5] Create list function
+// requires [#10]
+// [ ] Print each leaf to stdout
+
+// TODO(halfwit): [#6] Create listAll function
+// requires [#10]
+// [ ] Print each node to stdout
+
+// TODO(halfwit): [#10] walk nodes
+// [ ] Walk each node in the dag
+
--- /dev/null
+++ b/rm.go
@@ -1,0 +1,9 @@
+package main
+
+// TODO(halfwit): [#3] Create rm function
+// requires [#9]
+// [ ] Remove link from dag
+
+// TODO(halfwit): [#9] rm Subcommands
+// [ ] RmChild
+// [ ] RmParent
--- /dev/null
+++ b/write.go
@@ -1,0 +1,4 @@
+package main
+
+// TODO(halfwit): [#11] Write out to file
+// [ ] write() func