@sap-devx/inquirer-gui-file-browser-plugin
v3.0.3
Published
File browser plugin for inquirer-gui
Downloads
33
Readme
File Browser Plugin for Inquirer-gui
This inquirer-gui plugin enables selecting a file from a backend.
It can be used in Visual Studio Code when working locally or in remote development or in Theia.
See the sample-vscode-extension for useage.
Sample Question
{
type: "input",
guiOptions: {
type: "file-browser",
},
name: "configFile",
message: "Config file (vscode)",
default: "/home/",
getFilePath: async function (currentPath) {
return `${currentPath}subdir/`;
}
},