diff options
author | elioat <elioat@tilde.institute> | 2022-12-16 14:22:00 -0500 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2022-12-16 14:22:00 -0500 |
commit | d7a8a882ecd78558ffa010b73d89c406d9f276f8 (patch) | |
tree | 10cc20605d2091c9092baee9542513d9eafd969f /src | |
parent | e5b15e96fc25fe2081c72f8378ad8910b57dc1b9 (diff) | |
download | december-2022-d7a8a882ecd78558ffa010b73d89c406d9f276f8.tar.gz |
*
Diffstat (limited to 'src')
-rw-r--r-- | src/blogthing/blogthing.lil | 9 |
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 |