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 th:"title: \ndate: ", now , "\ntags: \n" print[th] end if args[2] ~ "note" do print["note"] nh:"date: ", now , "\ntags: \n" end if args[2] ~ "image" do print["image"] end if args[2] ~ "reply" do print["reply"] end if args[2] ~ "like" do print["like"] end else print["no args"] # reserve no args to display help message, not do an action end