idk probably just comments
parent
86ae33a18d
commit
ebabc961fb
|
@ -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:")
|
||||
|
|
Loading…
Reference in New Issue