about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/blogthing/blogthing.lil9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/blogthing/blogthing.lil b/src/blogthing/blogthing.lil
index 5e4523d..faf875b 100644
--- a/src/blogthing/blogthing.lil
+++ b/src/blogthing/blogthing.lil
@@ -1,5 +1,12 @@
+now:shell["date +'%Y-%m-%d-%H-%M-%S' | tr -d '\n'"].out
+filename:now , ".txt"
+
 if args[2] do
 
+	if args[2] ~ "title" do
+		print["title"]
+	end
+
 	if args[2] ~ "note" do
 		print["note"]
 	end
@@ -17,5 +24,5 @@ if args[2] do
 	end
 
 else 
-	print["no args"]
+	print["no args"] # reserve no args to display help message, not do an action
 end 
\ No newline at end of file