From 98b629a35f41deba0ee0654a7ec04774d663e778 Mon Sep 17 00:00:00 2001 From: Oskar Date: Tue, 2 Jul 2024 19:41:16 +0200 Subject: made list_files, it can probably be hugely improved but i think that it's good enough for today though. This is kind of a proof of concept though so ill probably change it tomorrow. It's not perfect. --- TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TODO') diff --git a/TODO b/TODO index 2bd23d5..502734a 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,4 @@ -1. Implement -l and -L +1. Implement -l and -L. Maybe redo the function. Its not working as well as i thought. Maybe not use get line. 2. Just a note: When implementing the -L -l functions we need to make it clear what's in tmp and whats not. Not sure exactly how ill do this but i have some ideas. One way of dealing with files in tmp is to force the user to pass the -t argument if they want to deal with tmp stuff. Like if i say: 'tsr -t -l' it will only list files in the tmp trashcan. Maybe that IS the best approach to this? 3. Implement function to read log files? And maybe act upon the read contents? I'll have to think more about this. 4. Handle case where we pass a bunch of options but no filename -- cgit v1.2.3