aboutsummaryrefslogtreecommitdiff
path: root/src/tdo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tdo.c')
-rw-r--r--src/tdo.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/tdo.c b/src/tdo.c
new file mode 100644
index 0000000..7b3ff0e
--- /dev/null
+++ b/src/tdo.c
@@ -0,0 +1,15 @@
+#include <stdio.h>
+#include "tdo.h"
+
+void print_version() {
+ printf("tdo version 0.0.1\n");
+}
+
+void new_tdo(int argc, char** argv) {
+ printf("New todo: ");
+ // just in case not using quotes
+ for (int i=2; i<argc; ++i) printf("%s ",argv[i]);
+ printf("\n");
+}
+
+