FilePickerExtensions extension

Adds the filePicker method to Terminice for interactive file browsing.

on

Methods

filePicker(String prompt, {Directory? startDirectory, bool showHidden = false, bool foldersOnly = false}) String?

Available on Terminice, provided by the FilePickerExtensions extension

Selects an existing file, or returns null when cancelled. In line mode, foldersOnly accepts a typed existing directory path.