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
Update cli.py to expand supported file options (#70)
Implementation a feature such that users can choose a file from inside the current directory based on a displayed index instead of a filename, collision of filenames with indices handled with the help of a special character
"Enter the filename to upload as a supporting file (or 'n' to finish): "
410
+
"Enter the filename to upload as a supporting file (or '*' to get all files currently in this directory, or the index number of the file as displayed followed by a /, otherwise 'n' to finish): "
409
411
)
410
-
iffilename=="n":
412
+
iffilename=="*":
413
+
forfiles_nameinfiles:
414
+
filepath=os.path.abspath(files_name)
415
+
filepaths.append(filepath)
416
+
print("All files added successfully")
417
+
eliffilename=="n":
411
418
break
412
-
iffilenameinfiles:
419
+
elif (notlen(filename) ==0) and (filename[len(filename) -1] =='/'):
0 commit comments