Class NativeFolderPicker
Opens the OS-native folder chooser (Windows Explorer, macOS Finder, Linux GTK/KDE) by shelling out, so the TUI doesn't need a GUI toolkit reference. Returns Unavailable when no native dialog can run, so callers can fall back to a configured path.
public static class NativeFolderPicker
- Inheritance
-
NativeFolderPicker
- Inherited Members
Methods
PickFolderAsync(string?)
public static Task<FolderPickResult> PickFolderAsync(string? initialDir)
Parameters
initialDirstring
Returns
- Task<FolderPickResult>