node-file-dialog icon indicating copy to clipboard operation
node-file-dialog copied to clipboard

Allow options to pass to the dialog executable

Open censys-git opened this issue 3 years ago • 0 comments

Noticed that all the python dialog calls do not pass any options in. Would love to be able to control title, file extension filter, initial directory to open in, etc. Any possibility of adding that in so options can be passed in?

Example: askopenfilename( title='Open a file', initialdir='/', filetypes=(('JavaScript files', '.js'), ('All files', '.*')) )

Connecting this to the inquirer options would be so great. Thanks.

censys-git avatar May 03 '22 23:05 censys-git