You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parser.add_argument("--table-name", help="table name of the database", dest="tablename", type=str)
9
+
10
+
addGroup=parser.add_argument_group(title="Add an Image", description="Adding an image to the database.")
11
+
addGroup.add_argument("-a", "--add-image", help="Adds an image to database. (Requires -sn and -ip)", action="store_true")
12
+
addGroup.add_argument("-sn", "--save-name", help="Save name of image.", type=str)
13
+
addGroup.add_argument("-ip", "--image-path", help="Path of the selected image", type=str)
14
+
15
+
saveGroup=parser.add_argument_group(title="Save an Image", description="Saving image from database to computer.")
16
+
saveGroup.add_argument("-s", "--save-image", help="Saves the previously saved image in the database as an image to the given path. (Requires -sdn and -sp)", action="store_true")
17
+
saveGroup.add_argument("-sdn", "--saved-name", help="Saved name of image in the database.", type=str)
otherGroup.add_argument("-c", "--check", help="Checks if image exists in database by image name. (Requires -in)", action="store_true")
30
+
otherGroup.add_argument("-is", "--image-selector", help="Selects an image and returns the image's bytes length and extension type. (Requires -ip)", action="store_true")
0 commit comments