From ebabc961fb95195f9330f526087e2b5f1a4f9fc9 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Sat, 11 Dec 2021 08:27:26 +0100 Subject: [PATCH] idk probably just comments --- filetags.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/filetags.py b/filetags.py index 8a1cea0..4a87c8d 100644 --- a/filetags.py +++ b/filetags.py @@ -194,6 +194,7 @@ if __name__ == "__main__": """+sys.argv[0]+""" help - display this message """ #TODO: +path modifier for things that return a hash to return the path to the stored file instead + #TODO: +hash and +tags modifier for lookup #TODO: condense modifiers onto the same lines as the main subcommand where possible #TODO: clarification of <> and [] #TODO: subcommand to change container settings @@ -345,6 +346,7 @@ if __name__ == "__main__": # modifiers: # first - only return one file # unique - return error if not found or multiple found + #TODO: modifiers if command[0] == "lookup": if len(sys.argv)<4: print("Too few arguments!", file=sys.stderr) @@ -362,7 +364,6 @@ if __name__ == "__main__": sys.exit(status) file_tags_or_hash = sys.argv[3:] - #TODO: basically everything if file_is_in_storage(storage_directory, file_tags_or_hash[0], compress): tags = get_tags_by_hash(storage_directory, file_tags_or_hash[0]) print("Tags for file:")